B Lvm Command Summary - HP -UX 11i Administrator's Manual

Logical volume management
Hide thumbs Also See for HP-UX 11i:
Table of Contents

Advertisement

B LVM Command Summary

This appendix contains a summary of the LVM commands and descriptions of their use.
Table 16 LVM Command Summary
Command
extendfs
lvmadm
lvchange
lvcreate
lvdisplay
lvextend -m
lvextend -L
lvlnboot
lvmerge
lvmove
lvmpud
lvreduce -L
lvreduce -m
lvremove
lvrmboot
lvsplit
lvsync
152 LVM Command Summary
Description and Example
Extends a file system:
# extendfs /dev/vg00/rlvol3
Displays the limits associated with a volume group version:
# lvmadm -t -V 2.0
Changes the characteristics of a logical volume:
# lvchange -t 60 /dev/vg00/lvol3
Creates a logical volume in a volume group:
# lvcreate -L 100 /dev/vg00
Displays information about logical volumes:
# lvdisplay -v /dev/vg00/lvol1
Adds a mirror to a logical volume:
# lvextend -m 1 /dev/vg00/lvol3
Increases the size of a logical volume:
# lvextend -L 120 /dev/vg00/lvol3
Prepares a logical volume to become a root, swap, or dump area:
# lvlnboot -d /dev/vg00/lvol2
Merges split volumes into one logical volume:
# lvmerge /dev/vg00/lvol4b /dev/vg00/lvol4
Migrate a logical volume to new disks:
# lvmove -f newdisks.txt /dev/vg00/lvol2
Daemon to handle online shared LVM reconfiguration, and pre-allocation of extents for
space-efficient snapshots:
# lvmpud
Decreases the size of a logical volume:
# lvreduce -L 100 /dev/vg00/lvol3
Decreases the number of mirror copies of a logical volume:
# lvreduce -m 0 /dev/vg00/lvol3
Removes logical volumes from a volume group:
# lvremove /dev/vg00/lvol6
Removes a logical volume link to root, swap, or dump:
# lvrmboot -d /dev/vg00/lvol2
Splits a mirrored logical volume into two logical volumes:
# lvsplit /dev/vg00/lvol4
Synchronizes stale logical volume mirrors:
# lvsync /dev/vg00/lvol1

Advertisement

Table of Contents
loading

Table of Contents