1. 参考阿里云文档 :https://help.aliyun.com/document_detail/113316.html?spm=a2c4g.11186623.6.925.3aa35181enfucr
先要在阿里云控制台重启服务器
1.扩容分区
yum install -y cloud-utils-growpart growpart /dev/vdb 1
2.扩容文件系统
resize2fs /dev/vdb1
1. 参考阿里云文档 :https://help.aliyun.com/document_detail/113316.html?spm=a2c4g.11186623.6.925.3aa35181enfucr
先要在阿里云控制台重启服务器
yum install -y cloud-utils-growpart growpart /dev/vdb 1
resize2fs /dev/vdb1