Solved

Hyper V needs rebooting each time I change the USB disk

Posted on 2014-12-03
10
172 Views
Last Modified: 2014-12-06
Hi,

I have a new Hyper V Windows Server 2012.

Configured all my usb disks on my virtual machine.  All work well except for one problem:  each time I change the USB disk, I can't use it without a reboot.  I can see it, but I can't use it. I need to shut down my Hyper V host, go into Settings, go into Scsi Controller\Hard Drive, and reselect the Physical Hard disk.  Then I start my Hyper V and the disk is usable.

Any way I can make it work without having to reboot everytime I change the disk?

Thanks!
0
Comment
Question by:giaalie
  • 5
  • 3
  • 2
10 Comments
 
LVL 94

Expert Comment

by:John Hurst
ID: 40479752
ALL USB disks or ONE USB disk?  I have seen a defective disk do this with Windows Explorer (the app that reads the disk).
0
 

Author Comment

by:giaalie
ID: 40479775
All 5
0
 
LVL 94

Expert Comment

by:John Hurst
ID: 40479789
I use VMware, not Hyper V so I do not know for sure.

Are you releasing the USB drive (right click on the USB Icon in the system tray) and Remove the Device. See if you remove it, whether then you can re-attach it.
0
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!

 
LVL 24

Expert Comment

by:VB ITS
ID: 40479900
Just to clarify, are you passing through the USB drive to your VMs in Hyper-V? i.e. these USB drives store the VHD files for your VMs and run off them?

Maybe post a screenshot/picture of your problem so we can better understand what's happening here.
0
 

Author Comment

by:giaalie
ID: 40479980
My USB drives are secondary drives only used to store Windows Server Backups.   They are configured as SCSI Controller Physical Hard Disk in Hyper V.  See Screenshot

Here are 2 screenshots.  #1 is the configuration for my external hard drive.  #2 is the error that I had when trying to backup before rebooting.

I did not use remove device, though I doubt that will make a difference.  I'll try to have the customer try it tomorrow.
Screen1.jpg
Screen2.jpg
0
 

Author Comment

by:giaalie
ID: 40479982
Hopefully that answers your questions.  If you want other screenshots let me know.
0
 
LVL 24

Expert Comment

by:VB ITS
ID: 40480009
What's the exact process that you go through when you swap out the drives? Do you simply unplug the USB cable from the old drive then plug it into the new drive?

Are the USB drives identical drives? If so I would try this:
Open Disk Management inside the Hyper-V VM > right click on the USB disk that you have passed through to the VM > click Offline
Then in Hyper-V Manager on the Hyper-V Host > go into the Settings of the VM > click on the Hard Drive in the SCSI Controller section (i.e. the same window in your Screen1.jpg screenshot) > click the Remove button
Plug in the other USB hard drive > go back into the settings of the VM in Hyper-V Manager > Add a new Hard Drive to the SCSI Controller using the same Location (see below)> select your USB drive from the Physical hard disk dropdown > OK
SCSI-Location-ID.png
Go back into Disk Management in the VM > hopefully you can see the replacement USB drive in Disk Management in an Offline state > if so, right click on it and bring it Online

I'm not certain this process will work but it's worth a shot as it doesn't require you to shut down the VM. I use this process to take VHD files offline to expand them without needing to shut down the VM.

Let me know how you go.
1
 

Author Comment

by:giaalie
ID: 40480030
If this is the only solution, we will do it.  But only as a last resort.

Since the person who swaps the drives has no technical knowledge, if there is any way to swap usb drives on a Hyper V virtual machine without having to do any configuration each and every single time, it would be much better.  I didn't expect to be alone with this problem, backing up to USB from a Hyper-V VM :s
0
 
LVL 24

Accepted Solution

by:
VB ITS earned 500 total points
ID: 40480044
You're not alone but what you are doing is currently 'unsupported' as far as Microsoft are concerned.

Microsoft did introduce proper USB pass-through with the release of Windows Server 2012 R2 Hyper-V but the Hyper-V Guest also needs to be a Generation 2 virtual machine (currently only Windows 8.1 and Windows 2012 R2 guests are supported). See this link for more information: http://technet.microsoft.com/en-au/library/dn282278.aspx#bkmk_enhanced_session
0
 

Author Comment

by:giaalie
ID: 40480073
Makes a lot of sense.

I'll get back to accept the solution in a few days at most.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Can a Hyper-V VM CPU be optimized 7 112
Disk-to-VHD Question 11 125
Conerting VHDX to ISO image 5 586
Best Quad port Gigabit Network card for Hyper-V 2 99
The following article is comprised of the pearls we have garnered deploying Hyper-V since Virtual Server 2005 and subsequent 2008 RTM+ standalone and clustered.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

713 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