0 votes
1 view
in AWS by (19.2k points)

I am having a problem reconciling the space available on my EBS volume. According to the AWS console, the volume is 50GB and is attached to an instance.

If I ssh to this instance and do a df -h, I get the following output:

Filesystem            Size  Used Avail Use% Mounted on

/dev/sda1              15G   13G  3.0G  81% /

udev                  858M   76K  858M   1% /dev

none                  858M     0  858M   0% /dev/shm

none                  858M   72K  858M   1% /var/run

none                  858M     0  858M   0% /var/lock

none                  858M     0  858M   0% /lib/init/rw

I am pretty new to AWS. I interpret this as "there is a device attached and it has the 15GB capacity. What's more, you're nearly out of space!"

Can anyone point out the cause of the apparent discrepancy between the space advertised in the console and what is displayed on the instance?

1 Answer

0 votes
by (44.6k points)

There is a through and through the documentation for this provided by AWS itself.

Check this link - Extending a Linux File System After Resizing a Volume 

Also, there is another link from AWS knowledge centre - How do I expand the EBS root volume of my EC2 Linux instance? 

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...