HP-UX HB v13.00 Ch-13 - LVM

HP-UX Handbook Rev 13.00 Page 25 (of 110)
Chapter 13 LVM
October 29, 2013
Information on 2.x LVs
# lvdisplay -v /dev/vg_lvm2/lvol1
--- Logical volumes ---
LV Name /dev/vg_lvm2/lvol1
VG Name /dev/vg_lvm2
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 4
Current LE 1
Allocated PE 1
Stripes 0
Stripe Size (Kbytes) 0
Bad block NONE
Allocation strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/disk/disk111 1 1
--- Logical extents ---
LE PV1 PE1 Status 1
00000000 /dev/disk/disk111 00000000 current
LVM Basic Functionality
Adding a new PV / VG / LV
Adding a new PV
A disk has to be initialized before LVM can use it. The pvcreate command writes the
PVRA to the disk and such a disk is called a PV:
# pvcreate /dev/rdsk/c0t5d0