Solved

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

Posted on 2011-09-15
6
2,620 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Every once-in-a-while, when you try to add a XenServer host to the System Center Virtual Machine Manager console, it will generate a certificate error, and the XenServer host will not be added to Virtual Machine Manager: If you are experiencing t…
More or less everybody in the IT market understands the basics of Networking, however when we start talking about Storage Networks, things get a bit dizzier, and this is where I would like to help.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

786 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