Shrink guest on hosted platform: Difference between revisions

Added an example of the shrinking process in progress and listing the RDP side effect that I am seeing here.
m (and for Fusion)
(Added an example of the shrinking process in progress and listing the RDP side effect that I am seeing here.)
Line 149: Line 149:
Where "/" is the mount point of the partition that you want to shrink.
Where "/" is the mount point of the partition that you want to shrink.


On Windows in order to use this run:
On Windows in order to use this run (as administrator):


  C:\Program Files\VMware\VMware Tools>VMwareToolboxCmd.exe disk shrink <location>
  C:\Program Files\VMware\VMware Tools>VMwareToolboxCmd.exe disk shrink <location>


where <location> is the drive you want to shrink
where <location> is the drive you want to shrink
For example:
C:\Program Files\VMware\VMware Tools>VMwareToolboxCmd.exe disk shrink c:\
Please disregard any warnings about disk space for the duration of shrink process.
Progress: 62 [=======>  ]
The progress you see here is VMware Tools blanking out the unused space.
At 99% it will popup the "Shrinking Disk" progress dialog at the host that takes care of the actual shrinking process.
If you are logged in via remote desktop then do expect to loose the connection for a bit while the actual shrinking is taking place.


On OS X / macOS the command to use is:
On OS X / macOS the command to use is:
1,274

edits