Solved

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

Posted on 2014-10-15
3
695 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 58

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

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

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

Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Optimized for private cloud infrastructures and datacenters, Nano Server is minimalistic, yet super-efficient, OS for services such as Hyper-V and Hyper-V cluster. Learn how you can easily deploy Nano Server and unlock its power!
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

710 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