Amazon EC2 and EBS disk space problem

前端 未结 7 1988
别跟我提以往
别跟我提以往 2021-02-02 16:29

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

7条回答
  •  醉话见心
    2021-02-02 17:10

    It is because, "After you increase the size of an EBS volume, you must use file system–specific commands to extend the file system to the larger size. You can resize the file system as soon as the volume enters the optimizing state.", without bouncing an instance.

    I was just facing the same issue today, I was able to resolve it,

    1. Figure out the type of your file system, $ cat /etc/fstab

    2. Follow this AWS doc, that precisely documents the steps to extend the linux Partition/FS after resizing a volume of a EC2 instance.

      Extending a Linux File System After Resizing a Volume

提交回复
热议问题