ORA-15221: ASM operation requires compatible.asm of 11.2.0.0.0 or higher

时间:2023-03-09 08:02:22
ORA-15221: ASM operation requires compatible.asm of 11.2.0.0.0 or higher

昨天在做存储迁移的时候,对ASM磁盘组的东西进行操作时,出现了如标题的错误。经查资料,发现原因如下:

    如磁盘组是使用asmca图形化工具创建,则compatible.asm默认设置就已经为11.2,如使用CREATE DISKGROUP这个SQL命令创建,则默认设置为10.1,需要手动修改。因此,需要先手工进行设置版本,指令如下:
    SQL> alter diskgroup oradg set attribute 'COMPATIBLE.ASM'='11.2';