Red Hat Bugzilla – Bug 511093
LVM Does not Properly Activate VGs on multipath Devices
Last modified: 2011-10-21 12:27:20 EDT
Description of problem:
After adding a filter to ensure that LVM does not access multipath member devices, the mpath device VGs and LVs are not properly activated on boot.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. I configure multipath devices.
2. Add filter to only look at the mpath devices:
filter = [ "a|/dev/mpath.*|", "r/.*/" ]
preferred_names = [ "^/dev/mpath/", "^/dev/mapper/mpath" ]
3. Setup LVM on mpath devices. Activate and mount. Configure fstab.
VGs/LVs are not active on reboot. Manual intervention post-boot is required.
VGs/LVs are activated, and able to be mounted via fstab.
Everything works if manually activated and mounted. With the filter removed, everything is properly activated, but multipath failover does not work correctly. LVM seems that is uses the non-mpath devices and then when paths are failed mounts start rejecting I/O. With the filter, everything works correctly with regards to multipathing but manual intervention post-boot is required to mount everything.
This works as expected with 5.3.
Sorry, this works as expected with a 5.4 beta kernel: http://people.redhat.com/dzickus/el5/
Seems this bug is fixed long time ago.