Using CREATE DISKGROUP with Compatibility Attributes

You can specify the compatibility settings for a disk group with the CREATE DISKGROUP statement when creating the disk group.

The following example creates a normal redundancy disk group data1 with the Oracle ASM compatibility set to 12.1 and the RDBMS compatibility set to the default (the COMPATIBLE.RDBMS default is less than or equal to 12.1):

CREATE DISKGROUP data1 DISK '/dev/sd*' 
       ATTRIBUTE 'compatible.asm' = '12.1';

The following example creates a normal redundancy disk group data2 with the ASM, RDBMS, and ADVM compatibility set to 12.1:

CREATE DISKGROUP data2 DISK '/dev/sd*' 
       ATTRIBUTE 'compatible.asm' = '12.1', 'compatible.rdbms' = '12.1',
                 'compatible.advm' = '12.1';