[Fai-commit] r4623 - people/michael/features/setup_harddisks_2/implementation
michael-guest at alioth.debian.org
michael-guest at alioth.debian.org
Mon Oct 15 09:07:05 UTC 2007
Author: michael-guest
Date: 2007-10-15 09:07:05 +0000 (Mon, 15 Oct 2007)
New Revision: 4623
Modified:
people/michael/features/setup_harddisks_2/implementation/shdd2-commands
Log:
sleep two more times to let udev settle down
Modified: people/michael/features/setup_harddisks_2/implementation/shdd2-commands
===================================================================
--- people/michael/features/setup_harddisks_2/implementation/shdd2-commands 2007-10-10 09:02:36 UTC (rev 4622)
+++ people/michael/features/setup_harddisks_2/implementation/shdd2-commands 2007-10-15 09:07:05 UTC (rev 4623)
@@ -132,6 +132,8 @@
"$FAI::system_commands{'parted'} $disk set "
. $part_no . " raid on";
}
+ # sleep a little to wait for udev to set up all devices
+ push @FAI::commands, "sleep 1";
# create the command
push @FAI::commands,
@@ -206,6 +208,8 @@
"$FAI::system_commands{'parted'} $disk set "
. $part_no . " lvm on";
}
+ # sleep a little to wait for udev to set up all devices
+ push @FAI::commands, "sleep 1";
# create the volume group, if it doesn't exist already
if ( !defined( $FAI::current_lvm_config{$vg} ) )
More information about the Fai-commit
mailing list