Hello All,
I am using VM Box 4.0.4 on windows 7 (64 - bit).
I created one Virtual machine (Oracle Linux 32 bit)called RAC1 with hard disk rac1.vdi and i cloned this hard disk to rac2.vdi and from it i create the 2nd virtual Machine called RAC2.
I am able to run each machine alone, but not both in parallel.
when i start the 2nd machine i got the below errors:
Failed to open a session for the virtual machine
Locking of attached media failed
and below are the details:
Result Code:
VBOX_E_INVALID_OBJECT_STATE (0x80BB0007)
Component:
SessionMachine
Interface:
IMachine {662c175e-a69d-40b8-a77a-1d719d0ab062}
Regards
2 virtual Machine running in parallel
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: 2 virtual Machine running in parallel
How did you clone the VDI?
-
neo33
- Posts: 2
- Joined: 31. Mar 2011, 18:17
- Primary OS: MS Windows 7
- VBox Version: OSE other
- Guest OSses: Oracle (32 bit)
Re: 2 virtual Machine running in parallel
the clone was made Using the below:
Code: Select all
VBoxManage clonehd "C:\Users\win7\VirtualBox VMs\rac1\rac1.vdi" "C:\Users\win7\VirtualBox VMs\rac2\rac2.vdi"
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: 2 virtual Machine running in parallel
Puzzling. I interpret the error message as VirtualBox complaining - on launching the second VM - that the drive is already in use. I thought perhaps you might have two drives with the same UUID, because of a mistake in cloning. But no, the command you gave would change the UUID. So, it looks like you actually mounted the same drive in both VMs - I can't see what else the error message could mean.
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: 2 virtual Machine running in parallel
Only thing I can think of, next to mpacks explanation, is that the clone was made while the VM was still running and the clone as a file lock on it that can't be removed.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
Re: 2 virtual Machine running in parallel
attach the shared disks to cloned VM.via cmd line. it worked for me.