Shrink Allocated VMDK space- Vsphere 4- ESX 4.0 -VM's running 64 bit Linux OS - LVM Volumes- Thick Disks
Posted on 2011-03-25
Hi, most of the answers I've seen to my question involve thin disks and running vmkfs-tools to zero out space and then convert to thin disks while migrating. This won't work for me. I need to actually shrink the allocated size of the vmdk and keep the disks as thick disks. We have a number of Redhat Linux 64 bit VM's that were overallocated as thick disks. They are running LVM2 on Fiber Channel Datastores (san). Our Virtual environment runs on ESX 4.0 and Vsphere 4.0.
Things I've tried.
1.VMWare Convertor via vmotion datastore migration. Results Convertor doesn't give the option to change the disks size, it only sees them as 2MB disks. (Maybe because of LVM?)
2. Platespin -Doesn't work as they are 64 BIT linux servers and PlateSpin lacks driver support.
I'm not a linux guru, so if anyone has step by step on how to reduce the size of the VMDK's by shrinking the "hard disk" in Linux, it would be helpful.