跳至內容

Increase EBS not reflecting on the ubuntu

0

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

已提問 1 年前檢視次數 180 次
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.

專家
已回答 1 年前
專家
已審閱 1 年前
專家
已審閱 1 年前
專家
已審閱 1 年前
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

專家
已回答 1 年前
專家
已審閱 1 年前
專家
已審閱 1 年前
專家
已審閱 1 年前
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

AWS
已回答 1 年前
專家
已審閱 1 年前
專家
已審閱 1 年前
專家
已審閱 1 年前

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

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