How to resize CentOS partition after increasing volume capacity?

0

EC2 instance with cPanel & CentOS running when ran out of disk space. Using the volume modification option, I increased the size of the volume, but the ClearOS won't change its partitios automaticly, so system is stucked.

How do I increase the partitios ofter a volume modification?

已提问 1 年前204 查看次数
1 回答
0

Assuming you cannot start the instance, you should detach the root volume and attach it to another dummy/test instance. The idea is to increase the file system size manually. Once that is done, you can re-attach the volume to the original instance and start-up.

Please refer to this link for the file system size increase steps

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recognize-expanded-volume-linux.html

已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则