Failed to attach drive to port - verr_sharing_violation

Discussions about using Windows guests in VirtualBox.
Post Reply
Bilbo Baggins
Posts: 2
Joined: 6. May 2016, 19:35

Failed to attach drive to port - verr_sharing_violation

Post by Bilbo Baggins »

Hi,

We have Windows 8 guest running on a Mac host.

When we try to open the VM we get this:

Failed to open a session for the virtual machine Windows 8.
AHCI: Failed to attach drive to Port1
VERR_SHARING_VIOLATION

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: ConsoleWrap
Interface: lConsole {872da645-4a9b-1727-bee2-5585105b9eed}

Can anyone shed light on what we should do?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Failed to attach drive to port - verr_sharing_violation

Post by socratis »

In order to better understand the problem you need to submit some more information. Please read the following: Minimum information needed for assistance. As far as the "VBox.log.zip" goes, here's what you do:
  1. Start the VM. Not from a saved or suspended state. Clean start.
  2. Take the steps required to generate/observe the error.
  3. Record the error message. EXACTLY. Post a screenshot if you have to.
  4. Shut down the VM (if it hasn't aborted by itself). Not suspended, not paused. Shut down. If you can't shut it down by normal means, close the VM window and select "Power off".
  5. Right-click on the VM in the VirtualBox Manager.
  6. Select "Show Log..."
  7. Save it (just the first one), ZIP it and attach it in your response (see the "Upload attachment" at the bottom of the form).
Are you by any chance trying to access a hard drive/partition using RAW access?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply