Why isn't my EC2 storage space upgrading?

0

I ran out of space on my Ec@ ubuntu machine so I added 20gb to my volume. It's been an hour and my machine when I run dh -f still says it only has 7 gb and is 100 percent full. I thought it said it was going to auto increase the space. Not sure whats going on or how to fix it

Enter image description here

Sam
已提问 2 个月前219 查看次数
2 回答
1

Please follow the steps list in this article to resize the file system.

profile pictureAWS
专家
已回答 2 个月前
0

There are a number of steps to increase the filesystem, these are described here https://docs.aws.amazon.com/ebs/latest/userguide/recognize-expanded-volume-linux.html

Boiling it down, you have to expand the underlying EBS volume (which it sounds like you've already done) and then grow the filesystem using either xfs_growfs or resizefs depending on the filesystem type.

Can you try following the steps in the link, and if you get stuck then can you post the outputs of lsblk and df -hT to progress things.

profile picture
专家
Steve_M
已回答 2 个月前

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

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

回答问题的准则