创建lvm卷
在硬盘上新划分sda3分区,格式为8e
pvcreate /dev/sda3
查看当前vg
将sda3添加到vg组centos
vgextend centos /dev/sda3
创建名称为centos-home的逻辑卷
lvcreate -l +100%FREE centos -n home
mkfs.xfs /dev/centos/home
挂载
mount /dev/centos/home /mntdir
删除操作
lvremove centos-home /dev/centos/centos-home
转载于:https://blog.51cto.com/gaodi2002/2043619