• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2269
  • Last Modified:

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?

hdd
0
okamon
Asked:
okamon
  • 3
  • 2
  • 2
  • +7
4 Solutions
 
dee_nzCommented:
Hi,
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!
0
 
alienvoiceCommented:
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.
0
 
Nagendra Pratap SinghCommented:
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:
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
Paul SolovyovskyCommented:
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
0
 
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
0
 
noxchoCommented:
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.
0
 
garycaseCommented:
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).
0
 
Pete LongConsultantCommented:
0
 
xcomiiiCommented:
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.
0
 
noxchoCommented:
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.
0
 
okamonAuthor Commented:
hi xcomiii, do you mean I should add more virtual hard disk instead doing partition on 1 virtual hard disk?
0
 
xcomiiiCommented:
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.
0
 
dee_nzCommented:
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!
0
 
dee_nzCommented:
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!
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 3
  • 2
  • 2
  • +7
Tackle projects and never again get stuck behind a technical roadblock.
Join Now