「lvm2」

安装的可执行程序

dmsetup,is a low level logical volume management tool.
fsadm,is a utility used to resize or check filesystem on a device.
lvmconf,is a script that modifies the locking configuration in the LVM2 configuration file.

子命令

lvm,provides the command-line tools for LVM2. Commands are implemented via sympolic links to this program to manage physical devices (pv*), volume groups (vg*) and logical volumes (lv*).

lvmconfig,

物理卷(PV – Physical Volume)

查看PV及相关信息

pvdisplay 显示物理卷的各种属性;
pvscan 显示所有的物理卷;
pvs 显示物理卷的信息;
pvck 检查物理卷的一致性;

修改

pvresize
pvchange

删除

pvremove

创建

pvcreate
pvmove

VG

vgcfgbackup
vgcfgrestore
vgchange
vgck
vgcreate
vgconvert
vgdisplay
vgexport
vgextend
vgimport
vgimportclone,is used to import a duplicated VG (e.g. hardware snapshot).

vgmerge
vgmknodes
vgreduce
vgremove
vgrename
vgs
vgscan
vgsplit

LV

lvcreate
lvchange
lvconvert
lvdisplay
lvextend
lvreduce
lvremove
lvrename
lvresize
lvs
lvscan

LVM

lvm-fullreport
lvm-lvpoll
lvm2-activation-generator

blkdeactivate,is a utility to deactivate block device.

lvmdump,is a tool used to dump various information concerning LVM2.

DAEMON

dmeventd,(optional) is the Device Mapper event daemon.

lvmetad,(optional) is the LVM metadata daemon.

lvmpolld
lvmlockd
lvmlockctl
clvmd
cmirrord
lvmdbusd

参考文献