On 12/27/06, Carl Lowenstein <[EMAIL PROTECTED]> wrote:
On 12/27/06, kelsey hudson <[EMAIL PROTECTED]> wrote:
> Carl Lowenstein wrote:
> > But if I reboot the system, the USB drives are not available at the
> > time that the startup process probes LVM devices, and thus not
> > available for fsck and mounting. So the system comes to the error
> > screen "enter root password to repair". And I can't repair it from
> > there because the last part of the repair process is rebooting.
>
> I had this problem happen a couple times when creating a box to use for
> disk-to-disk backups. What I ended up doing is adding a couple wait
> states into the init scripts. I think I added a 10 second wait between
> the time that the /sbin/init was called from the ramdisk, and the time
> that the /sbin/init script calls the lvm tools to make the volumes
> available. It's not ideal, but it worked.
I have just spent some time looking at the changes that occurred in
rc.sysinit between FC3 and FC6. They are medium substantial, but
nothing looks like an intentional delay between USB and LVM.
Will try putting "sleep 10" between these two lines of rc.sysinit.
The first one is a comment, but serves as a visual anchor.
# LVM2 initialization
if [ -x /sbin/lvm.static ]; then
Out of a sample of one, this worked.
carl
--
carl lowenstein marine physical lab u.c. san diego
[EMAIL PROTECTED]
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list