I am unable to figure out which pv resides on which array from the output of those 2 commands:
#-> lvdisplay
--- Logical volume ---
LV Name /dev/B/usr-sap-RPU
VG Name B
LV UUID 6NfBz2-E71t-CwRH-y2bQ-cbGP-CxWY-UNpwgJ
LV Write Access read/write
LV Status available
# open 1
LV Size 15.00 GB
Current LE 3840
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:15
--- Logical volume ---
LV Name /dev/vg01/sapmnt
VG Name vg01
LV UUID Hv3dbQ-ZyaF-riMe-1kDg-qp0S-dbf9-Xlsyni
LV Write Access read/write
LV Status available
# open 1
LV Size 512.00 MB
Current LE 128
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:16
--- Logical volume ---
LV Name /dev/vg01/usr-sap
VG Name vg01
LV UUID WPKOrV-V6Br-9xaC-9vVI-2Spf-ckJ7-Fxw6pD
LV Write Access read/write
LV Status available
# open 1
LV Size 2.00 GB
Current LE 512
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:17
--- Logical volume ---
LV Name /dev/vg02/lv00
VG Name vg02
LV UUID wzwa2x-m405-e0Ur-x0aP-nePk-2buN-X9iVgT
LV Write Access read/write
LV Status available
# open 1
LV Size 10.00 GB
Current LE 2560
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:18
--- Logical volume ---
LV Name /dev/vg00/lv00
VG Name vg00
LV UUID w6GNvH-2tnm-7f5r-hcfJ-5djH-sq8n-7nqNy3
LV Write Access read/write
LV Status available
# open 1
LV Size 10.00 GB
Current LE 320
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0
--- Logical volume ---
LV Name /dev/vg00/lv01
VG Name vg00
LV UUID qRSU2w-Blwk-Gj4c-HWrR-uJKr-1Hjb-KCptBH
LV Write Access read/write
LV Status available
# open 1
LV Size 5.00 GB
Current LE 160
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:1
--- Logical volume ---
LV Name /dev/vg00/lv02
VG Name vg00
LV UUID iLQ1Ip-SGWZ-QIOZ-grtu-Nr19-ZjjJ-QXZrMd
LV Write Access read/write
LV Status available
# open 1
LV Size 10.00 GB
Current LE 320
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:2
--- Logical volume ---
LV Name /dev/vg00/lv03
VG Name vg00
LV UUID d2IJ4Y-NX6z-gVLl-oKUN-aWyK-UsWq-jVEg9o
LV Write Access read/write
LV Status available
# open 1
LV Size 5.00 GB
Current LE 160
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:3
--- Logical volume ---
LV Name /dev/vg00/swap
VG Name vg00
LV UUID l61Gw5-nz0u-drjE-6Gwp-0zar-8kt3-KdZ1Tw
LV Write Access read/write
LV Status available
# open 1
LV Size 50.00 GB
Current LE 1600
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:4
--- Logical volume ---
LV Name /dev/vg00/swap1
VG Name vg00
LV UUID 9bsxJx-4mvY-9K99-n90i-z5nx-a60b-L2M1bt
LV Write Access read/write
LV Status available
# open 1
LV Size 2.25 GB
Current LE 72
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:5
[root@itsusmdsapl14:/root]#
#-> dmsetup ls
mpathe (253, 10)
mpathd (253, 11)
vg02-lv00 (253, 18)
vg00-swap1 (253, 5)
mpathb (253, 7)
mpatha (253, 6)
vg00-swap (253, 4)
B-usr--sap--RPU (253, 15)
vg00-lv03 (253, 3)
vg00-lv02 (253, 2)
vg01-usr--sap (253, 17)
vg01-sapmnt (253, 16)
mpathb-part3 (253, 14)
vg00-lv01 (253, 1)
mpathb-part2 (253, 13)
vg00-lv00 (253, 0)
mpathg (253, 8)
mpathb-part1 (253, 12)
mpathf (253, 9)
---------- Post updated at 11:49 AM ---------- Previous update was at 11:41 AM ----------
Let me put this way: from the pvs output i see :
dm-10, dm-11, dm-12, dm-13, dm-6 , dm-8
How can i know whether dm -10 resides on which array ? in similar way dm -11, dm-12, dm-13?
I can figure out if they used same naming conventions for pv with respect to multipath -ll output but here in multipath -ll output you see different dm's and in pvs you see different dm's.
Is there anyway to check from the output of pvs i want to know which dm's resides on which array ?