Solved

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

Posted on 2014-09-25
8
306 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
[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
  • 5
  • 3
8 Comments
 
LVL 58

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 58

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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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 58

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

Put Machine Learning to Work--Protect Your Clients

Machine learning means Smarter Cybersecurity™ Solutions.
As technology continues to advance, managing and analyzing massive data sets just can’t be accomplished by humans alone. It requires huge amounts of memory and storage, as well as high-speed processing of the cloud.

Question has a verified solution.

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

Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
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…
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 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…

623 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