df -h
pvdisplay
vgdisplay
fdisk -l 查看新加卷
在新磁盘创建物理卷
pvcreate /dev/sdb
将新磁盘添加到物理卷组
vgextend rootvg /dev/sdb
扩容lvm
lvextend -L +2000G /dev/mapper/rootvg-rootlv
使扩容生效
xfs_growfs /dev/mapper/rootvg-rootlv
refer link: https://www.huaweicloud.com/articles/bb03bda7156ff72077e827364e3719c5.html
https://blog.csdn.net/yanchaohui1030/article/details/99838525