RMAN-20201: datafile not found in the recovery catalog报错分析

背景描述:
某客户某数据库需要迁移,需要搭建从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

再次拷贝,尝试将数据文

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值