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 年前檢視次數 345 次
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
已回答 1 年前

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

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

回答問題指南