Description of problem:
If you have a /dev/md* devices setup as a physical volume and do not use
/etc/raidtab (you use only mdadm.conf), the sections to do the vgcans do not
run. They are enclosed in an if statement of [ -f /etc/raidtab ].
Version-Release number of selected component (if applicable):
See steps below.
Steps to Reproduce:
Create a physical volume on /dev/md0.
Create a volume group called vol00 including /dev/md0.
Create a logical volume called lvol0 with vol00.
It should not initialize until you touch /etc/raidtab.
The lvm should be setup properly.
Look at /etc/rc.sysinit. The code comented with
"# LVM2 initialization, take 2" only gets run if /etc/raidtab exists. This file
is not created if you create md devices with anaconda.
Move the "take 2" initialization out of the -f /etc/raidtab statement.
What release are you looking at - you filed this against 'test3'.
Sorry. Core 3. I'll check to see if it exists on RHEL/CentOS 4.
It exists on RHEL/CentOS 4 (supprise supprise). I haven't tested it, because it
would mean reinstalling the system to get an older kernel and mean downtime for
If you verify that what I am experiencing is a bug, I can put in an RHEL 4
ticket (if you think that would get it solved faster).
Fixed on the RHEL4 & FC3 branches. Note that when it gets pushed as an
update for either probably depends on what other bugs are found.
This code isn't in the current devel tree, so the problem is already
fixed there. Closing as fixed in rawhide.
*** Bug 158949 has been marked as a duplicate of this bug. ***
*** Bug 165877 has been marked as a duplicate of this bug. ***