correlate powerpath devices to logical volumes
pvdisplay or pvscan shows powervolume (powerpath) device info:
# pvdisplay
--- Physical volume ---
PV Name /dev/emcpowere1
VG Name vg03
PV Size 1.57 TB / not usable 1.98 MB
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 410563
Free PE 0
Allocated PE 410563
PV UUID gXLa3d-UUwu-hOnM-V1nt-zfCj-W3Yg-pieYDo
# lvdisplay -m
--- Logical volume ---
LV Name /dev/vg03/lv01
VG Name vg03
LV UUID oDmfr3-jJRc-mJGK-lPgk-z8Ty-7JJr-h4wHtF
LV Write Access read/write
LV Status available
# open 1
LV Size 1.57 TB
Current LE 410563
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0
--- Segments ---
Logical extent 0 to 410562:
Type linear
Physical volume /dev/emcpowere1
Physical extents 0 to 410562
# ls -la /dev/vg03/lv01
lrwxrwxrwx 1 root root 21 Apr 18 15:31 /dev/vg03/lv01 -> /dev/mapper/vg03-lv01
/dev/mapper/vg03-lv01
1655277760 823757324 747437136 53% /san06
this shows that the physical volume /emc/powere1 is mapped to volume group 03, logical volume 01 and is mounted on /san06
# pvdisplay
--- Physical volume ---
PV Name /dev/emcpowere1
VG Name vg03
PV Size 1.57 TB / not usable 1.98 MB
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 410563
Free PE 0
Allocated PE 410563
PV UUID gXLa3d-UUwu-hOnM-V1nt-zfCj-W3Yg-pieYDo
# lvdisplay -m
--- Logical volume ---
LV Name /dev/vg03/lv01
VG Name vg03
LV UUID oDmfr3-jJRc-mJGK-lPgk-z8Ty-7JJr-h4wHtF
LV Write Access read/write
LV Status available
# open 1
LV Size 1.57 TB
Current LE 410563
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0
--- Segments ---
Logical extent 0 to 410562:
Type linear
Physical volume /dev/emcpowere1
Physical extents 0 to 410562
# ls -la /dev/vg03/lv01
lrwxrwxrwx 1 root root 21 Apr 18 15:31 /dev/vg03/lv01 -> /dev/mapper/vg03-lv01
/dev/mapper/vg03-lv01
1655277760 823757324 747437136 53% /san06
this shows that the physical volume /emc/powere1 is mapped to volume group 03, logical volume 01 and is mounted on /san06
Labels: emc, lvm, power volume, powerpath

0 Comments:
Post a Comment
<< Home