Solved

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

Posted on 2014-10-15
3
644 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 88

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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.
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…

863 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

25 Experts available now in Live!

Get 1:1 Help Now