查看文件系统信息:

1
2
3
4
df -hT

/dev/mapper/systemvg-rootlv ext4
/dev/mapper/systemvg-homelv xfs

增加逻辑卷大小(+nG):

1
2
lvresize -L +10G /dev/mapper/systemvg-rootlv
lvresize -L +10G /dev/mapper/systemvg-homelv

针对 xfs 文件系统:

1
xfs_growfs /dev/mapper/systemvg-homelv

针对 ext4 文件系统:

1
resize2fs /dev/mapper/systemvg-rootlv