Management Commands” (page 39)
, and
“Logical Volume Management Commands”
(page 40)
.
The following tables provide an overview of which commands perform a given task. For more
information, see the LVM individual manpages.
Table 4 Physical Volume Management Commands
Command
Task
pvchange
Changing the characteristics of a physical volume in a volume group
pvcreate
Creating a physical volume for use in a volume group
pvdisplay
Displaying information about physical volumes in a volume group
pvmove
Moving data from one physical volume to another
pvremove
Removing a physical volume from LVM control
pvck
1
Checking or repairing a physical volume
lvmchk
Checking if a disk volume is under LVM control
1
The
pvck
command is not supported on Version 2.x volume groups.
Table 5 Volume Group Management Commands
Command
Task
vgcreate
Creating a volume group
vgremove
Removing a volume group
vgchange
Activating, deactivating, or changing the characteristics of a volume group
vgmodify
Modifying the configuration parameters of a volume group; handling
physical volume size changes
vgcfgbackup
Backing up volume group configuration information
vgcfgrestore
Restoring volume group configuration from a configuration file
vgdisplay
Displaying information about volume groups
vgexport
Exporting a volume group and its associated logical volumes
vgimport
Importing a volume group onto the system; adding an existing volume group
back into the LVM configuration files
vgscan
Scanning all physical volumes for logical volumes and volume groups;
recovering the LVM configuration files
vgextend
Adding a disk to a volume group
vgreduce
Removing a disk from a volume group
vgsync
Synchronizing mirrored logical volumes in a volume group
vgchgid
Modifying the volume group ID on a physical volume
vgdsf
Migrating a volume group from legacy to persistent device files
vgcdsf
1
Converting persistent device special files in a volume group to cluster device
special files. (See note after table.)
lvmadm
Displaying limits associated with a volume group version
lvmpud
Handling online shared LVM reconfiguration, and pre-allocation of extents
for space-efficient snapshots
Administration Tools
39