?
Solved

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

Posted on 2011-09-03
7
Medium Priority
?
919 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
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
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…
Suggested Courses

777 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