Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Virtual machine will not start due to dvd drive locked by other process

Posted on 2011-09-03
7
Medium Priority
?
923 Views
Last Modified: 2012-05-12
I have posted this earlier and thought it was solved but this keep hunting me!!

I have a host server running Server 2008 R2 FULL with the Hyper-V role enabled.
I have installed two virtual servers.
After restarting the host only the first virtual server is starting.
When the second try to start Hyper V manager returns an error:

"An error occured while attempting to start the selected virtual machine.
Failed to open attachment B: Error: The process cannot access the file because it is being used by another process."

Attachment B: is the physical letter of the dvd drive on the host server.
This used to be drive letter F: but after posting this Q the last time I changed the drive letter which caused the machine to start!!
0
Comment
Question by:Ohmit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 8

Expert Comment

by:Sushant Gulati
ID: 36477286
Did you check the boot order? And make sure other Virtual machine does not have anything ISO mounted though the DvD can be mounted simoultaneously in both the VMs, I just to make sure if we should restrict the VM not use the DvD as their primary boot device no files are locked by the DvD.

I would check the events generated in the event viewer for HyperVisor to go in more depth.

http://www.techrepublic.com/blog/datacenter/search-hyper-v-vm-management-services-log-for-events/4362

Let me know your findings..

Thanks..!!
~SG~
0
 

Author Comment

by:Ohmit
ID: 36478603
Well.
I changed boot order from CD to IDE - no result!

Nothing is ISO mounted!

I dont see ANY errors in the log??
0
 

Author Comment

by:Ohmit
ID: 36478616
If I remove the DVD drive from the Virtual Machine it can start!
0
2017 Webroot Threat Report

MSPs: Get the facts you need to protect your clients.
The 2017 Webroot Threat Report provides a uniquely insightful global view into the analysis and discoveries made by the Webroot® Threat Intelligence Platform to provide insights on key trends and risks as seen by our users.

 
LVL 8

Accepted Solution

by:
Sushant Gulati earned 2000 total points
ID: 36480186
http://www.petri.co.il/hyper-v-quirks-that-take-some-getting-used-to.htm

That's by design by the way. You can't get this functionality while mapping the CD/DvD drive simultaneously into 2 VMs. Though you can mount an ISO ( image file ) in N number of VMs but this a backdrop using HyperV.

Hope this helps..!!

Good Luck..
~SG~
0
 

Author Comment

by:Ohmit
ID: 36480317
*GGGG* I really didn't know that!!!
Well ok - problem solved :-)
0
 
LVL 8

Expert Comment

by:Sushant Gulati
ID: 36480923
Able to boot?
0
 

Author Comment

by:Ohmit
ID: 36481153
yep :-)
0

Featured Post

Does Powershell have you tied up in knots?

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

Question has a verified solution.

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

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

609 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