How to Expand virtual disk in Vmware Server,Workstation, GSX and ESX.

To expand / resize a virtual disk on a virtual machine (e.g C: drive) you need to use the
vmware-vdiskmanager utility in Windows or in linux and 3rd party software like partition magic.

 To expand / resize a virtual disk on a virtual machine (e.g C: drive) you need to use the
vmware-vdiskmanager utility in Windows or in linux and 3rd party software like partition magic.

To use vmware-vdiskmanager command:

Command:
vmware-vdiskmanager -x 40GB myDisk.vmdk

Step 1:
Open the shell command or the Dos command prompt then go to the location of the vmware-vdiskmanager utility.

Directory Location:

cd usr/bin (Llocation in linux Red Hat andCentos)

cd C:Program FilesVMwareVMware server (location in windows systems)

Step 2:
To expand the disk type (Linux systems):

Linux systems:

vmware-vdiskmanager -x 12GB “/home/ftp1/2003 Enterprise Edition /Windows Server 2003.vmdk”

Windows Systems:

vmware-vdiskmanager -x 12GB “c:virtual machinesWindows Server 2003 Enterprise Edition-cl2.vmdk”

Step 3:

After the operation completed , log on to the server and use 3rd party software to resize the drive.

Note: you need to type the size of the disk after you add the extra space to it.
For example if the C: drive is 8GB and you want to add 4GB you need to type –X12GB and not 4GB.

For more information go to:
http://www.vmware.com/support/ws45/doc/disks_vdiskmanager_eg_ws.html


Posted

in

,

by