EC2 Can't resize volume after increasing size

后端 未结 14 556
青春惊慌失措
青春惊慌失措 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:17

    Just in case if anyone here for GCP google cloud platform ,
    Try this:

    sudo growpart /dev/sdb 1
    sudo resize2fs /dev/sdb1
    

提交回复
热议问题