Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

I can't create new or expand existing VHD in Hyper-V

Posted on 2014-09-25
8
Medium Priority
?
326 Views
Last Modified: 2014-12-06
Hi!

I've been trying to add a new VHD to an existing VM but am experiencing problems. when I try to add the new disk the Hyper-V manager hangs in the creating new disk step. I've then tried to expand an existing disk and then suffers a hang when the Hyper-V manager is discovering the current disk I want to expand. I've made sure there is enough free space available where I want to create the VHD. I've also tried this using a different managing machine and the 5nine Hyper-V manager but am experiencing similar problems.

The VM who's disks I'm trying to modify is a SBS 2011 and is the only DC and DNS on the network. The Hyper-V machine is a Server 2012 Core.

Any suggestions on what might be wrong?

Regards
Alex
0
Comment
Question by:joebilek
  • 5
  • 3
8 Comments
 
LVL 60

Expert Comment

by:Cliff Galiher
ID: 40345721
Are you sure it is hanging? If the VHD being created or expanded is static. The system actually writes every sector at creation or expansion time. That can take quite awhile. Patience...
0
 
LVL 1

Author Comment

by:joebilek
ID: 40345832
Considering it's a server in active production the most I have given it is about 60 minutes for creating a 50 GB disk. What would be a reasonable amount of time to wait?

Having created disks in other Hyper-V environments I'm not used to this step taking more than a few minutes.
0
 
LVL 60

Expert Comment

by:Cliff Galiher
ID: 40345844
It is all about I/O. Trying to expand 50GB on 7.2k disks in RAID5 while other VMs are running on the same spindles? 60 minutes is a pipe-dream. In all but test labs with dynamically expanding disks is "a few minutes" realistic. So how long it should take...I can't say. I don't know the server or workloads. But I can guess by your response that your expectations may be a bit... aggressive.
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
LVL 1

Author Comment

by:joebilek
ID: 40346005
I'll try a nightly update giving it plenty of time to create a new 50 GB disk and will return here if there are further problems.

Please note though that I can see the file having been created at full size on the Hyper-V Core machine after just a minute or so.
0
 
LVL 60

Expert Comment

by:Cliff Galiher
ID: 40346050
That's just an NTFS journal entry. It takes almost no time. But since the virtual disk is static, the system still has to write the VHD information to the actual areas allocated, and that takes much longer.

Think of it like renting a storage unit. The space is yours the moment you sign the contract. And you can look at the contract and see the size of the space you rented. But if you are going to store stuff, you have to go to the unit and install shelving. The shelves will start empty, but setting up shelves still takes time.

The VHD may not hold data, but it still has a structure and format that mist be written, block by block.
0
 
LVL 1

Author Comment

by:joebilek
ID: 40349377
I'll try it out and will let you know if giving it more time will solve it.
0
 
LVL 1

Accepted Solution

by:
joebilek earned 0 total points
ID: 40475423
Created a new dynamic vhd instead which was done in seconds and used it instead.
0
 
LVL 1

Author Closing Comment

by:joebilek
ID: 40484404
Solved our problem
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A procedure for exporting installed hotfix details of remote computers using powershell
In previous parts of this Nano Server deployment series, we learned how to create, deploy and configure Nano Server as a Hyper-V host. In this part, we will look for a clustering option. We will create a Hyper-V cluster of 3 Nano Server host nodes w…
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…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
Suggested Courses

876 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