EC2 Can't resize volume after increasing size

0 votes

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 the previous snapshot with a bigger size in the same region

  4. Deattached the old volume from the instance

  5. Attached the new volume to the instance at the same mount point

This didn't work. Can someone help me with this?
Mar 12 by Ramya Mantri
24 views

1 answer to this question.

0 votes

small improvement need to be considered if we are increasing EBSs into larger sizes

  1. Stop the instance
  2. Create a snapshot from the volume
  3. Create a new volume based on the snapshot increasing the size
  4. Check and remember the current's volume mount point (i.e. /dev/sda1)
  5. Detach current volume
  6. Attach the recently created volume to the instance, setting the exact mount point
  7. Restart the instance
  8. Access via SSH to the instance and run fdisk /dev/xvde

This will work properly.

answered Mar 12 by Sukanya

Related Questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
+1 vote
2 answers

AWS EC2 - Can't launch an instance - Account blocked

Try launching the Instance using CLI or ...READ MORE

answered Aug 7, 2018 in AWS by Priyaj
• 56,900 points
1,156 views
0 votes
1 answer

How to increase the EBS volume size of an instance that is on running state ?

Unluckily, it is not possible to increase ...READ MORE

answered Jul 17, 2018 in Cloud Computing by Gopalan
• 1,260 points
84 views
0 votes
1 answer

Increasing HFile block size

If you increase the block size then ...READ MORE

answered Aug 6, 2018 in Big Data Hadoop by nitinrawat895
• 10,690 points
81 views
0 votes
1 answer

Increasing the shm size of a kubernetes container

You cannot achieve this in kubernetes pod. ...READ MORE

answered Sep 12, 2018 in Kubernetes by ajs3033
• 7,280 points
895 views
0 votes
1 answer

Can't Click an Element in Python Selenium After Successfully Finding It

I've encountered this problem of not being ...READ MORE

answered Oct 4, 2018 in Python by Priyaj
• 56,900 points
1,577 views
0 votes
1 answer

Can't Click an Element in Python Selenium After Successfully Finding It

I've encountered this problem of not being ...READ MORE

answered Oct 8, 2018 in Python by Priyaj
• 56,900 points
95 views