To rename the disk and locate it in a different directory, use: Vmware-vdiskmanager -n myDisk.vmdk myNewDisk.vmdk To rename a virtual disk, first remove it from any virtual machine that contains the disk (choose VM > Settings >, then click Remove). This increases the maximum capacity of the virtual disk to 40GB.
To expand the size of a virtual disk, use a command like the following: The virtual disk space is no longer preallocated, and the virtual disk manager reclaims some disk space in the virtual disk so it is only as large as the data contained within it.Įxpand the Size of an Existing Virtual Disk This converts the disk from its original preallocated type to a growable virtual disk consisting of a single virtual disk file. Vmware-vdiskmanager -r sourceDisk.vmdk -t 0 targetDisk.vmdk To convert a virtual disk from preallocated to growable, use a command like the following: The virtual disk is contained in a single. This creates a 40GB IDE virtual disk named myDisk.vmdk. Vmware-vdiskmanager -c -t 0 -s 40GB -a ide myDisk.vmdk To create a new virtual disk, use a command like the following: You run the virtual disk manager from a command prompt.
The following examples illustrate how to use the virtual disk manager. Examples Using the VMware Virtual Disk Manager