5.6.4 Deleting an Application File That Is Locked

5.7 Summary of LVM Commands

This section summarizes the key commands that have been used in different sections of this chapter.

5.7.1 PV Commands

The following commands are most commonly used with physical volume related tasks.

lsdev Lists devices in the ODM

chdev
Changes the characteristics of a device
mkdev
Adds a device to the system
chpv
Changes the state of the physical volume
lspv
Displays information about a physical volume within a volume group
migratepv
Moves allocated physical partitions from one physical volume to one or more other physical volumes

5.7.2 VG Commands

The following commands are most commonly used with volume group related tasks.

mkvg
Creates a new volume group
extendvg
Adds a physical volume to a volume group
reducevg
Removes physical volume from a volume group
chvg
Changes a volume group
lsvg
Displays information about a volume group
importvg
Installs a volume group
exportvg
Removes a volume group
reorgvg
Reorganizes a volume group
syncvg
Synchronizes a volume group
varyonvg
Makes a volume group available for use

varyoffvg Makes a volume group unavailable for use

5.7.3 LV Commands

Following are some of the most commonly used logical volume commands.

mklv
Creates a logical volume
lslv
Lists the characteristics of a logical volume
rmlv
Removes a logical volume
extendlv
Increases the size of a logical volume
chlv
Changes the characteristic of a logical volume
mklvcopy
Adds copies to a logical volume
rmlvcopy
Removes copies from a logical volume

5.7.4 File System Commands

Following is the list of file systems commands that have been discussed in this chapter:

chfs
Changes the characteristics of a file system
crfs
Adds a file system
lsfs
Displays the characteristics of a file system
rmfs
Removes a file system
mount
Makes a file system available for use
fsck
Checks file system consistency and interactively repairs the file system
umount
Unmounts a previously mounted file system, directory, or file
df
Reports information about space on file systems
dd
Reads the InFile parameter or standard input, does the specified conversions, then copies the converted data to the OutFile parameter or standard output; the input and output block size can be specified to take advantage of raw physical I/O

5.8 References