df -h
fuser -km /home/
umount /home
lvremove /dev/mapper/centos-home
1).扩展全部空闲容量到rootlvextend -l +100%free /dev/mapper/centos-root
2).扩展指定容量到rootlvextend -L +800G /dev/mapper/centos-root
xfs_growfs /dev/mapper/centos-root
vi /etc/fstab
*重建/home操作
lvcreate -L 10G -n /dev/mapper/centos-home
mkfs.xfs /dev/mapper/centos-home
mount /dev/mapper/centos-home
vi /etc/fstab
PS:查看卷组信息:vgdisplay