ORA-15260: Permission Denied On ASM Disk Group
You are running an ASM command and getting ORA-15260
SQL> conn / as sysdba
Connected.
SQL> create diskgroup <DISKGROUP> external redundancy disk '/dev/sda10','/dev/sda11';
create diskgroup <DISKGROUP> external redundancy disk '/dev/sda10','/dev/sda11'
*
ERROR at line 1:
ORA-15260: permission denied on ASM disk group
Cause:
You have logged in with SYSDBA privilege, which is not allowed for ASM operations
SQL> conn / as sysdba
Connected.
SQL> create diskgroup <DISKGROUP> external redundancy disk '/dev/sda10','/dev/sda11';
create diskgroup <DISKGROUP> external redundancy disk '/dev/sda10','/dev/sda11'
*
ERROR at line 1:
ORA-15260: permission denied on ASM disk group
Fix:
Login with SYSASM credentials for ASM operations
SQL> alter diskgroup REDO mount;
alter diskgroup REDO mount
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15260: permission denied on ASM disk group
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
[ororgrid@shsebs121db01 ~]$ sqlplus "/as sysasm"
SQL*Plus: Release 19.0.0.0.0 - Production on Tue Aug 16 19:44:03 2022
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle. All rights reserved.
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
SQL> select NAME,TOTAL_MB/1024,FREE_MB/1024,state from v$asm_diskgroup;
NAME TOTAL_MB/1024 FREE_MB/1024 STATE
------------------------------ ------------- ------------ -----------
TNBSID_DATA1 0 0 DISMOUNTED
REDO 0 0 DISMOUNTED
ARCH 33.7773438 19.4804688 MOUNTED
CRS 7.24609375 6.8828125 MOUNTED
FRA 34.9960938 34.8671875 MOUNTED
SQL> alter diskgroup TNBSID_DATA1 mount;
Diskgroup altered.
SQL> alter diskgroup REDO mount;
Diskgroup altered.
SQL> select NAME,TOTAL_MB/1024,FREE_MB/1024,state from v$asm_diskgroup;
NAME TOTAL_MB/1024 FREE_MB/1024 STATE
------------------------------ ------------- ------------ -----------
ARCH 33.7773438 19.4804688 MOUNTED
CRS 7.24609375 6.8828125 MOUNTED
FRA 34.9960938 34.8671875 MOUNTED
TNBSID_DATA1 190.433594 95.53125 MOUNTED
REDO 12.3085938 12.1796875 MOUNTED
Comments
Post a Comment