Increase EBS not reflecting on the ubuntu

0

Change not reflecting on the ubuntu machine after the root volume size was changed in AWS

已提问 2 个月前93 查看次数
3 回答
3
已接受的回答

If you issue lsblk can you see the new resized volume ? If not, do a sudo growpart /dev/volume_to_grow 1

If already resized you may need to resize the filesystem with the usual linux commands (resize2fs if ext4, xfs_growfs if xfs)

rebooting the EC2 instance will start afresh.

profile picture
专家
已回答 2 个月前
profile picture
专家
已审核 2 个月前
profile picture
专家
已审核 2 个月前
profile picture
专家
已审核 2 个月前
3

You will need to resize the file system after expanding the EBS volume. Please follow these instructions https://docs.aws.amazon.com/ebs/latest/userguide/recognize-expanded-volume-linux.html

profile picture
专家
已回答 2 个月前
profile picture
专家
已审核 2 个月前
profile picture
专家
已审核 2 个月前
profile picture
专家
已审核 2 个月前
2

The EBS "modify" Elastic Volume feature only expand the volume at block level; in order to extend also the filesystem(s) on top of it you should follow the steps outlined in our documentation here: https://docs.aws.amazon.com/ebs/latest/userguide/recognize-expanded-volume-linux.html

profile pictureAWS
已回答 2 个月前
profile picture
专家
已审核 2 个月前
profile picture
专家
已审核 2 个月前
profile picture
专家
已审核 2 个月前

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

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

回答问题的准则

相关内容