EC2 Can't resize volume after increasing size

后端 未结 14 545
青春惊慌失措
青春惊慌失措 2020-11-30 16:30

I have followed the steps for resizing an EC2 volume

  1. Stopped the instance
  2. Took a snapshot of the current volume
  3. Created a new volume out of t
14条回答
  •  一生所求
    2020-11-30 17:27

    Prefect comment by jperelli above.

    I faced same issue today. AWS documentation does not clearly mention growpart. I figured out the hard way and indeed the two commands worked perfectly on M4.large & M4.xlarge with Ubuntu

    sudo growpart /dev/xvda 1
    sudo resize2fs /dev/xvda1
    

提交回复
热议问题