Red Hat Bugzilla – Bug 112099
mkinitrd doesn't copy /etc/lvm/lvm.conf to initrd
Last modified: 2007-04-18 13:00:11 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031202
Description of problem:
When using RAID physical volumes, one has to set up /etc/lvm/lvm.conf
such that vgscan skips the component partitions of the raid devices.
If the root filesystem is a LV of such a VG, lvm.conf must be copied
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Set up the root filesystem in a volume group containing raid devices
2.Try to boot kernel 2.6 with lvm2
Actual Results: vgscan in initrd fails because of ``duplicateï¿½ï¿½ entries.
Expected Results: Ideally, they'd be skipped automatically by lvm2,
but it doesn't take care of it by itself, relying on lvm.conf instead.
So we have to set up lvm.conf and copy it to the initrd filesystem.
Created attachment 96523 [details]
Patch that arranges for /etc/lvm/lvm.conf to be copied into initrd
Committed to CVS, will be in 3.5.19
Confirmed fixed, thanks!