ORA-15032: not all alterations performed ORA-15260: permission denied on ASM disk group

The following error would occur if you are connect to ASM instance as  sysdba instead of sysasm user.

[root@stdby02 bin]# su grid
[grid@stdby02 bin]$ . oraenv
ORACLE_SID = [grid] ? +ASM2
The Oracle base has been set to /grid/app/grid
[grid@stdby02 bin]$ sqlplus / as sysdba

SQL*Plus: Release 12.1.0.2.0 Production on Tue Jun 27 10:41:14 2017

Copyright (c) 1982, 2014, Oracle. All rights reserved.

Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options

SQL> alter diskgroup RED_DATA add disk '/dev/oracleasm/disks/ASMDISK12';
alter diskgroup RED_DATA add disk '/dev/oracleasm/disks/ASMDISK12'
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15260: permission denied on ASM disk group

Now let us try logging as sysasm user

ORACLE_SID = [+ASM2] ?
The Oracle base remains unchanged with value /grid/app/grid
[grid@stdby02 bin]$ sqlplus / as sysasm

SQL*Plus: Release 12.1.0.2.0 Production on Tue Jun 27 10:50:24 2017

Copyright (c) 1982, 2014, Oracle. All rights reserved.

Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options

SQL> alter diskgroup RED_DATA add disk '/dev/oracleasm/disks/ASMDISK12';

Diskgroup altered.

SQL> select * from v$asm_operation;

GROUP_NUMBER OPERA PASS STAT POWER ACTUAL SOFAR EST_WORK
------------ ----- --------- ---- ---------- ---------- ---------- ----------
 EST_RATE EST_MINUTES ERROR_CODE CON_ID
---------- ----------- -------------------------------------------- ----------
 1 REBAL REBALANCE RUN 1 1 163 1386
 527 2 0

1 REBAL COMPACT WAIT 1 1 0 0
 0 0 0

It worked.!!

#11g, #12c, #alter, #alter-diskgroup, #asm, #disk-group, #grid, #ora-15032, #ora-15260, #oracle, #permission-denied, #rac, #sysasm, #sysdba