Inicio > Uncategorized, VmWare > How To Shrink VMware Virtual Disk Files (.vmdk)

How To Shrink VMware Virtual Disk Files (.vmdk)

https://www.howtoforge.com/how-to-shrink-vmware-virtual-disk-files-vmdk

 

I’m using vmware-vdiskmanager with the -k switch to shrink disk files. The -k switch is supported on Windows hosts only, therefore I’m using Windows XP as the host and run VMware Server on it with a Debian VM. I got good shrink results with this constellation.

In a second step I’ve tried to shrink disk files on a Linux host (Ubuntu). vmware-vdiskmanagerdoesn’t support the -k switch on Linux, but I’ve tried the -d switch (defragment) instead and got good results as well, but I’m not guaranteeing that this will work for you as well.

 

Navigate to the directory where the .vmdk files are located, e.g.:
cd C:\Virtual Machines\apache2_mpm_itk_debian_etch

Try to find out where the vmware-vdiskmanager.exe program is located on your Windows system (mine is C:\Programme\VMware\VMware Server\vmware-vdiskmanager.exe), and how your .vmdk file is named (e.g. Other Linux 2.6.x kernel.vmdk). You can then shrink the .vmdk file as follows:

“C:\Programme\VMware\VMware Server\vmware-vdiskmanager.exe” -k “Other Linux 2.6.x kernel.vmdk”

That way I was able to shrink a .vmdk file from ~1.6GB to 1.3GB, and compressed (.zip) from ~430MB to 240MB.

Anuncios
  1. Aún no hay comentarios.
  1. No trackbacks yet.

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s

A %d blogueros les gusta esto: