VMM 2008 requires a VM to Shut Down in order to expand Virtual Hard Disk Size

Hi Folk,

Quick Simple queries,, want to expand virtual hard disk size of a VM from SCVMM 2008 having hyper-V 2008 Servers.

though no snapshot is currently running but the hard drive tab under IDE devices are grayed.  actually within a Guest, the drive to be extended is not C: or boot drive but it is primary drive(i.e, D Drive) and have no other partitions on that same disk.

1-)Is it grayed out from SCVMM console is due to machine is currently up and live and i need to turn it off before expanding virtual hard disk size of that VM?

as in that case, outage window would be require. which we cant afford before christmas break expires.

2-)Another connected question is, how expanding the virtual hard drive from SCVMM will appear under guest's Disk management?  offline unallocated space? and i have to extend relevant drive to merge with this new unallocated drive?

3-)Last question is, will the newly added space with unallocated arena will come contiguous to that D Drive? what do i need to do if it dint come contiguous ? can i expand that D Drive than knowing it is primary partition?

Thanks, Hussein
Who is Participating?
IvanConnect With a Mentor System EngineerCommented:
Hi there,

for you questions, it goes like this..

1. You cant expand VM disk (vhd) while VM is running, and that is why it is grayed out. You have to turn of VM, expand disk, which should take just a few sec, and then turn on VM.
2. That is correct. Space will appear as unallocated space, so you just right click on D drive, and choose expand. Just like in any windows os.
3. Space will come as contiguous to the drive you have just expanded, in you case, D drive. It always come as that, so you can expand. There is no way it will come to some other drive. Possible problem is if you have more partitions on that vhd. In that case unallocated space comes to the end of drive. So if you have 1vhd, and you crate partitions D and E, and you expand vhd, that space will appear after E partition. In that case you have to shrink E and give that  shrinked space to D and then expand E with space you gain from expanding vhd.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
1. You will need to OFFLINE the VM, and Expand the VHD.

2. When restarting the VM, you will need to EXTEND the OS Partition into the Unallocated space. (Use Disk Management Extend - this can be done whilst the VM is ONLINE). Right Click the Partition, and Click Extend.

3. Yes, it will be contiguous to that D Drive.
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.