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
hussein_ahmedAsked:
Who is Participating?
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:
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.
0
IvanSystem 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.

Regards,
Ivan.
0

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
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
Virtualization

From novice to tech pro — start learning today.