VMWare vmdk/virtual disk management

I have the following situation:  I set up a server in vmware with disks made to a vendor's specifications.  They are disk1 (C: drive) 85GB,
disk2 (D: Drive) 100GB and disk3 (Page file drive) of 35 GB.  The vendor failed to install their software on D: and put it on C: instead, which is now running out of space and cannot be extended any further.  All three disks (vmdk files) reside in the same datastore with the same pathing.  Here is my question:  Can I delete the disk 2 vmdk and then remove the D: drive in the Windows Server OS and take that space to expand disk1and it's vmdk file and then extend the C: partition in the server OS?  I know I can delete the vmdk and disk in vmware but will that then become available for the expansion as I described?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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:
Can I delete the disk 2 vmdk and then remove the D: drive in the Windows Server OS

Yes, you can do this, and this is also hot plug, so you Right Click the VM, Select Edit Settings, and then select the Disk, and Select Delete from Disk.This will remove the actual 100GB VMDK file from the datastore, and free up 100GB of space.

The next part, also, Edit VM Settings, select the disk, increase the VMDK by the desired amount. This increases the disk size (vmdk file), but it does not increase the OS Partition.

Start Disk Management in the OS, click the C: Volume, and Click Expand.

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
Eric LentzCommented:
You can delete disk 2 (by editing the VM properties) then extend disk 1 to the desired size (also by editing the VM properties).  Then you'll boot the OS and extend the C: drive as in:


If you're running Windows Server 2003 or earlier, you'll need to use a different method to extend the C: partition (such as a Linux LiveCD with GPartEd).
habs1994Author Commented:
Thanks, but will this change the max size provisioned in vmware for disk1?  Currently all disks are using the max amount of space provisioned, so if I delete the vmdk will this automatically increase the provisioned max size for disk 1 by 100 GB?
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

Eric LentzCommented:
Not automatically.  You'll need to edit the properties of disk 1 to give it the 100Gb.
habs1994Author Commented:
OK...let me clarify to be sure.  I am familiar with adding provisioned size (up to the max) to a virtual disk and extending partitions in the OS.  Here is where I am not so sure:  By deleting that 2nd virtual disk and that in turn deleting the vmdk, does that extra space allow the extension of the max size allowed for provisioning in disk 1.  Particularly if disk 1 was already created as 85GB and provioned to that max size?
habs1994Author Commented:
Answered my own question but just trying...Deleted volume from the OS, Removed virtual disk 2 and it's files and, yes the extra space showed up for Disk 1.  Expanded the provisioned size and extended the C: volume in the OS.  Thanks to all who commented.
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

From novice to tech pro — start learning today.