HP 9000 rp5400 Servers User Manual
Page 112

#lvdisplay /dev/vg00/lvol# | grep -ie "LV Name" -e "Mirror"
4.
Determine the pvkey command status for the mirrored logical volume, again using the
lvdisplay command with the -k option. Compare the output to the lvdisplay command with
the -v option to determine the device file to pvkey mapping. For example,
# lvdisplay -v -k /dev/vg00/lvol1
--- Logical volumes ---
LV Name /dev/vg00/lvol1
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 256
Current LE 64
Allocated PE 128
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c1t6d0 64 64
/dev/dsk/c2t6d0 64 64
--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
00000 0 00000 current 1 00000 current
00001 0 00001 current 1 00001 current
00002 0 00002 current 1 00002 current
00003 0 00003 current 1 00003 current
00004 0 00004 current 1 00004 current
00005 0 00005 current 1 00005 current
00006 0 00006 current 1 00006 current
00007 0 00007 current 1 00007 current
00008 0 00008 current 1 00008 current
(etc.)
# lvdisplay -v /dev/vg00/lvol1
--- Logical volumes ---
LV Name /dev/vg00/lvol1
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 256
Current LE 64
Allocated PE 128
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c1t6d0 64 64
/dev/dsk/c2t6d0 64 64
--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
00000 /dev/dsk/c1t6d0 00000 current /dev/dsk/c2t6d0 00000 current
00001 /dev/dsk/c1t6d0 00001 current /dev/dsk/c2t6d0 00001 current
00002 /dev/dsk/c1t6d0 00002 current /dev/dsk/c2t6d0 00002 current
112
Removing and Replacing Components