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

Popular posts from this blog

How to drop index and before dropping it how to get the DDL.

PRVG-11250 : The check "RPM Package Manager database" was not performed because

ORA-00257:archiver error, connect internal only until freed

Verifying Daemon “Avahi-Daemon” Not Configured And Running …FAILED (PRVG-1360)

Linux OL7/RHEL7: PRVE-0421 : No entry exists in /etc/fstab for mounting /dev/shm

SKIP DNS RESLOV.CONF CHECK DURING RAC CONFIGURATION

CPU Patch Analysis

How to write to a CSV file using Oracle SQL*Plus

How to troubleshoot Long Running Concurrent Request in EBS 12.2

How To Manage Space of The FRA in the Oracle DB