LVM Boot Issues
Jesse Keating
hosting at j2solutions.net
Thu Jan 30 16:35:47 PST 2003
I'm having some very strange boot issues w/ an LVM system. I have 2 nearly
identical systems. Dual Xeon, 3ware 8 port controller, 8 200gig IDE drives
connected to it, raid 5, and one 40gig IDE drive connected to the standard
IDE bus.
On the single 40gig drive, there is a /boot partition and a swap partition.
On the 3ware array (/dev/sda) there is a LVM Volume Group, named "data".
Within data, there is a Logical Volume, "os". This volume contains the /
file system.
On one system, I can boot using the /boot partition, then have it mount /
cleanly. vgscan fires up from the initrd, finds the "data" group, writes
this info out to /etc/lvmtab.d/data.tmp (/etc of the initrd, not the actual
system /etc), then activates data, so that it can mount the "os" volume.
System continues to boot as expected.
On the other system, same kernel, same initrd (very same, made it on one
system, using it on both), vgscan finds "data", then tries to write to
/etc/lvmtab.d/data.tmp, but throws an "Error 2 Unable to write ....". Then
it will not try to activate data, and it will not be able to mount /, which
causes a kernel panic.
What in the heck is going on?! Could the initrd somehow be mounted as
read-only? I'm using grub as the boot loader on both systems. Is there
anything I can pass to grug, that would allow the initrd to be mounted
read/write?
help?!
--
Jesse Keating RHCE MCSE
For Web Services and Linux Consulting, Visit --> j2Solutions.net
Mondo DevTeam (www.mondorescue.org)
Was I helpful? Let others know:
http://svcs.affero.net/rm.php?r=jkeating
More information about the Linux
mailing list