Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
VMware Tools shrink option on ESX hosted virtual machines
Details
sdelete.exe utility.The Prepare to Shrink option is available in ESX 3.0.2 and later versions.
The Prepare to Shrink option is disabled on ESX/ESXi 4.x when there are one or more Thin disks attached to the virtual machine. On an ESX/ESXi Thin disk, this operation fills unallocated blocks with zeros, causing the virtual disk to inflate to its maximum size.
Solution
Shrinking a disk is an I/O intensive operation and should only be performed during off hours, if possible.
There are two stages to the shrink operation.
-
Prepare to shrink
-
Zeroing the unused sections of the virtual disk
A progress bar indicates the progress of the preparation stage. There is, however, no progress bar for the actual shrink process. When you click Shrink, you immediately get a message box stating that the process is complete. The zeroing may take some time.
Shrinking the virtual disk
- Open the VMware Tools Control Panel/Toolbox.
- In Windows, double-click the VMware Tools icon in the system tray or go to Start > Control Panel > VMware Tools.
- In Linux:
- Open a command prompt. For more information, see Opening a command or shell prompt (1003892).
- Run this command:
vmware-toolbox
- Click the Shrink tab.
- Ensure that your boot drive is selected.
- Click Prepare to Shrink and then follow the prompts.
Tags
This Article Replaces
Update History
Request a Product Feature
To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.
Actions
KB:
- Updated:
- Categories:
- Product Family:
- Product(s):
- Product Version(s):

