Shrink guest on hosted platform: Difference between revisions

m
Line 55: Line 55:
Then run the "sync; sleep 1; sync" from above and remove the zero.fill files.
Then run the "sync; sleep 1; sync" from above and remove the zero.fill files.


If this is a vSphere VM you can then migrate the VM to NFS storage and back and the zero'd out data has been reclaimed.
If your VM is running on vSphere and you have a NFS LUN then one way to reclaim your space is to storage VMOTION the VM to NFS storage and back and the zero'd out data has been reclaimed. No need to shut down the VM. If this is not for you, then read on.


==== Zero out unused space on a Windows VM ====
==== Zero out unused space on a Windows VM ====
1,274

edits