Increasing the size of a VMWare Disk

| 1 Comment

I am currently playing with SP1 of VSTS 2008 and TFS 2008 in a Windows Server 2008 VMWare instance I have.   Whenever I created this particular instance I kept the disk space at 16Gb which is normally plenty for these play instances but after installing the service pack of VSTS my disk space was getting low.

I thought I would try extending the size of my virtual disk and it was suprising easy.

  1. First, I had to take a fill clone my image to remove the snapshot history.
  2. The on the new clone's disk I executed the following command:
    "C:\Program Files (x86)\VMware\VMware Workstation\vmware-vdiskmanager.exe" -x 32Gb win2008-000004-cl1.vmdk
  3. This extended the disk size, now I need to extend the size of the partition.  Boot up the virtual Windows 2008 server, right click on "My Computer" and select "Manage".  Go To Storage, Disk Management and then right click on the C: partition and select Extend to extend the partition the the size of the remaining disk.

Tada.  No third party tools (like Partition Magic etc) needed.

1 Comment


You use to have to use the VMKFSTOOLS on ESX to expand or shrink a VMFS volume.

e.g. vmkfstools -x 20g ./mydisk.vmdk
would expand the vmdk to 20G then use window tools or partition magic.


Creative Commons License
This blog is licensed under a Creative Commons License.