Can't attached pass-through disk to VM

ManieyaK_
ManieyaK_ used Ask the Experts™
on
I'm trying to create  a VM in Hyper-V using a custom image I've got stored on a USB HDD.  I've gone through the steps that I've done in the past, plugged HDD into Host, then made disk offline.  For some unknown reason the option for Physical hard disk is grayed out.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
MaheshArchitect
Distinguished Expert 2018

Commented:
where the VM is stored

If its stored on USB hdd, I believe that is reason

store VM on server physical hard drive / attached shared storage (iscsi etc) and then try to add pass through HDD
ManieyaK_CSSP

Author

Commented:
VM is stored on HDD of our Hyper-V server, the custom image we need to load is on a USB drive.
ManieyaK_CSSP

Author

Commented:
I also tried running PS C:\>Get-VMScsiController -VMName Test -Number 0 | Add-VMHardDiskDrive -DiskNumber 2
it fails with error "cannot locate any drives that match that criteria"
Learn Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

Philip ElderTechnical Architect - HA/Compute/Storage

Commented:
Using the SCSI bus to add the USB drive in pass-through mode? It should just work.

Hit Refresh in Disk Management _on the host_ to make sure the disk is not available.

The IDE bus requires that the VM be off before any new VHD(x) can be connected to the guest.
ManieyaK_CSSP

Author

Commented:
Verified the disk is not available.
ManieyaK_CSSP

Author

Commented:
This drive works on our other Hyper-V Server
Technical Architect - HA/Compute/Storage
Commented:
If it works elsewhere then copy the contents to another drive and use a replacement.

It sounds like the host has a marker on the drive that did not get removed thus it's not available.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial