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.

gefragt vor 2 Jahren316 Aufrufe
1 Antwort
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
beantwortet vor 10 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen