how to expand system volume C: on server 2003 within ESXi configuration

Posted on 2011-09-11
Medium Priority
Last Modified: 2012-05-12
hi all

we have a windows server 2003 standard edition with a C: volume that needs to be extended and i was wondering what would be the best solution to extend the space on this volume?

we cannot do a snapshot then edit the HDD info as that option is grayed out once a snapshot is created..

would a clone be a better solution?

ive also heard that theres complication in doing this because it is a system drive
also if theres a page file on it that will cause problems as well

we are running ESXi v 4.1.0 build 258902
current volume size is 60gig
Basic - NTFS

if anymore details are required please let me know.....

does anybody have any experience in this??

Question by:BakerSyd
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 42

Accepted Solution

paulsolov earned 2000 total points
ID: 36520868
After doing this more than a hundred times the easiest way is use VMWare converter and perform a V2V.  In the process you can resize the system volution to any size you want.  

This is Windows 2003 OS limitation and not VMWare
LVL 16

Expert Comment

by:Danny McDaniel
ID: 36520891
make sure you have a backup, then...

shutdown the VM, edit its settings and add the extra drive space (if you have already extended the drive)
with the VM shut down, use another "helper" 2003 server VM and edit the helper VM's configuration
- add a new hard drive to this helper VM (you can do this while it is running), choose an existing disk, browse to the folder of the VM that needs the drive extended and select that .vmdk and click ok
- log into the helper VM and open a command prompt and then run diskpart in that command window
- type 'list disk' hit enter and you should see the added disk and it will have free space.  type 'select disk 1' or whatever this added disk's number is
- type 'list volume' hit enter and the last one should be the C: drive on the added disk, type 'select volume 3' or whatever the added volume number is
- type 'extend' and hit enter, it should confirm that the volume was extended using all of the free space available and then you can just type 'exit' and hit enter.  do another exit to close the command window

edit settings again on the helper VM and remove the added disk making sure that you DON"T select to delete the file from disk.  Ok out of it and then power up the first VM and login to make sure that everything's running ok.

I do this once or twice a month without any issues, but make sure you have a good backup or make a clone of the VM first; just in case.
LVL 14

Expert Comment

ID: 36520905
Wow danm66 that is a great idea. Never though of that I too have used VMware converter this makes so much since.
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 13

Expert Comment

ID: 36520917

You can expand disk size using VMtoosl first, but make sure you do not have snapshot of that guest first, http://vmprofessional.com/index.php?content=2k3resize

After that you can use diskpart to expand Widnows OS disk size (on Data volume only) or use "Extend Volume" command if you are using Windows 2008 and 7.

If you are expanding system volume (volume that you install Windows) then try to use this list of tools, http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004071

This site will teach you to use variety of tools to extend the volume after resizing it., http://vsphere-land.com/tips-tricks/re-sizing-virtual-disks

Expert Comment

by:Amitabh Singh
ID: 36521232

The best and easiest way for extend disk C: is use dell ExtPart.exe utility , power off Windows 2003 VM > go to Virtual metcien properties and expand the hard disk > wait for disk resizing to be done and then start VM again ,
Download ExtPart.exe from Dell website and place it in VM go to command prompt and expand the disk ,
Example : i am expanding my C: drive with 2 GB more space
ExtPart.exe C: 2048
and you done check your disk space via disk management !

Download ExtPart.exe Link


Step by step guide

let me know in case of any problem
LVL 123
ID: 36521852
How to Resize a Partition after Disk Expansion

To re-size a disk, select the Virtual Machine, Select Edit Settings, Highlight the Virtual Hard Disk, and select Edit
there is an option to increase size. This only changes the physical size of the virtual disk, it does not grow the partition on the disk. See below.

Before making any changes to the partition structure of the disk, ensure you have a full backup, not a snapshot.

1. Resize partition with Gparted Live CDROM

i. Download Gparted Live CDROM (http://gparted.sourceforge.net/livecd.php).

ii. Upload the cdrom iso to the vSphere ESX/ESXi datastore.

iii. Mount the cdrom or iso on the virtual machine.

iv. Shutdown and restart the virtual machine booting from the cdrom.

v. Select Resize partition.

Here is a Tutorial Walkthorugh of how to resize a partition with a GParted Live CDROM



2. Using DISKPART.exe

(the system disk cannot be re-sized within the virtual machine, but other disks can be resized, eg. D: E: etc

i. Shutdown the virtual machine.
ii. Remove disks from virtual machine (but do not delete them).
iii. Add the disks to another virtual machine.
iv. Start up virtual machine.
v. Use Diskpart in the OS to extend disks.

see here for details on Diskpart usage


3.Use VMware Converter Standalone to complete a V2V (virtual to virtual conversion).
there is an option to increase or decrease the size of target disks on the desintation at conversion.

Download VMware vCenter Converter here


VMware vCenter Converter Standalone 4.x Documentation


VMware vCenter Converter Standalone 4.3 User Guide


For the conversion steps, read fellow Expert Bestway's article.


Best Practice Video Guide here


Also the VMware KB here

LVL 56

Expert Comment

ID: 36521908
Questioner should have asked "how to post without reading other comments already in the thread".

Expert Comment

ID: 36521926
if you have space in the datastore, then you can increase the size of the disk in the vm's settings and then use dell extpart to expand the drive in your vm (windows 2003). If the exe if not getting extracted use winzip to extract the file. Once extracted there is a readme file with the appropriate instructions. please reply back for any kind of queries.



Expert Comment

ID: 36521929
one more thing. Reboot the system after the vm settings have been changed. this will allow the windows to detect the unused space.


Author Closing Comment

ID: 36522271
hey all

thanks for all your input, this is very handy for any future issues that i may come across...ill be remembering this thread for sure!

on a quick note, we managed to solve the issue without having to expand the drive..

basically what happened was that backupexec had created a 33gig temp file in a folder called "backup exec AOFO store"
after rebooting the server this huge file was removed automatically...

i missed this file and folder as it was hidden, but my colleague found it.

thanks for your quick replys!


Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question