Solved

Hyper-V, shouldn't a dynamic disk grow dynamically?

Posted on 2014-10-15
3
619 Views
Last Modified: 2014-11-12
The host is "Windows Server 2012 Standard" with Hyper-V role enabled.
I created a 50GB "dynamic VHDx" then installed Windows 2003 Server on it for testing. There is only one partition C: drive. On this partition, there is 40GB+ available space after the OS was installed.
Now I connected a USB hard drive to host, made this USB hard drive offline, then attached this USB hard drive to this VM.
Then, I am trying to copy a 70GB file from the USB hard drive to C: drive within this VM, I got an error message saying that I do not have enough space.

So I shut down the VM, "Expanded" the VHDx, Tried to increase C: drive to take the additional space, failed. I would have to create a separate partition for this additional space.

My questions are
- Since I am using Dynamic VHDx, I expect it will grow dynamically to accept a large file when there is not enough space. But it looks like I am wrong. Why?
- I guess I cannot increase C: partition because it holds OS but I should be able to increase a data partition. Is this correct?

Thanks!
0
Comment
Question by:techcity
3 Comments
 
LVL 56

Accepted Solution

by:
Cliff Galiher earned 300 total points
ID: 40381990
When you specify a size on a dynamic disk, you are specifying a maximum. So a 50GB disk expand up to 50, but not larger. Which means copying a 70GB file will clearly fail. As far as the partition, dynamic disks don't change the underlying limits of the guest OS. If you couldn't expand a partition because of a second partition in a physical install with physical disks, a dynamic disk doesn't suddenly change that rule. The guest doesn't know or see the disk as virtual. It treats it no differently than it would a physical disk. 2003 only allows expanding the system partition under very specific circumstances, so you are likely simply hitting that block. Nothing to do with the fact that your disk is dynamically expanding.
0
 
LVL 87

Assisted Solution

by:rindi
rindi earned 200 total points
ID: 40382121
If you increased the size of the virtual disk you will have to boot the VM using a 3rd party partitioning tool, like GParted, in order to also extend the VM's partition. System partitions where the OS is on can't be extended from within the OS directly, only data partitions can be extended that way.

This was changed with newer OS's, like 2008 server or Vista, there you can also extend the system partition directly from within diskmanagement.
0
 
LVL 1

Author Closing Comment

by:techcity
ID: 40385211
Thanks very much!
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now