VMWare ESX: Virtual Hard Disk FULL
28 09 2008I am working to prepare my virtual machine to move it from test network to production. Before bringing this virtual machine to production I wanted to run the latest updates and during the process my virtual hard disk went full ;-(. I sized the vm with 6GB of disk space and yes I run into disk space problem.
VMWare ESX allows you to extend the virtual disk size on a running virtual machine. How to extend the virtual disk size? Right click the virtual machine in the VI cleint; choose settings and go to “Hard Disk 1″ and type new disk size. Click OK.
Example of my new Disk Configuration in “Disk Management”. To extend the virtual disk we need to go to diskpart and extent the volume.
I opened command prompt and opened diskpart; selected the volume and run extend.
The volume you selected may not be extended.
Please select another volume and try again.
My virtual hard disk was full and I was not able to extend my basic disk with the additional 2GB I added to this configuration.
Thanks to Kalpesh Prajapati post I was able to find a solution to my problem.
Follow these steps to extend your virtual machine basic hard disk:
- Shutdown the virtual machine
- Extend the virtual disk size
- Add the harddisk to another virtual machine and start it up (second virtual machine)
- Open command prompt and start diskpart.exe
- list volumes and select the volume with the disk problem
- extend the disk
Make sure the volume has a drive letter assigned otherwise same warning will be returned. Virtual machine was started again without any problems and two additional gigs of disk space.
Links:
- Arne Fokkema posted another way how to perfom these actions on a basic disk. It should be easier if you download the additional ExtPart.exe tool from Dell. Extend the OS disk the easy way (ExtPart.exe)

Excellent article, the limitation with this is system partition/drive : we can not use diskpart in this case; I saw alot of articles, and I found one in http://www.ntsysv.com with a video which was very helpful.
thank you again, I’ll be back for further reading.