![]() ![]() Vmware-mount G: "D:\VirtualMachines\Win2008\Win2008.vmdk" This can be achieved using the VMware DiskMount Tool which is available for download from Once installed, a virtual disk may be mounted using a command similar to the following: To do this, the disk must be mounted with a drive letter on the Windows host. If snapshots exist, they should be removed prior to performing the shrink operation.Īssuming the virtual disk to be shrunk is a "growable" disk and is on a Windows host, the first step is to prepare the virtual disk for shrinking. A further restriction is that there must be no snapshots of the virtual disk. Before a pre-allocated disk can be shrunk it must first be converted using the steps outlined previously in this chapter. Only growable virtual disks may be shrunk. The amount by which a virtual disk file can be reduced depends entirely on the amount of unallocated space available and cannot be specified by the user. When more disk space is needed by a guest, VMware will automatically increase the size of the virtual disk file accordingly, until the maximum specified size of the virtual disk is reached. The process reduces the amount of space the virtual disk uses on the host, but does not change the size of the disk as far as the guest operating systems which use the disk are concerned. Shrinking a virtual disk involves the reduction in size of a virtual disk image file by discarding unallocated space in the virtual disk. Vmware-vdiskmanager -c -t 0 -s 100GB -a buslogic NewDisk.vmdk ![]()
0 Comments
Leave a Reply. |