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년 전313회 조회
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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠