HP-UX 11i v3 Using LVM Logical Volume Snapshots (September 2010)
25
--- Distribution of logical volume ---
PV Name Unshared LE Unshared PE
/dev/disk/disk15476 2 2
/dev/disk/disk15820 2 2
--- Unshared Logical extents ---
LE PV1 PE1 Status 1 PV2
PE2 Status 2
00000000 /dev/disk/disk15476 00000128
current /dev/disk/disk15820
00000000 current
00000001 /dev/disk/disk15476 00000129
current /dev/disk/disk15820
00000001 current
--- Pre-allocated extents ---
PV Name1 PE1 PV Name2 PE2
/dev/disk/disk15476 00000130 /dev/disk/disk15820 00000002
/dev/disk/disk15476 00000131 /dev/disk/disk15820 00000003
/dev/disk/disk15476 00000132 /dev/disk/disk15820 00000004
.
.
.
Example 2: Fully allocated snapshot logical volume
The following lvdisplay verbose output shows a fully-allocated snapshot of logical volume
/dev/vg01/lvol1. The logical volume status shows that it is a fully-allocated snapshot that is
operative. There are no unshared extents yet in the logical volume. Because all extents of the snapshot
are shared, the extent status is shown as shared. For an unshared extent, the status displayed
is current.
# lvdisplay -v /dev/vg01/lvol1_S3
--- Logical volumes ---
LV Name /dev/vg01/lvol1_S3
VG Name /dev/vg01
LV Permission read-only
LV Status available/syncd, snapshot,fully allocated
Snapshot Status operative
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 1024
Current LE 128
Allocated PE 128
Stripes 0
Stripe Size (Kbytes) 0
Bad block NONE
Allocation strict
IO Timeout (Seconds) default
Unshared LE 0
Original LV /dev/vg01/lvol1
Timestamp Tue Jan 26 17:57:51 2010
--- Distribution of logical volume ---
PV Name LE on PV PE on PV Unshared LE Unshared PE
/dev/disk/disk15476 128 128 0 0