Hi,

I want to run serveral instances of VMs, all using the same VDI disk 
(stored at Read-Only NFS storage) at the same host.

I am using the --mtype multiattach and --mtype immutable types of 
attaching the drive.

However, after creating and running the first machine, I am unable to 
create the second:

/usr/local/bin/VBoxManage -q storageattach Free2 --storagectl SATA 
--port 0 --device 0 --type hdd --medium /mnt/tmp/FreeBSD-9.1-RC2.vdi 
--mtype immutable
VBoxManage: error: Medium '/mnt/tmp/FreeBSD-9.1-RC2.vdi' is locked for 
reading by another task
VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE 
(0x80bb0007), component Medium, interface IMedium, callee nsISupports
VBoxManage: error: Context: "COMSETTER(Type)(mediumType)" at line 660 of 
file VBoxManageStorageController.cpp
VBoxManage: error: Failed to set the medium type


But if I fristly create eg. 3 VMs, and them run them, everything is OK.
And - of course, I am unable to add the 4th machine..

Is it expected behaviour ?

Regards,

-- 
Marek Salwerowicz

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
VBox-users-community mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vbox-users-community
_______________________________________________
Unsubscribe:  
mailto:[email protected]?subject=unsubscribe

Reply via email to