Shrinking a virtual disk

You cannot shrink a virtual disk in Skytap Cloud. Instead, you must export the VM, edit the virtual disk using VMware vCenter Converter, and import the VM back into Skytap Cloud.

Shrinking a virtual disk is not supported for Power A particular type of CPU that supports AIX and Linux in Skytap Cloud. VMs.

VMware vCenter Converter is a free VMware utility that edits and converts your virtual machine images outside of Skytap Cloud. For more information about VMware vCenter Converter, see the VMware product documentation.

Instructions

To shrink a virtual disk

From the host machine:

  1. Export the VM from Skytap Cloud and download the VM file to your local machine or another VM in Skytap Cloud. For instructions, see Exporting VMs out of Skytap Cloud.
  2. Extract the VM from the compressed file. For Windows, you can use 7zip to do this. For macOS (OS X), you can use 7zX.
  3. Download and install VMware vCenter Converter on your local machine or the other VM you used in Step 1.

    Download VMware vCenter Converter at https://www.vmware.com/products/converter.html.

  4. Open VMware vCenter Converter.
  5. Click Convert Machine.
  6. Under Source Type, select VMware Workstation or other VMware virtual machine. Choose the location of the VMX file. Click Next.
  7. Under Select destination type, select VMware Workstation or other VMware virtual machine.
  8. Under Select VMware product, select VMware Workstation 11.0.
  9. Enter a name for your VM in the Name field.
  10. Select a destination location for the converted file. Don’t save the image to the same location as the original VMX file. Click Next.
  11. To accept the default options, click Next.
  12. On the Options page, click the Data to Copy section.
  13. Select Select Volumes to Copy as the Data Copy Type.
  14. For each virtual disk, enter the appropriate size in the pull-down menu. Click Next.
  15. On the summary page, verify the settings.
  16. Click Finish to begin the conversion process. Depending on the size of the VM, the conversion process can take more than an hour to complete.
  17. Import the converted VM into Skytap Cloud. For instructions, see Importing VMs and vApps into Skytap Cloud.

If you think you’ll need to shrink a virtual disk later, add a second disk that you can delete, instead of expanding your primary disk.