RMAN 解決(RMAN-06208,RMAN-06207,ORA-19606)刪除過期檔案問題
RMAN 解決(RMAN-06208,RMAN-06207,ORA-19606)刪除過期檔案問題
-
RMAN> Delete noprompt obsolete;
RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 1
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
-------------------- ------ ------------------ --------------------
Control File Copy 18 16-JUN-15 /app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.f
RMAN-06207: WARNING: 1 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 /app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.f
released channel: orademo
RMAN>
RMAN> CROSSCHECK CONTROLFILECOPY 18;
released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=1335 device type=DISK
validation failed for control file copy
control file copy file name=/app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.f RECID=18 STAMP=882531818
Crosschecked 1 objects
RMAN> delete expired CONTROLFILECOPY 18;
released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=1335 device type=DISK
List of Control File Copies
===========================
Key S Completion Time Ckp SCN Ckp Time
------- - --------------- ---------- ---------------
18 X 16-JUN-15 3621263 16-JUN-15
Name: /app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.f
Tag: TAG20150616T114337
Do you really want to delete the above objects (enter YES or NO)? yes
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of delete command on ORA_DISK_1 channel at 08/14/2015 10:16:38
ORA-19606: Cannot copy or restore to snapshot control file
RMAN> CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.fbak';
new RMAN configuration parameters:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.fbak';
new RMAN configuration parameters are successfully stored
RMAN> crosscheck controlfilecopy '/app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.f';
released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=1335 device type=DISK
validation failed for control file copy
control file copy file name=/app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.f RECID=18 STAMP=882531818
Crosschecked 1 objects
RMAN> delete expired controlfilecopy '/app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.f';
released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=1335 device type=DISK
List of Control File Copies
===========================
Key S Completion Time Ckp SCN Ckp Time
------- - --------------- ---------- ---------------
18 X 16-JUN-15 3621263 16-JUN-15
Name: /app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.f
Tag: TAG20150616T114337
Do you really want to delete the above objects (enter YES or NO)? yes
deleted control file copy
control file copy file name=/app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.f RECID=18 STAMP=882531818
Deleted 1 EXPIRED objects
RMAN> CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.f';
old RMAN configuration parameters:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.fbak';
new RMAN configuration parameters:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.f';
new RMAN configuration parameters are successfully stored
RMAN> CONFIGURE SNAPSHOT CONTROLFILE NAME clear;
old RMAN configuration parameters:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.f';
RMAN configuration parameters are successfully reset to default value
-
RMAN> Delete noprompt obsolete;
RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 1
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
-------------------- ------ ------------------ --------------------
Control File Copy 18 16-JUN-15 /app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.f
RMAN-06207: WARNING: 1 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 /app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.f
released channel: orademo
RMAN>
RMAN> CROSSCHECK CONTROLFILECOPY 18;
released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=1335 device type=DISK
validation failed for control file copy
control file copy file name=/app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.f RECID=18 STAMP=882531818
Crosschecked 1 objects
RMAN> delete expired CONTROLFILECOPY 18;
released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=1335 device type=DISK
List of Control File Copies
===========================
Key S Completion Time Ckp SCN Ckp Time
------- - --------------- ---------- ---------------
18 X 16-JUN-15 3621263 16-JUN-15
Name: /app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.f
Tag: TAG20150616T114337
Do you really want to delete the above objects (enter YES or NO)? yes
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of delete command on ORA_DISK_1 channel at 08/14/2015 10:16:38
ORA-19606: Cannot copy or restore to snapshot control file
RMAN> CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.fbak';
new RMAN configuration parameters:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.fbak';
new RMAN configuration parameters are successfully stored
RMAN> crosscheck controlfilecopy '/app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.f';
released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=1335 device type=DISK
validation failed for control file copy
control file copy file name=/app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.f RECID=18 STAMP=882531818
Crosschecked 1 objects
RMAN> delete expired controlfilecopy '/app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.f';
released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=1335 device type=DISK
List of Control File Copies
===========================
Key S Completion Time Ckp SCN Ckp Time
------- - --------------- ---------- ---------------
18 X 16-JUN-15 3621263 16-JUN-15
Name: /app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.f
Tag: TAG20150616T114337
Do you really want to delete the above objects (enter YES or NO)? yes
deleted control file copy
control file copy file name=/app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.f RECID=18 STAMP=882531818
Deleted 1 EXPIRED objects
RMAN> CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.f';
old RMAN configuration parameters:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.fbak';
new RMAN configuration parameters:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.f';
new RMAN configuration parameters are successfully stored
RMAN> CONFIGURE SNAPSHOT CONTROLFILE NAME clear;
old RMAN configuration parameters:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/app/oracle/product/11.2.0/db_1/dbs/snapcf_oracle11.f';
RMAN configuration parameters are successfully reset to default value
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29065182/viewspace-1771378/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- RMAN-06207 & RMAN-06208 問題處理
- rman 刪除所有過期歸檔
- oracle rman 刪除過期的歸檔Oracle
- 解決刪除Linux下刪除檔案過多而受shell限制的問題Linux
- RocketMQ -- 過期檔案的刪除MQ
- kafka-- 過期檔案的刪除Kafka
- windows下刪除過期的檔案Windows
- RMAN-06207和RMAN-06208的處理
- 關於RMAN-06207和RMAN-06208錯誤的分析以及解決辦法
- rman刪除舊的歸檔日誌問題
- linux下自動刪除過期檔案命令Linux
- 刪除指定日期內的過期檔案
- 使用RMAN安全刪除歸檔檔案
- windows下自動刪除過期檔案的指令碼Windows指令碼
- 解決linux刪除檔案後空間沒有釋放問題Linux
- Trace檔案過量生成問題解決
- OGG刪除過期的trail檔案,shell實現AI
- Oracle11g的RMAN-06207: WARNING:不能刪除歸檔日誌Oracle
- Oracle Trace檔案過量生成問題解決Oracle
- 解決表格檔案上傳無法刪除臨時檔案的問題Failed to perform cleanup of multipart itemsAIORM
- 解決刪除檔案後 WSL2 磁碟空間不釋放的問題
- oracle 刪除過期的歸檔日誌Oracle
- 誤刪出資料檔案,透過dbca無法刪除資料庫問題資料庫
- 刪除檔案或目錄提示"檔案或目錄無法刪除"的解決方法!
- mac檔案刪除不了的解決辦法Mac
- oracle rman不能自動刪除歸檔日誌備份解決Oracle
- UNIX 檔案太多,不能刪除的問題解決(ksh: /usr/bin/find: arg list too long)
- Redis過期刪除策略Redis
- Rman Crosscheck刪除失效歸檔ROS
- 手動刪除了歸檔日誌後,rman備份出現問題解決
- win10電腦刪除檔案時提示檔案正在使用無法刪除怎麼解決Win10
- 非歸檔資料檔案誤刪除解決辦法
- 定時拷貝加時間維的檔案和定時刪除過期檔案
- AIX 檔案過多無法刪除AI
- 通過SQL儲存過程刪除過期的資料庫Bak備份檔案SQL儲存過程資料庫
- 誤刪除資料檔案、控制檔案的非RMAN恢復方法
- 電腦刪除檔案速度很慢怎麼辦?電腦刪除檔案速度慢的解決方法
- [20221121]rman刪除歸檔日誌問題.txt