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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南