参考:
https://blog.youkuaiyun.com/u012247980/article/details/52750056
https://blog.youkuaiyun.com/tp7309/article/details/62473010
后续补充完整过程
https://www.centos.bz/2017/08/virtualbox-linux-partition-resize/
https://www.virtualbox.org/ticket/9103
有快照则不会生效
方式1:
添加虚拟盘
https://www.cnblogs.com/feiyun126/p/7680534.html
方式2:
https://blog.youkuaiyun.com/u011926899/article/details/79493234
2条命令搞定
lvextend -l +100%FREE /dev/centos/root
xfs_growfs /dev/centos/root