背景描述:
某客户某数据库需要迁移,需要搭建从rac-rac的dg,进行数据库切换/强制打开
由于该数据库数据量达到30T,但nfs挂载盘仅有1T,所以需要分多次进行copy
在主库将数据文件从asm拷贝至nfs磁盘中,然后再将数据文件从nfs磁盘拷贝至目标库asm磁盘中
但是在将数据文件从nfs磁盘拷贝至目标库asm磁盘中却发生了报错:
RMAN-20201: datafile not found in the recovery catalog
RMAN-06010: error while looking up datafile: /tmp/aaa.dbf
测试环境模拟该问题产生:
create tablespace aa datafile ‘/tmp/tmp/aaa.dbf’ size 10M autoextend on;
Rman copy数据文件从/tmp/tmp/至/tmp/目录中
RMAN> copy datafile ‘/tmp/tmp/aaa.dbf’ to ‘/tmp/aaa.dbf’;
Starting backup at 24-APR-20
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=307 devtype=DISK
channel ORA_DISK_1: starting datafile copy
input datafile fno=00005 name=/tmp/tmp/aaa.dbf
output filename=/tmp/aaa.dbf tag=TAG20200424T140413 recid=3 stamp=1038578653
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:01
Finished backup at 24-APR-20
再次拷贝,尝试将数据文

最低0.47元/天 解锁文章
1264

被折叠的 条评论
为什么被折叠?



