Volume Creation endup with ORA-15221
Symptoms :
ASMCMD> volcreate -G DATA -s 250G volume1
ORA-15032: not all alterations performed
ORA-15479: ASM diskgroup does not support volumes
ORA-15221: ASM operation requires compatible.asm of 12.1.0.2.0 or higher (DBD ERROR: OCIStmtExecute)
Cause:
Affected diskgroup (e.g. +DATA) has set compatible.asm 11.2.0.4.0 and compatible.rdbms 11.2.0.2 attributes
In order to enable ACFS, compatible.asm and compatible.rdbms attributes must be set both = 12.1.0.2.0 or higher in the diskgroup.
Solution:
#1: Set the Attribute:
sqlplus / as sysasm
SQL> ALTER DISKGROUP DATA SET ATTRIBUTE 'compatible.advm' = '12.1.0.2.0';
SQL> ALTER DISKGROUP DATA SET ATTRIBUTE 'compatible.asm' = '12.1.0.2.0';
exit
#2 : Check the new attributes values
$> asmcmd lsattr -G DATA -l
#3: And then create the ADVM volume as follows:
ASMCMD> volcreate -G DATA -s 250G volume1
Symptoms :
ASMCMD> volcreate -G DATA -s 250G volume1
ORA-15032: not all alterations performed
ORA-15479: ASM diskgroup does not support volumes
ORA-15221: ASM operation requires compatible.asm of 12.1.0.2.0 or higher (DBD ERROR: OCIStmtExecute)
Cause:
Affected diskgroup (e.g. +DATA) has set compatible.asm 11.2.0.4.0 and compatible.rdbms 11.2.0.2 attributes
In order to enable ACFS, compatible.asm and compatible.rdbms attributes must be set both = 12.1.0.2.0 or higher in the diskgroup.
Solution:
#1: Set the Attribute:
sqlplus / as sysasm
SQL> ALTER DISKGROUP DATA SET ATTRIBUTE 'compatible.advm' = '12.1.0.2.0';
SQL> ALTER DISKGROUP DATA SET ATTRIBUTE 'compatible.asm' = '12.1.0.2.0';
exit
#2 : Check the new attributes values
$> asmcmd lsattr -G DATA -l
#3: And then create the ADVM volume as follows:
ASMCMD> volcreate -G DATA -s 250G volume1