Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2116
  • Last Modified:

Detach external USB HD from a Virtual Machine in Hyper-V

HyperV - Computer ManagementHi,
  I have a Hyper-V/Windows 2012 Server where I have a virtual machine with SBS2011 OS.
  I have a 2TB external hard drive to backup Hyper-V server. Please see the screenshot above. Then I purchased additional 2TB external hard drive to backup SBS2011 OS and its files separately and attached it to DC1 (name of VM). But I like to disconnect (or remove) it from the DC1 VM because it seems to be failing.

 What are the steps to follow to remove it from the VM and HyperV completely?

Thanks.
0
sglee
Asked:
sglee
  • 4
  • 2
1 Solution
 
sgleeAuthor Commented:
Here is Edit Settings screenshot for DC1 VM.Settings for DC1 VMDC1 VM - Disk Management
About an hour ago I opened Computer Management in DC1 VM and attempted to format 2TB External USB hard drive and it has been stuck for an hour and it shows as "Basic Online" under Disk2 (please see screenshot of CompMgmt.msc in DC1).

How can I safely remove this USB from the DC1 VM?
0
 
Svet PaperovIT ManagerCommented:
While Hyper-V 2012 supports removing a SCSI attached disk, I would recommend shutting down the VM completely before removing the pass-through (physical) disk from the VM configuration – the one you highlighted in “Settings for DC1 VM” screenshot.
Then the USB disk can be removed as usual.

Note that even if USB disks are now supported as targets for Hyper-V they are still very slow (unless USB3) and I would discourage anyone from using them. iSCSI devices are much more stable.
0
 
sgleeAuthor Commented:
Before shutting down the DC1 VM, should I change the disk2 status from online to offline?
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
Svet PaperovIT ManagerCommented:
No, not in the VM. The pass-through disks must be configured offline on the Hyper-V host only.
0
 
sgleeAuthor Commented:
OK. I will shutdown DC1 VM and remove it.
0
 
sgleeAuthor Commented:
I removed the 2TB external USB HD safely from DC1 VM Settings while the VM was shutdown.
And then I started the DC1 VM successfully.

Thank you for your help.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now