The following commands can be found by issuing lvm help at a command prompt.
| Command | Description |
|---|---|
dumpconfig
|
Dump the active configuration |
formats
|
List the available metadata formats |
help
|
Display the help commands |
lvchange
|
Change the attributes of logical volume(s) |
lvcreate
|
Create a logical volume |
lvdisplay
|
Display information about a logical volume |
lvextend
|
Add space to a logical volume |
lvmchange
|
Due to use of the device mapper, this command has been deprecated |
lvmdiskscan
|
List devices that may be used as physical volumes |
lvmsadc
|
Collect activity data |
lvmsar
|
Create activity report |
lvreduce
|
Reduce the size of a logical volume |
lvremove
|
Remove logical volume(s) from the system |
lvrename
|
Rename a logical volume |
lvresize
|
Resize a logical volume |
lvs
|
Display information about logical volumes |
lvscan
|
List all logical volumes in all volume groups |
pvchange
|
Change attributes of physical volume(s) |
pvcreate
|
Initialize physical volume(s) for use by LVM |
pvdata
|
Display the on-disk metadata for physical volume(s) |
pvdisplay
|
Display various attributes of physical volume(s) |
pvmove
|
Move extents from one physical volume to another |
pvremove
|
Remove LVM label(s) from physical volume(s) |
pvresize
|
Resize a physical volume in use by a volume group |
pvs
|
Display information about physical volumes |
pvscan
|
List all physical volumes |
segtypes
|
List available segment types |
vgcfgbackup
|
Backup volume group configuration |
vgcfgrestore
|
Restore volume group configuration |
vgchange
|
Change volume group attributes |
vgck
|
Check the consistency of a volume group |
vgconvert
|
Change volume group metadata format |
vgcreate
|
Create a volume group |
vgdisplay
|
Display volume group information |
vgexport
|
Unregister a volume group from the system |
vgextend
|
Add physical volumes to a volume group |
vgimport
|
Register exported volume group with system |
vgmerge
|
Merge volume groups |
vgmknodes
|
Create the special files for volume group devices in /dev/ |
vgreduce
|
Remove a physical volume from a volume group |
vgremove
|
Remove a volume group |
vgrename
|
Rename a volume group |
vgs
|
Display information about volume groups |
vgscan
|
Search for all volume groups |
vgsplit
|
Move physical volumes into a new volume group |
version
|
Display software and driver version information |
LVM commands