Solved

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

Posted on 2011-09-03
7
910 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

776 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