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
posta 2 mesi fa219 visualizzazioni
2 Risposte
1

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

profile pictureAWS
ESPERTO
con risposta 2 mesi fa
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
ESPERTO
Steve_M
con risposta 2 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande