Problém:
[oracle@oracle4 ~]$ sqlplus / as sysdba
SQL*Plus: Release 12.1.0.1.0 Production on Tue Oct 7 09:51:12 2014
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 – 64bit Production
With the Automatic Storage Management option
SQL> show parameter instance
NAME TYPE VALUE
———————————— ———– ——————————
cluster_database_instances integer 1
instance_name string +ASM
instance_number integer 1
instance_type string ASM
SQL> ALTER DISKGROUP FRA ADD DISK ‘ORCL:ASM5’;
ALTER DISKGROUP FRA ADD DISK ‘ORCL:ASM5’
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15260: permission denied on ASM disk group
SQL> exit
Disconnected from Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 – 64bit Production
With the Automatic Storage Management option
Řešení:
[oracle@oracle4 ~]$ sqlplus / as sysasm
SQL*Plus: Release 12.1.0.1.0 Production on Tue Oct 7 09:56:40 2014
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 – 64bit Production
With the Automatic Storage Management option
SQL> ALTER DISKGROUP FRA ADD DISK ‘ORCL:ASM5’;
Diskgroup altered.