lvm 扩缩容
(base) [root@bpit59 ~]# df -Thl (base) [root@bpit59 ~]# lsblk (base) [root@bpit59 ~]# lvs mkdir -p /tmp/home cp -r /home/* /tmp/home/ umount /home lvs :进行查看 lvreduce -L 100G /dev/centos/home lvextend -r -l 100%free /dev/centos/root xfs_growfs /dev/centos/root mkfs.xfs -f /dev/centos/home mount -a
参考:
https://blog.csdn.net/qq_46497658/article/details/122188234