Physical volume commands:
pvcreate:
makes a disk an LVM disk(a physical volume)
pvdisplay:
Displays information about physical volumes in a volume group
pvchange:
Sets physical volume characteristics to allow or deny allocation of additional physical extents from this disk
pvmove:
Moves allocated physical extents from source to destination within a volume group
Volume Group Commands:
vgcreate:
Create a volume group
vgdisplay:
Displays information about volume groups
vgchange:
Activates or deactivates one or more volume groups. Allows a volume group to mount with or without a quorum
vgextend:
Extends a volume group by adding disks to it
vgreduce:
Reduces a volume group by removing one or more disks from it
vgscan:
Scans all disks and looks for logical volume groups
vgsync:
Synchronizes mirrors that are stale in one or more logical volumes
vgremove:
Removes definition of volume group from the system
vgexport:
Removes a volume group from the system without modifying the information found on the physical volume
vgimport:
Adds a volume group to the system by scanning physical volumes which have been exported using vgexport
vgcfgbackup:
Saves the configuration information for a volume group. Remember that a volume group is made up of one or more physical volumes group is made up of one or more physical volumes
vgcfgrestore:
Restores the configuration information for a volume group
Logical Volume Commands:
lvcreate:
Create a logical volume
lvdisplay:
Displays information about logical volumes
lvchange:
Changes characteristics of logical volume including availability, scheduling policy, permissions, block relocation policy, allocation policy, mirror cache availability
lvextend:
Increases disk space allocated to a logical volume
extendfs:
Extends the size of a filesystem residing on a logical volume
lvrecude:
Decreases disk space allocated to a logical volume
lvremove:
Removes one or more logical volumes from a volume group
lvsplit:
Splits a mirrored logical volume into two logical volumes
lvmerge:
Merges the lvsplit logical volumes into one logical volume
lvsync:
Synchronizes mirrors that are stale in one or more logical volumes
lvmmigrate:
Prepares a root file system for migration from partition to a logical volume
lvlnboot:
Used to set up a logical volume to be a root, primary, swap..
lvrmboot:
Use this if you don't want a logical volume to be a root, primary, sway, or dump volume
阅读(1614) | 评论(0) | 转发(0) |