Shrink guest on hosted platform: Difference between revisions
Shrink guest on hosted platform (view source)
Revision as of 13:26, 25 February 2018
, 25 February 2018→Zero out a part of your disk
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 | 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 ==== |