HP-UX 11i v3 Using LVM Logical Volume Snapshots (September 2010)

18
2. Use the lvremove F option to delete snapshot /dev/vg01/lvol1_S4 and all its
predecessors as follows:
# lvremove -F /dev/vg01/lvol1_S4
Do you really want to delete the logical volume "/dev/vg01/lvol1_S4"
and all its predecessors (y/n) : y
Logical volume "/dev/vg01/lvol1_S4" and all its predecessors have been
successfully removed.
Volume Group configuration for /dev/vg01 has been saved in
/etc/lvmconf/vg01.conf
If you do not use the –f option, you are asked to confirm the deletion.
Displaying Snapshot Information
The vgdisplay, lvdisplay, pvdisplay, and lvmadm commands are enhanced to display
information about the snapshots. This section lists the new fields that were added to each of these
command outputs. For more information, see vgdisplay(1M), lvdisplay(1M),
pvdisplay(1M), and lvmadm(1M).
lvmadm command
Use the lvmadm -V option to view the new fields (the last three) added for snapshot logical volumes
in Version 2.2 volume groups as follows:
# lvmadm -t -V 2.2
--- LVM Limits ---
VG Version 2.2
Max VG Size (Tbytes) 2048
Max LV Size (Tbytes) 256
Max PV Size (Tbytes) 16
Max VGs 2048
Max LVs 2047
Max PVs 2048
Max Mirrors 5
Max Stripes 511
Max Stripe Size (Kbytes) 262144
Max LXs per LV 33554432
Max PXs per PV 16777216
Max Extent Size (Mbytes) 256
Min Unshare unit(Kbytes) 512
Max Unshare unit(Kbytes) 4096
Max Snapshots per LV 255
vgdisplay command
The following new fields are added to vgdisplay command output for snapshot logical volumes:
Cur Snapshot LV
Displays the total number of snapshot logical volumes configured in the volume group. Because a
snapshot logical volume is treated as another logical volume, the Cur LV and Open LV fields are
also incremented or decremented when a new snapshot is created or deleted, respectively.
Unshare unit size (Kbytes)
Displays the size of unshare unit (in kilobytes) configured at the time of volume group creation or
volume group version migration to Version 2.2 or higher.