[SOLVED] How to shrink a partition of a Linux VMWare guest?
Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
How to shrink a partition of a Linux VMWare guest?
VMWare tools allows me to shrink the "disk" for a Windows guest. vmware-toolbox presents me with the option to "Select the partitions you wish to shrink." on a Linux guest. However, there are no partitions shown to be selected. Anyone had success doing this?
Thanks unSpawn. I booted my Ubuntu 10.04 VM from a like live CD on one monitor while reading the pared docs on the other. I invoked parted and - bottom line - the VM is ext4 and it appears that parted does not support ext4 nor ext3. Pray tell what trick do you use (or do you not have ext4 or ext3 partitions in your VMs?)
That's what I thought - the error message told me to go pound sand and use resize2fs. I have 5 TB on my newly rebuilt server to backup VMs and other stuff so I don't really NEED to shrink - just thought I would explore the methodology. I will give resize2fs a try after I re-inflate my Ubuntu VM (I just erased it and replaced it with a backup copy from the server after parted didn't).