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

前端 未结 3 896
暗喜
暗喜 2021-02-15 23:58

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

3条回答
  •  终归单人心
    2021-02-16 01:04

    My solution:

    I don't know about you guys but I was able to add 30GB to my original 8GB Ubuntu EC2 instance and then I went to EC2 Console Manager and right clicked on my Instance, then pressed Reboot.

    Once I rebooted and SSH'ed back into the server I typed df -h and saw that my root partition (/dev/xvda1) was of size 38GB.

提交回复
热议问题