Bug 201829

Summary: PowerPath devices,LVM2
Product: Red Hat Enterprise Linux 4 Reporter: xzh <xzh2>
Component: lvm2Assignee: LVM and device-mapper development team <lvm-team>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: agk, dwysocha, mbroz
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-17 14:37:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description xzh 2006-08-09 05:45:29 UTC
Description of problem:
EMC powerpath LUNs with LVM2

Version-Release number of selected component (if applicable):
[root@db163 etc]# uname -a
Linux db163 2.6.9-34.ELsmp #1 i686 i686 i386 GNU/Linux
[root@db163 etc]# rpm -qa|grep lvm2
lvm2-2.02.01-1.3.RHEL4

How reproducible:
[root@db163 etc]# powermt display dev=all|grep name|sort
Pseudo name=emcpowera
Pseudo name=emcpowerb
Pseudo name=emcpowerc
Pseudo name=emcpowerd
Pseudo name=emcpowere
Pseudo name=emcpowerf
Pseudo name=emcpowerg
Pseudo name=emcpowerh
Pseudo name=emcpoweri
Pseudo name=emcpowerj
Pseudo name=emcpowerk
Pseudo name=emcpowerl
Pseudo name=emcpowerm
Pseudo name=emcpowern
Pseudo name=emcpowero
Pseudo name=emcpowerp
Pseudo name=emcpowerq
Pseudo name=emcpowerr
Pseudo name=emcpowers
Pseudo name=emcpowert
[root@db163 etc]# vgscan
  Reading all physical volumes.  This may take a while...
  No volume groups found
[root@db163 etc]# pvscan
  No matching physical volumes found
[root@db163 etc]# pvcreate /dev/emcpowera
  Physical volume "/dev/emcpowera" successfully created
[root@db163 etc]# pvscan
  Found duplicate PV 2g6Ax3DkSa1wL7k5CpCxi10xwmi6prnK: using /dev/sdcd 
not /dev/emcpowera
  Found duplicate PV 2g6Ax3DkSa1wL7k5CpCxi10xwmi6prnK: using /dev/sdv 
not /dev/sdcd
  Found duplicate PV 2g6Ax3DkSa1wL7k5CpCxi10xwmi6prnK: using /dev/sdap 
not /dev/sdv
  Found duplicate PV 2g6Ax3DkSa1wL7k5CpCxi10xwmi6prnK: using /dev/sdbj 
not /dev/sdap
  PV /dev/sdbj         lvm2 [167.06 GB]
  Total: 1 [167.06 GB] / in use: 0 [0   ] / in no VG: 1 [167.06 GB]

Steps to Reproduce:
1.pvcreate /dev/emcpowera
2.vgscan
  
Actual results:
[root@db163 etc]# pvcreate /dev/emcpowerb
  Physical volume "/dev/emcpowerb" successfully created
[root@db163 etc]# pvscan
  Found duplicate PV 2g6Ax3DkSa1wL7k5CpCxi10xwmi6prnK: using /dev/sdcd 
not /dev/emcpowera
  Found duplicate PV xDa3WEQ7ksOh90SsQZLkxT2woulSzMUk: using /dev/sdt 
not /dev/emcpowerb
  Found duplicate PV 2g6Ax3DkSa1wL7k5CpCxi10xwmi6prnK: using /dev/sdv 
not /dev/sdcd
  Found duplicate PV xDa3WEQ7ksOh90SsQZLkxT2woulSzMUk: using /dev/sdan 
not /dev/sdt
  Found duplicate PV 2g6Ax3DkSa1wL7k5CpCxi10xwmi6prnK: using /dev/sdap 
not /dev/sdv
  Found duplicate PV xDa3WEQ7ksOh90SsQZLkxT2woulSzMUk: using /dev/sdbh 
not /dev/sdan
  Found duplicate PV 2g6Ax3DkSa1wL7k5CpCxi10xwmi6prnK: using /dev/sdbj 
not /dev/sdap
  Found duplicate PV xDa3WEQ7ksOh90SsQZLkxT2woulSzMUk: using /dev/sdcb 
not /dev/sdbh
  PV /dev/sdbj         lvm2 [167.06 GB]
  PV /dev/sdcb         lvm2 [167.06 GB]
  Total: 2 [334.12 GB] / in use: 0 [0   ] / in no VG: 2 [334.12 GB]


Expected results:


Additional info:

Comment 1 Milan Broz 2010-05-17 14:37:29 UTC
I think this was some device-mapper-multipath misconfiguration, paths should not be visible as separate devices.

I this configuration should work with recent updates...