War On Errors Sign In
Article ID: 31413
Last Reviewed: 4/15/2010 5:13:17 AM

Use of diskpart to expand a non system drive in vmware esx

Problem

The virtual machine running on ESX Server has a secondary disk drive (Non System drive) that is full. This drive requiring to get enlarged can be extended using DISKPART command that comes already installed on Microsoft Windows 2003 server if there is additional space on the ESX server storage.


Resolution

1. Shutdown Virtual computer from ESX infrastructure Client.
2. Right click on Virtual Machine and click on EDIT Settings.
3. Click on the Hard Disk you wish to modify and increase its size in Provisioned Size as seen in the next screenshot.



4. Turn On Virtual Machine.
5. Right click on Computer and select Manage.
6. On the disk Manager verify that new adds space shows in the disk drive as Unallocated.
7. Opened Command prompt and type the command DISKPART and click Enter.
8. Type command LIST VOLUME to display all available volumes.
9. Type command SELECT VOLUME () selecting the number of the desired drive.
10. Type command  EXTEND. You will receive a confirmation that extend completed successfully.
11. Type Exit.

The hard drive has been successfully expanded.

Keywords:
secondary disk drive ESX server storage Microsoft Windows 2003 server expand non system drive resize virtual drive DISKPART resize volume esx