Page 1 of 1
Disk Locking
Posted: 2. Feb 2011, 23:34
by navruzjon
Hi,
I would like to have shared disk on my 2 virtual machines. Could anyone tell me how to configure to take out DISK.LOCKING for disk volume in VirtualBox?
In VMWare usually you edit vmdx file and put DISK.LOCKING=false and you can share disk volumes with any machines. But here I could not do this. Maybe, the string is differently used.
Thx.
Re: Disk Locking
Posted: 3. Feb 2011, 00:38
by Perryg
See Chapter 8.21 VBoxManage modifyhd in your VirtualBox users guide
Re: Disk Locking
Posted: 3. Feb 2011, 00:56
by cb1
Note that last I checked, VirtualBox doesn't support SCSI reservations, so Microsoft Cluster Services won't work. Other clustering systems may work if they only rely on network communication, YMMV.
Re: Disk Locking
Posted: 4. Feb 2011, 02:36
by navruzjon
Thanks for your help. I appreciate it so much.
My version support only shareable, I think I need Multiattach to share the disk with other VMachine.
Anyway trying to make shareable, I got an error:
ERROR: Cannot change type for medium 'C:\Users\Shindo\.VirtualBox\HardDisks\navruz.vdi' to 'Shareable' since it is a dynamic medium storage unit
Details: code E_FAIL (0x80004005), component Medium, interface IMedium, callee I
Unknown
Context: "COMSETTER(Type)(DiskType)" at line 444 of file VBoxManageDisk.cpp
Really I could not get the point here. Just if you could give me shortcut please, for me not to go through whole documentation.
My appreciation.
Re: Disk Locking
Posted: 4. Feb 2011, 02:56
by Perryg
You can not use a dynamic drive and make it shareable (multi-attached).
See Chapter 5.4 Special image write modes in your VirtualBox users manual.
Really the manual is broken down into sections and you can really benefit from using it.