Solved

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

Posted on 2011-09-03
7
901 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
  • 4
  • 3
7 Comments
 
LVL 7

Expert Comment

by:susguperf
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 7

Accepted Solution

by:
susguperf 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 7

Expert Comment

by:susguperf
ID: 36480923
Able to boot?
0
 

Author Comment

by:Ohmit
ID: 36481153
yep :-)
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

707 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now