EC2 Storage increased in AWS but not showing in Linux server

0

Hi,

We recently increased our EC2 volume storage from 1.8 Tb to 2.3 Tb. This change has been taken into account on AWS but not getting updated on server side which is in linux (PFA)

Our storage has only been increase from 1.8 to 2.0 TB while the rest isn't displayed. Storage in Linux

P.S : We already tried to restart server but it didn't work

Kindly help us with a reliable solution !

Thanks in advance

Olean
asked 22 days ago234 views
2 Answers
0

Hi

After you increase the size of an EBS volume, you must extend the partition and file system to the new, larger size. You can do this as soon as the volume enters the optimizing state.

How do I extend my Linux file system after I increase my EBS volume on my EC2 instance?

There are two steps you need to take to make the additional space available to the Linux server:

Resize the partition: You can use the growpart command to resize the partition that contains the file system. You can find instructions on how to do this in the AWS documentation https://docs.aws.amazon.com/ebs/latest/userguide/recognize-expanded-volume-linux.html

Resize the file system: Once the partition has been resized, you can use the resize2fs command to resize the file system. You can find instructions on how to do this in the AWS documentation https://docs.aws.amazon.com/ebs/latest/userguide/recognize-expanded-volume-linux.html

profile picture
EXPERT
GK
answered 22 days ago
0

Resize File System: After increasing the volume size on AWS, the next step is to resize the file system on your Linux server to utilize the additional space. You can do this using the resize2fs command if you're using ext3/ext4 filesystems.

bash sudo resize2fs /dev/[your_volume]

Ensure that the partition table reflects the increased volume size. You can use the fdisk command to check and potentially resize partitions if necessary.

sudo fdisk -l

answered 22 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions