Sponsored Content
Top Forums UNIX for Dummies Questions & Answers File System and Storage Array Confusion Post 302895587 by munna529 on Tuesday 1st of April 2014 11:49:30 AM
Old 04-01-2014
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 ?
 

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

File system Confusion

Hello All, I administer my department server and now Im assigned the job of installing a new server. The old server has no home directory but the user accounts are managed using a script and they are partitioned in /fs/grad, /fs/ugrad, /fs/fac, /fs/alumni. But when I finger for a... (1 Reply)
Discussion started by: maybemedic
1 Replies

2. Red Hat

Filesystem and storage arrays confusion

Hi Friends, I have a host(SuSe Linux 10.4) which has 2 luns presented from 2 different arrays HP eva and xp. we are planning to migrate hp eva to 3par. When i look for physical volume i see /dev/dm-4, /dev/dm-5, /dev/dm-7and when i look for multipath -ll i see dm-8,dm-9,dm-7. So i can't confirm... (1 Reply)
Discussion started by: munna529
1 Replies
All times are GMT -4. The time now is 03:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy