Hi,
Oracle 11.2.0.1, Oracle Linux 5.5
I would like to do some RMAN testing and for this reason rename an existing directory in an ASM diskgroup, temporarily.
The database 'orcl' instance is shutdown. I have tried the following using the ASM/Grid environment:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Automatic Storage Management option
SQL> alter diskgroup DATA rename directory '+DATA/ORCL' TO '+DATA/OLDORCL';
alter diskgroup DATA rename directory '+DATA/ORCL' TO '+DATA/OLDORCL'
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15177: cannot operate on system aliases
ASMCMD> ls -l
Type Redund Striped Time Sys Name
Y ASM/
Y ORCL/
Y RCAT/
ASMCMD> ls -l ORCL
Type Redund Striped Time Sys Name
Y CONTROLFILE/
Y DATAFILE/
Y ONLINELOG/
Y PARAMETERFILE/
Y TEMPFILE/
N spfileorcl.ora => +DATA/ORCL/PARAMETERFILE/spfile.270.737565081
I also removed the alias inside the ORCL directory, but it does not help. How can I rename the directory?
Thanks.