oracle基于归档的增量异地恢复 --异地新增数据文件问题
1 rac异地基于归档文件的增量恢复
2 遇到在主库新增数据文件 后 日志恢复出现路径问题 。
错误如下 :
creating datafile fno=20 name=+DATA/datafile/undotbs1-1.dbf
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 07/10/2013 16:37:54
ORA-01119: error in creating database file '+DATA/datafile/undotbs1-1.dbf'
ORA-17502: ksfdcre:4 Failed to create file +DATA/datafile/undotbs1-1.dbf
ORA-15001: diskgroup "DATA" does not exist or is not mounted
ORA-15077: could not locate ASM instance serving a required diskgroup
ORA-29701: unable to connect to Cluster Manager
控制文件中已经记录了文件的位置和名称 ,但是创建文件失败 。
SQL> select name from v$datafile;
NAME
--------------------------------------------------------------------------------
/oracle/oracle/oradata/datafile/system.302.767288597
/oracle/oracle/product/10.2.0/db/dbs/UNNAMED00020
重新创建下这个文件 :/oracle/oracle/product/10.2.0/db/dbs/UNNAMED00020
alter database create datafile '/oracle/oracle/product/10.2.0/db/dbs/UNNAMED00020' as '/oradata/datafile/dtafile.dbf ';
然后继续恢复就可以了 。