Description of problem:
preferred_names in lvm.conf is preferred_names = [ "^/dev/mpath/", "^/dev/mapper/mpath", "^/dev/[hs]d" ] by default
This causes multipath devices to show up as /dev/dm-XX devices in pvs type calls. The script that sets up the lvm.conf file changes the commented preferred_names lines to the correct value:
preferred_names = [ "^/dev/mapper", "^/dev/[hsv]d" ]
Version-Release number of selected component (if applicable):
Always when using multipath devices
Steps to Reproduce:
1. start rhevh in firstboot mode
2. configure storage (if not configured)
3. drop to shell (support menu -> shell)
4. run pvs - points to /dev/dm-* device
uses dm-* devices
uses /dev/mapper/<wwid> device
Created attachment 432530 [details]
Verified on build rhev-hypervisor-6.0-13.el6.noarch.
1. firstboot menu
2. partition on FC LUN.
[root@amd-1352-8-2 ~]# pvs
PV VG Fmt Attr PSize PFree
/dev/mapper/3600a0b80005adb0b000003ca4a1c593ep3 HostVG lvm2 a- 29.52g 0
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.