One of my test servers (Windows Server 2003 R2) runs as VM within VMWare. When I looked at the remaining disk space, I saw that I had just 3GB left (the total allocated space for the VM was 10GB).
I decided to expand the VM file, so I went to the command prompt, switched to the VMWare directory and issued the following command.
vmware-vdiskmanager -x 20GB “C:\Virtual Machines\WS2K3\Windows Server 2003 Standard Edition.vmdk”
The command completed successfully and after I rebooted to Windows Server I saw an extra 10GB of unallocated space. I had to expand the system partition to that space so I went and downloaded the GParted LiveCD.
I mounted the ISO file to the VM and configured it to boot from it. When the GUI appeared, I selected the system partition and I dragged it to expand to the unallocated space.
That was it. A couple of reboots later and the VM disk has an extra 10GB of space. Not bad…






Add A Comment