今天在做rman备份的时候出现下面的错误
RMAN-06207: WARNING: 1 objects could not be deleted for DISK channel(s) due
RMAN-06208: to mismatched status. Use CROSSCHECK command to fix statusRMAN-06210: List of Mismatched objects
RMAN-06211: ==========================
RMAN-06212: Object Type Filename/Handle
RMAN-06213: --------------- ---------------------------------------------------
RMAN-06214: Datafile Copy /data/backup/control01.ctl
发现crosscheck发现不了该文件
使用 CROSSCHECK CONTROLFILECOPY 语句执行一次
[oracle@rac1 ~]$ rman target /
Recovery Manager: Release 11.2.0.3.0 - Production on Thu May 24 11:53:51 2012
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: (DBID=295796415)
RMAN> CROSSCHECK CONTROLFILECOPY '/data/backup/control01.ctl';
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=1257 instance=ikangrac1 device type=DISK
validation failed for control file copy
control file copy file name=/data/backup/control01.ctl RECID=2 STAMP=780394881
Crosschecked 1 objects
RMAN> delete obsolete;
RMAN retention policy will be applied to the command
RMAN retention policy is set to recovery window of 7 days
using channel ORA_DISK_1
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
-------------------- ------ ------------------ --------------------
Control File Copy 2 12-APR-12 /data/backup/control01.ctl
Do you really want to delete the above objects (enter YES or NO)? yes
deleted control file copy
control file copy file name=/data/backup/control01.ctl RECID=2 STAMP=780394881
Deleted 1 objects
RMAN> exit
搞定。