Reduce root partition space on ec2 AWS
I have 64Gb root partition space on ec2 AWS. The instance is centOS 6.7.
Here is output of df -h Code:
Filesystem Size Used Avail Use% Mounted on Code:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT Please help me to achieve this. Note : I can not take help from AWS support |
1. Make a backup of the data contained of /(root)
2. Use Gparted: http://sourceforge.net/projects/gpar...d-live-stable/ |
Quote:
Quote:
Can you please help to tell me, how can I use gparted on ec2-AWS? |
More than 100 views - they're all probably like me thinking "why can't s?he talk to AWS support ?".
Hmmm. Cutting 30 Gig out ain't any use unless you can use it elsewhere. You gunna give us some info, or are you just going to accept you are likely not to get any (more) help ?. What filesystem is that partition ?. |
Quote:
This is a cloud, no need to allocate LUNs on disk arrays, pull cables, set up iSCSI targets and the like. Easy! |
Thanks I have done this. I created a snapshot of 64GB volume > create volume of 30 Gb from this snap shot > stop instance > detach old volume > attach new volume > start instance.
But here is the problem, instance does not start with new created volume, connection time out issue. Now I revert back to the old volume, it starts successfully. |
...
|
I think you need to create a new instance for the "30 Gb from this snap" volume and mount that as/at 30G / on the new instance.
Reference: http://serverfault.com/questions/565...e-ec2-instance and as usual, http://docs.aws.amazon.com/AWSEC2/la...ce-resize.html |
All times are GMT -5. The time now is 06:21 PM. |