I need to expand the C drive of a virtual Windows 2003 SP2 server, vmware 5.5

I have a virtual Windows 2003 server. If you look at in in VMware the drives are 400GB and 409GB respectively, but my C drive was configured with only 12GB. I see a D drive with 124.54GB and 263.37GB of Unallocated space. The C drive continues to hit 95% and I have to do a disk clean up regularly. It would be so nice if I could just grab 10 or 20 of the unallocated GBs and expand the C drive. I have not extended a drive on Windows 2003 in years though and want to be very careful. Is it even possible if it is the same drive as the OS? I recall using a DISKPART command years ago in a situation similar to this. Is that one of my options. I attached a screenshot of the current drive configuration
expand2003.PNG
LVL 1
Thor2923Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
To expand C: volume, the unallocated space needs to be adjacent to the Partition.

Creating partitions on a single disk, is old fashioned and does not really have any place in virtual machines.

You've got a few options use a Third Party Partition Manager to re-arrange the partitions on your disk, or re-create and add a new disk (second disk), and move the contents of D: to this new disk, and then re-assign the drive letter, delete the D: volume, and expand the C: drive.

Please see my EE Article for software needed

HOW TO:  Resize a VMware (VMDK) Virtual Disk

or you may want to consider a re-design of the VM and use VMware Converter, and use a V2V

HOW TO:  P2V, V2V for FREE - VMware vCenter Converter Standalone 6.1

HOW TO: FAQ VMware P2V Troubleshooting

and to end, you could use Diskpart, by connecting the disk of this VM to another Helper VM..... but it's a lot of fiddling..
2

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Peter HutchisonSenior Network Systems SpecialistCommented:
I would create a new VMDK disk and move the contents of D: drive to the new drive (turn off any services using D: drive first). Then change the drive letter from the old disk to the new disk. Then you can remove the old D: drive volume and thus allow you to expand C: drive to fill the drive. Restart any services.
0
Thor2923Author Commented:
can you recommend a third party software to allow me to rearrange my partitions? I think that is the way I will need to go
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Seth SimmonsSr. Systems AdministratorCommented:
create a new virtual disk (or create a new partition after D in the unallocated space), change your page file to the new drive, then delete D

then you can expand C using extpart since you can't use diskpart to extend the system partition in windows 2003

using a 3rd party utility will likely cause an interruption anyway since your page file is there
0
David Johnson, CD, MVPOwnerCommented:
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Software recommended is listed in my EE Article, otherwise download https://gparted.org/livecd.php

But you've got a lot of work ahead of you....

and make sure you have a FULL BACKUP before you start with mangling your partitions!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.