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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ