AWS ec2 root volume increase: Expanding elastic root volume on aws ubuntu instance not working

前端 未结 1 1020
别跟我提以往
别跟我提以往 2021-02-16 00:10

I\'ve followed aws doc for expanding elastic root volume and got my root volume size increased from 8 GB to 20 GB, which i confirmed using lsblk.

NAM

1条回答
  •  温柔的废话
    2021-02-16 01:04

    /dev/xvda1 is an 8 GiB partition on a 20 GiB device and there are no other partitions on the volume. In this case, the partition must be resized in order to use the remaining space on the volume.

    After you resize the partition, you can extend the file system (via sudo resize2fs /dev/xvda1) to occupy all of the space on the partition.

    0 讨论(0)
提交回复
热议问题