Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1971
  • 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 PaperovCommented:
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
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
Svet PaperovCommented:
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

Featured Post

Put Machine Learning to Work--Protect Your Clients

Machine learning means Smarter Cybersecurity™ Solutions.
As technology continues to advance, managing and analyzing massive data sets just can’t be accomplished by humans alone. It requires huge amounts of memory and storage, as well as high-speed processing of the cloud.

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