Vmware and Windows OS: Expanding and shrinking disks

Sometimes we might have the need to add temporary disk space to vm guests and then remove the disk space later. Usually we add a disk and then remove it later when it is not needed any more. Another option, I guess is to use a thin provisioned disk that can be shrunk to reclaim unused space.

1. I was however wondering if there are any tricks or tools that let me add a disk to a dynamic partition, and then remove the disk later without breaking the whole partition? I guess the data is striped over the disks in the dynamic set.

2. From what I know, a thick provisioned disks file system can be shrunk, but the disk itself can not be shrunk even though the file system is not using the whole disk. Is this fact the same today, or are there any tricks out there that let me shrink a thick provisioned disk as of today?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
It's not easy to remove disk space or shrink disks in VMware vSphere.

It's very easy to grow disks, but the only supported method of shrinking or resizing disks is to use VMware vCenter Converter Standalone 5.1, and create a V2V of the existing VM, you will then have the option, when creating the new VM, to alter VMDK size, which will adjust the OS Partition, and you can also specify thick or thin disks.

see my EE Articles

HOW TO:  Resize a VMware (VMDK) Virtual Disk

HOW TO:  Synchronize changes when completing a P2V or V2V with VMware vCenter Converter Standalone 5.1

HOW TO:  P2V, V2V for FREE - VMware vCenter Converter Standalone 5.1

HOW TO: Improve the transfer rate of a Physical to Virtual (P2V), Virtual to Virtual Conversion (V2V) using VMware vCenter Converter Standalone 5.0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
itniflAuthor Commented:
Thank you for your articles. However, I am looking for ways to shrink thick disks or remove a disk from a dynamic partition. I guess that is not possible still today? Looks like your articles are mostly handling disk extensions.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
The articles will expand and shrink virtual disks!

Dynamic disks are now supported in Converter 5.1.

If you need to do any other manipulations, with partitions, the same rules apply to OS Partitions, as to physical computers, there is no difference.

You will need a partition manager which handles Dynamic Disks, which there are few.
itniflAuthor Commented:
Okey, so you are saying that I can use  VMware vCenter Converter Standalone 5.1 to clone a vm to another and then shrink the thick provisioned disks in the process?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
That is correct.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.