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 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.
If your VM is running on VMware vSphere and you have a NFS LUN with enough free space then one way to reclaim your space is to Storage vMotion the VM to NFS storage and back. Once done the zero'd out data has been reclaimed. No need to shut down the VM.  
 
If this is not for you, then do read on.


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

edits