VirtualBox

Ticket #7538 (closed defect: worksforme)

Opened 4 years ago

Last modified 4 years ago

Problem with shareable disks created using VBoxManage createhd

Reported by: joeyjoe Owned by:
Priority: major Component: virtual disk
Version: VirtualBox 3.2.8 Keywords: sharable disk shared disk
Cc: Guest type: Linux
Host type: Windows

Description

I created a shareable disk in this manner:

C:\Program Files\Oracle\VirtualBox>VBoxManage createhd --filename C:\Users\owner\.VirtualBox\HardDisks\asm20.vmdk --size 1000 --format VMDK --variant fixed --type shareable

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Disk image created. UUID: c8f9976a-6ce0-49c0-ac2d-e96a33bc2f5e

After sharing it between two vm's intended for use with Oracle Real Application Clusters (RAC), only one vm can start at a time. The other gets:

Failed to open a session for the virtual machine rac2. Locking of attached media failed. Result Code: VBOX_E_INVALID_OBJECT_STATE (0x80BB0007) Component: Machine Interface: IMachine {6d9212cb-a5c0-48b7-bbc1-3fa2ba2ee6d2}

Has anyone successfully used shareable disks for Oracle RAC with the "--type sharable" option?

Change History

comment:1 Changed 4 years ago by klaus

It's a misunderstanding apparently - it works if you specify --register as well. The "type" is only used if you register it at the same time.

The GUI cannot register images as shared, you can only change this for already registered images via the command line, e.g. with VBoxManage modifyhd /path/to/image --type shared.

There are "RAC using VirtualBox" tutorials out there:  http://www.oracle-base.com/articles/11g/OracleDB11gR2RACInstallationOnOEL5UsingVirtualBox.php

Not particularly hard to find actually...

comment:2 Changed 4 years ago by klaus

  • Status changed from new to closed
  • Resolution set to worksforme
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use