Link to home
Start Free TrialLog in
Avatar of Martin Andel
Martin Andel

asked on

USB storage pass-through for Hyper-V

Hi everyone, I have a 2012R2 hypervisor with two guests running on it. I need to be able to set up a pass-through connection of a Tandberg RDX drive to one of the guests. The hypervisor recognizes the drive but I cannot make it offline, to be able to add it to the VM.  When trying via diskpart It gives this error:
DISKPART> offline disk

Virtual Disk Service error:
The operation is not supported on removable media.

Open in new window


Please note that this is the standalone hypervisor installation, not an app running on the standard server.

I've tried it with powershell to, using the below guide, but got a following error:
http://www.altaro.com/hyper-v/hyper-v-pass-through-disks/

PS C:\Users\mandel> Get-Disk -Number 1 | Set-Disk -IsOffline $true
Set-Disk : Not Supported
At line:1 char:22
+ Get-Disk -Number 1 | Set-Disk -IsOffline $true
+                      ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (StorageWMI:ROOT/Microsoft/...
   _StorageCmdlets) [Set-Disk], CimException
    + FullyQualifiedErrorId : StorageWMI 1,Set-Disk

Open in new window


Any suggestions welcome.
ASKER CERTIFIED SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Martin Andel
Martin Andel

ASKER

Although I am not too happy with the outcome, at least I do know now that it is just not possible the way I was trying to do it.