Unable to mount on file system after resizing for volume expansion

0

Objective to be solved: To finish volume expansion process, solution to mount process in the file system.

<Instance Specifications>

Instance type: t2 xlarge

change volume: 120GB⇒260GB

OS: ubuntu 20.04

memory: 16GB

Core: 4Core

Volume expansion has been performed several times with success. This time as well, after SSH connection to enter the OS, I did the commands below to extend the OS.

sudo growpart /dev/svda 1

and

NOCHANGE : partition 1 is size 545257439. it cannot be grown

There was a return like the one above. Confirmed that the volume size change has been done at the instance. Do you mean a size that is not scalable with the current instance type T2 .xlarge size? I would like to amount the volume expansion and exit, please help me with the solution.

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

Hello, As per the AWS Documentation: After you increase the size of an EBS volume, you must use file system–specific commands to extend the file system to the new, larger size. You can do this as soon as the volume enters the optimizing state. [1]You may need to resize your partition in order to accommodate for the additional storage volume added or unmount your svda 1 partition before growing, as Linux doesn't allow most modifications to partitions while they are mounted or in use in some way. [1]https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recognize-expanded-volume-linux.html

bren_S
已回答 9 个月前

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

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

回答问题的准则