Solved

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

Posted on 2011-09-03
7
914 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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 8

Accepted Solution

by:
Sushant Gulati earned 500 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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
remote connect to 7 38
Restore scheduled tasks from a backup 5 44
Server 2008 R2 has no more space on C: (OS) drive 21 89
Linksys EA8500 3 15
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.
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
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…

732 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