建立lvm卷centos
在硬盤上新劃分sda3分區,格式爲8e
pvcreate /dev/sda3
查看當前vg
將sda3添加到vg組centos
vgextend centos /dev/sda3
ide
建立名稱爲centos-home的邏輯卷
lvcreate -l +100%FREE centos -n home
mkfs.xfs /dev/centos/home
掛載
mount /dev/centos/home /mntdir3d
刪除操做
lvremove centos-home /dev/centos/centos-homeblog