Page 1 of 1

2 virtual Machine running in parallel

Posted: 31. Mar 2011, 18:27
by neo33
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

Re: 2 virtual Machine running in parallel

Posted: 31. Mar 2011, 19:04
by mpack
How did you clone the VDI?

Re: 2 virtual Machine running in parallel

Posted: 1. Apr 2011, 08:53
by neo33
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"

Re: 2 virtual Machine running in parallel

Posted: 1. Apr 2011, 11:27
by mpack
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.

Re: 2 virtual Machine running in parallel

Posted: 2. Apr 2011, 22:40
by Sasquatch
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.

Re: 2 virtual Machine running in parallel

Posted: 20. Mar 2013, 16:54
by thirun
attach the shared disks to cloned VM.via cmd line. it worked for me.