urgent help for resizing root partition CentOS6 on EC2
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
urgent help for resizing root partition CentOS6 on EC2
greeting guru I make a snapshot of my root partition and then make a volume of 100G and then I attach that volume and start my instance. However when I do the resize2fs it does not like it. Any clue. See below ? I did researches and try everything but still no luck. Thanks for the help
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').
Please do not use words like "urgent". This is a voluntary community, so not demand attention. Also say please / thank you.
your resize2fs command is "working" just fine. It clearly says that the filessytem is using up all of the partition it is in and there is nothing to do. You've not shown here any attempt to actually *DO* anything... what do you actually want to achieve? You can't just magic extra space out of thin air, it has to come from somewhere.
Thanks for the reply and suggestion.
If someone look at the fdisk output, perhaps that someone might notice that the new volume has 100G of space ?
So the point is how to let the OS knows that there is more space available now ?
There are many posts on this topics and none of them works so far.
Thanks for the reply and suggestion.
If someone look at the fdisk output, perhaps that someone might notice that the new volume has 100G of space ?
So the point is how to let the OS knows that there is more space available now ?
There are many posts on this topics and none of them works so far.
...and if YOU looked at the commands you typed in, you might notice that the device you're trying to enlarge is ALREADY 100% FULL. Again, you CANNOT create more disk space out of thin air. You're typing in "resize2fs /dev/xvde1"...which is FULL...ZERO space free to make it bigger.
The /dev/xvdo device has space free...have you considered moving some data from the FULL device to the EMPTY one??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.