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

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

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

回答問題指南