Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

The virtual disk in question is 400 GB, with an 80 GB C partition and a 320 GB D partition.

If the virtual disk is resized to 500 GB, is it possible to extend the C partition into the new space?

share|improve this question
add comment

3 Answers

I think you need a 3rd party tool since even though you have enlarged the VMDK, the unallocated space is still at the end of the disk, which is not adjacent to C. I think you could use Partition Assistant, and this article could help.

share|improve this answer
    
Fair point - what ever happened to one VMDK, one partition? –  Simon Catlin Aug 24 '12 at 22:20
add comment

Yes. No third party software required. I am assuming by virtual disk you mean that this is a virtual machine, and I'm also assuming you are talking about VMware, not Hyper-V. If my assumptions are correct, then...:

  1. Shut down the server that you need to extend the C: drive on
  2. Take a backup of VM, or as a minimum, secure a copy of the VMDKs
  3. Extend the underlying VMDK
  4. Using a gash Win2k3 server, mount the VMDK containing the to-be-expanded C: drive
  5. Use DISKPART to extend the volume (see MS KB325590)
  6. Shutdown the gash VM, un-mount the VMDK
  7. Start up original VM and voila, bigger C: drive
share|improve this answer
1  
"gash Win2k3 server"? Where I come from, we don't speak like that in front of ladies or children, whatever we think of the OS. –  dunxd Aug 22 '12 at 21:43
    
Very good!! ;-) –  Simon Catlin Aug 26 '12 at 21:29
    
But seriously, I don't understand what you mean by the term. –  dunxd Sep 4 '12 at 9:50
add comment

Yes it is, but you will need to use 3rd party software GParted normally does the trick for me.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.