possible to extend C drive volume?

I am running server 2008 R2 std in vmware (vsphere 5 essential). Currently the C drive is reaching its capacity. And it doesn't allow me to extend the volume. Any possible way to achive it?

Who is Participating?
xcomiiiConnect With a Mentor Commented:
Pete Long has the most simplest instructions in my mind.

For the record: Why in the earth have you created partitions within a VMDK? Since you have sub-partitioned the VMDK in Windows, means that you loose some flexibility and requires you to have downtime on your VM to add more space (since you cannot simply extend disk space in Windows 2008 R2 unless there is free space next to the volume you want to extend.

For the future, I would strongly recommend to add more VMDK's to a VM in case you need more volumes available to a Win VM. In that case you can simply resize the existing VMDK on the VM, and then extend the disk in Server Manager in Win, without any reboot or downtime.
dee_nzConnect With a Mentor Commented:
You can only extend the C drive like this if the free space is directly to the right of the C drive. From your pic it looks like it isnt?
You can use a 3rd party partitioning tool like Paragon Hard Disk Manager to to move/resize the partitions instead. But make sure you take a full backup and run check disk on the drives first!
We solved this issue recently. You need to shutdown the Virtual machine. Add the Virtual machine drive as a an additional drive to another Virtual machine. Then you can add diskspace as per the normal steps. Then remove the drive and re-add it to the original virtual machine. You now have extended said c drive.
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Nagendra Pratap SinghDesktop Applications SpecialistCommented:
Extend the vmdk, create new partition. Move D: stuff on it  using robocoy to retain permissions.

Detach D: from the current area and attach it to the new one.

Delete the D: partition. Now you can extend C:
Paul SolovyovskyConnect With a Mentor Senior IT AdvisorCommented:
If you want to do this non disruptively you can perform a V2V with VMware converter.  As part of the process you can resize any volumes to desired size
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
See my EE Article on how to Extend your virtual disk

HOW TO:  Resize a VMware (VMDK) Virtual Disk
noxchoConnect With a Mentor Global Support CoordinatorCommented:
Copy out the data from the two partitions next to C: drive. Then delete these partitions. Right click on C: - Extend. Select new size.
After that recreate the two deleted partitions and copy the data back. Fast and simple.
Gary CaseRetiredCommented:
This is very simple -- and works the same way in a virtual machine as on a real one.

Since the disk in question is a basic disk, it's very easily done using the free demo version of Boot-It BM.    

First, download the free demo version [http://www.terabyteunlimited.com/bootit-bare-metal.htm ];  and create a bootable CD (or an ISO) using the included MakeDisk utility.

Now boot the VM to Boot-It VM;  choosing CANCEL at the first prompt;  then Okay.

Go to Partition Work.

Highlight the E: partition (the one before the unallocated space);  then click on "Slide", and choose zero free space "Before".

Repeat this for the D: partition (the one after C:) -- again choosing "Slide" with zero free space "Before".

Those two operations will result in your unallocated space being immediately adjacent to the C: partition -- which is what you need.

Now highlight the C: partition and click on ReSize -- choose the max size and let it complete.

Done :-)

Note:   The two "Slide" operations will take a while -- all of the data in those partitions has to be moved.    The final ReSize will be VERY quick (a couple seconds).
Pete LongTechnical ConsultantCommented:
noxchoGlobal Support CoordinatorCommented:
Actually he has a free space block of 40GB if you look on his screen shot and it seems to me that his questions was - how to allocate this space to C: drive.
okamonAuthor Commented:
hi xcomiii, do you mean I should add more virtual hard disk instead doing partition on 1 virtual hard disk?
Yes, next time you setup a new VM, it will be easier for your self if you add seperate VMDK's instead of one big VMDK that you divide within the Windows OS. That will save you time and downtime for the VM's.
Lots of good comments from everyone.. Not sure if we can all agree but I'll try and summarize the best way to fix this!

take a backup of the entire disk (all partitions) before doing anything
run check disk /f on each partition
add another vmdk to this machine
copy the data from the D and E partitions to the new vmdk
delete the D and E partitions
this means that there is now room to resize C
but because C is the system drive this cant be done from within Windows
you will need to boot the VM from an ISO of another tool that you can use to resize the partition.
There are lots of different tools that you can use to to this. Disk part, gparted, paragon hard disk manager etc etc, some of these tools are free some are not.
If you’re comfortable with the command line – try disk part. If you’d prefer a GUI tool – try Paragon HDM

Good luck!
One more thing,
Set yourself up a test VM (with the same partition setup) to practice this on before you do this on your production server.
And again - make sure your backups are good!
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.

All Courses

From novice to tech pro — start learning today.