[Rman]RMAN-06207 WARNING:2 objects could not be deleted for DISK channel(s) due
1)使用RMAN刪除備份時,出現RMAN-06207和RMAN-06208錯誤
RMAN> delete obsolete;
RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=28 device type=DISK
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
-------------------- ------ ------------------ --------------------
Backup Set 369 27-NOV-15
Backup Piece 375 27-NOV-15 /u01/oracle/fast_recovery_area/NEAL/backupset/2015_11_27/o1_mf_nnndf_TAG20151127T163150_c5j57pds_.bkp
Backup Set 371 27-NOV-15
Backup Piece 377 27-NOV-15 /u01/oracle/fast_recovery_area/NEAL/backupset/2015_11_27/o1_mf_nnndf_TAG20151127T163431_c5j5dql1_.bkp
Backup Set 372 27-NOV-15
Backup Piece 378 27-NOV-15 /file/backup/rman/controlfile_c-4033362200-20151127-0e
Control File Copy 389 24-NOV-15 /u01/a.txt
Backup Set 374 27-NOV-15
Backup Piece 380 27-NOV-15 /file/backup/rman/controlfile_c-4033362200-20151127-0f
Control File Copy 390 24-NOV-15 /u01/a.tc
Do you really want to delete the above objects (enter YES or NO)? yes
deleted backup piece
backup piece handle=/u01/oracle/fast_recovery_area/NEAL/backupset/2015_11_27/o1_mf_nnndf_TAG20151127T163150_c5j57pds_.bkp RECID=210 STAMP=896891510
deleted backup piece
backup piece handle=/u01/oracle/fast_recovery_area/NEAL/backupset/2015_11_27/o1_mf_nnndf_TAG20151127T163431_c5j5dql1_.bkp RECID=216 STAMP=896891671
deleted backup piece
backup piece handle=/file/backup/rman/controlfile_c-4033362200-20151127-0e RECID=217 STAMP=896891672
deleted backup piece
backup piece handle=/file/backup/rman/controlfile_c-4033362200-20151127-0f RECID=219 STAMP=896891680
Deleted 4 objects
RMAN-06207: WARNING: 2 objects could not be deleted for DISK channel(s) due
RMAN-06208: to mismatched status. Use CROSSCHECK command to fix status
RMAN-06210: List of Mismatched objects
RMAN-06211: ==========================
RMAN-06212: Object Type Filename/Handle
RMAN-06213: --------------- ---------------------------------------------------
RMAN-06214: Datafile Copy /u01/a.txt
RMAN-06214: Datafile Copy /u01/a.tc
2)使用crosscheck controlfilecopy時需要帶上檔案路徑
RMAN> CROSSCHECK CONTROLFILECOPY;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found ";": expecting one of: "tag, double-quoted-string, integer, single-quoted-string"
RMAN-01007: at line 2 column 1 file: standard input
RMAN> CROSSCHECK CONTROLFILECOPY '/u01/a.txt';
released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=28 device type=DISK
validation failed for control file copy
control file copy file name=/u01/a.txt RECID=11 STAMP=896609481
Crosschecked 1 objects
RMAN> CROSSCHECK CONTROLFILECOPY '/u01/a.tc';
released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=28 device type=DISK
validation failed for control file copy
control file copy file name=/u01/a.tc RECID=12 STAMP=896609577
Crosschecked 1 objects
3)再次刪除時,問題解決
RMAN> delete obsolete;
RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 1
using channel ORA_DISK_1
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
-------------------- ------ ------------------ --------------------
Control File Copy 389 24-NOV-15 /u01/a.txt
Control File Copy 390 24-NOV-15 /u01/a.tc
Do you really want to delete the above objects (enter YES or NO)? yes
deleted control file copy
control file copy file name=/u01/a.txt RECID=11 STAMP=896609481
deleted control file copy
control file copy file name=/u01/a.tc RECID=12 STAMP=896609577
Deleted 2 objects
Author:NEAL
DATE:2015-12-03
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29812844/viewspace-1988842/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- RMAN-06207: WARNING: 286 objects could not be deleted for DISK channel(s)Objectdelete
- RMAN-08137: WARNING: Archived Log Not DeletedHivedelete
- RMAN-08137: WARNING: archived log not deleted, needed for standby or upstreamHivedelete
- 關於RMAN-08137: WARNING: archive log not deleted as it is still needed問題的分析Hivedelete
- Oracle11g的RMAN-06207: WARNING:不能刪除歸檔日誌Oracle
- RMAN-03009: failure of backup command on ORA_DISK_1 channelAI
- 【RMAN】Archive Log Not Deleted As It Is Still Needed Rman-08137Hivedelete
- Backup And Recovery User's Guide-RMAN架構-RMAN命令列客戶端及RMAN通道(channel)GUIIDE架構命令列客戶端
- WARNING:Could not lower the asynch I/O limitMIT
- pip install 提示:Could not install packages due to an EnvironmentErrorPackageError
- SpokenEnglish01_ When's it due?
- RMAN-06207和RMAN-06208的處理
- RMAN-06207 & RMAN-06208 問題處理
- 【轉】WARNING:Could not lower the asynch I/O limit 錯誤MIT
- Disk arrary's adapter in troubleAPT
- 【RMAN】Run Allocate Channel For Maintenance From Script FailsAINaN
- HowTo Restore RMAN Disk backups of RACREST
- WARNING:Could not lower the asynch I/O limit 錯誤解決MIT
- Error 945 Database cannot be opened due to inaccessible files or insufficient memory or disk spaceErrorDatabase
- oracle10g_data guard_rman恢復測試出錯_RMAN-06207Oracle
- 升級pip報錯ERROR: Could not install packages due to an OSError: [WinError 5]ErrorPackage
- lightdb WARNING: could not establish connection after 30000 ms
- SQL 2000 - Could not continue scan with NOLOCK due to data movement解決之方法SQL
- RMAN-06403: could not obtain a fully authorized sessionAIZedSession
- WARNING:Could not increase the asynch I/O limit to 164 for SQL direct I/OMITSQL
- RMAN 解決(RMAN-06208,RMAN-06207,ORA-19606)刪除過期檔案問題
- WARNING:Could not lower the asynch I/O limit to 160 for SQL direct I/O.MITSQL
- WARNING:Could not increase the asynch I/O limit to 224 for SQL direct I/O.MITSQL
- 關於RMAN-06207和RMAN-06208錯誤的分析以及解決辦法
- RMAN備份中的通道(CHANNEL)相關 - PARALLELISM 、FILESPERSETParallel
- RMAN-06100: no channel to restore a backup or copy of datafileREST
- Oracle OCP IZ0-053 Q88(Rman Channel)Oracle
- 深入學習golang(2)—channelGolang
- Fixed Objects Statistics統計資訊收集 - 2Object
- [Oracle] rman備份channel數量和時間測試.Oracle
- 2 Java NIO Channel-翻譯Java
- ObjectsObject
- deleted object would be re-saved by cascade (remove deleted object from associatdeleteObjectREM