Solved

Unable to add a physical disk to a virtual machine in Hyper-V

Posted on 2011-09-15
6
2,423 Views
Last Modified: 2014-07-28
We are trying to add a Physical Drive to a virtual machine in Hyper -V. The VM can see the drive when it is running.  The drive set as offline in disk management, But when we shut down the VM and try to add the physical drive in Hyper-V when the physical disk option is grayed out.
We had this drive setup as a Physical drive before but became disconnected when we deleted old snapshots of the server. The virtual machine now reads the disk as an IDE drive is there anyway to get this back to a physical drive?
0
Comment
Question by:NWI2007
  • 2
6 Comments
 
LVL 9

Expert Comment

by:dj0rbit
ID: 36544975
0
 

Author Comment

by:NWI2007
ID: 36545188
To clarify a little bit. We had pass through drive set up on this Virtual machine using iSCSI. We set it up as a SCSI drive in the VM. We retired a snapshot and when we restarted the VM the SCSI pass through drive was missing from settings. The Virtual machine still shows the drive we created but it is using the ide controler. We've offlined the drive and tried to re add it but it's not allowing us to add a SCSI drive.
0
 
LVL 9

Accepted Solution

by:
Lester_Clayton earned 500 total points
ID: 36545662
It would be faster to actually add the iSCSI disk in the VM itself, and completely bypassing Hyper-V's pass-through disk.  You're removing a layer of complexity and improving performance.

If this is not possible (guest OS does not support iSCSI), then read on.

Hyper-V cannot operate snapshots on Virtual Machines with Pass-through disks.  In fact, it shouldn't have even allowed you to add the virtual disk in the first place with a snapshot in place, nor should it have allowed you to create a snapshot with a pass-through disk.

Check the following:

Can you see the iSCSI Disk in Storage Manager on the Host?
Is it marked as offline?  Disks are always offline until the Host starts the VM, and then it will mark it online when it presents it to the guest.
Try to add the offline physical disk to the VM.
0
 

Author Comment

by:NWI2007
ID: 38452539
We gave up on the pass through drive and built a physical location for our software.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

707 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

17 Experts available now in Live!

Get 1:1 Help Now