Red Hat Bugzilla – Bug 130281
Kernel fails to load LVM
Last modified: 2007-11-30 17:10:47 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET
Description of problem:
Fedora Core 3 test 1
During installation, I set up the disk with LVM:
/dev/hda1 = /boot
/dev/hda2=/ with 5GB
/dev/hda4=LVM - remainder of disk
Within LVM, groups were set up for /var, /home, /usr, and /usr/local
Installer made filesystems and installed software. Upon reboot,
kernel could not find any of the LVM filesystems. seatching /etc
showed no LVM config files. dmesg had no trace of any LVM config or
initialization. fdisk -l showed partitions correctly built.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. See description - note: System was rebuilt without LVM, so
additional troubleshooting on affected system in not possible.
Actual Results: System would not mount filesystems
Expected Results: System should have booted.
Is this reproducible? We're setting up LVM by default now and I
haven't seen this occur.
Will build new machine to verify and post results. --George Toft
Created attachment 102885 [details]
anaconda log showing partitioning of drive
rootpw and network entries have been sanitized.
Reproduced problem on different hardware. Built "Custom" system (not
workstation or server), then selected minimum installation.
Partitioned as shown in anaconda log. SInce previous Linux system was
installed, I deleted all partitions except /dev/hda1 (already labeled
as /boot). Will rebuild box again and will blow away all partitions.
Deleted all partitions and performed steps above. Same result -
machine cannot read LVM data and leaves system in maintenance mode.
Can you go into rescue mode and put the following into /etc/lvm/lvm.conf
and run 'lvm pvscan' and see if it says its skipping any of the
devices in your VG for any reason?
Unable to boot into rescue mode. Error on screen reads:
Running anaconda, the Fedora Core rescue mode - please wait...
Traceback (most recent call last):
File "/usr/bin/anaconda", line 592, in ?
rescue.runRexcue(rootPath, not rescue_nomount, id)
File "/usr/lib/anaconda/rescue.py", line 167, in runRescue
os.symlink('/mnt/runtime/etc/' + file, '/etc/' + file)
OSError: [Errno 17] File exists
Install exited abnormally
sending termination signals...done
sending kill signals...done
you may safely reboot your system
rebooted into rescue mode a second time with same results.
Should work now.