Description of problem:
When root on LV is defined using LABEL= in /etc/fstab, lvm is not added to
initrd unpon kernel install.
Version-Release number of selected component (if applicable):
mkinitrd-220.127.116.11-1 (the latest in webqa's RHEL 5 channel)
Steps to Reproduce:
1. Have root on LV (let's say /dev/vg0/root)
2. Tune2fs -L it to give it label hostroot.
3. Set / in /etc/fstab to be LABEL=hostroot, instead of /dev/vg0/root.
4. Install kernel (rpm -i kernel-2.6.18-9.el5.i686.rpm)
5. Check the content of the initrd: gunzip -c < /boot/initrd-2.6.18-9.el5.img |
Observe that /etc/lvm/* and /bin/lvm are missing. Upon the reboot, the root fill
not be found.
/etc/lvm/* and /bin/lvm should be present, no error upon the next reboot.
I've seen plenty of reports similar to this problem for FC6, however, none for
RHEL 5. I was surprised that mkinitrd in RHEL 5 Gold has the problem, hence this
As the bug is present in RHEL 5 as well, I'm changing the Product to reflect that.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
Development Management has reviewed and declined this request. You may appeal
this decision by reopening this request.