rman 备份时报以下错误:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup plus archivelog command at 08/20/2015 17:33:37
ORA-19566: exceeded limit of 0 corrupt blocks for file /app/oracle/oradata/orcl/system01.dbf
由报错信息可知 /app/oracle/oradata/orcl/system01.dbf 损坏
查找坏块:
[oracle@zhoux backup]$ dbv file=/app/oracle/oradata/orcl/system01.dbf
DBVERIFY: Release 11.2.0.1.0 - Production on Thu Aug 20 17:35:46 2015
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
DBVERIFY - Verification starting : FILE = /app/oracle/oradata/orcl/system01.dbf
Page 72303 is marked corrupt
Corrupt block relative dba: 0x00411a6f (file 1, block 72303)
Bad check value found during dbv:
Data in bad block:
type: 6 format: 2 rdba: 0x00411a6f
last change scn: 0x0000.000bd526 seq: 0x1 flg: 0x06
spare1: 0x0 spare2: 0x0 spare3: 0x0
consistency value in tail: 0xd5260601
check value in block header: 0x3388
computed block checksum: 0x2000
使用SQL语句:
SELECT tablespace_name,segment_type,owner,segment_name FROM dba_extents WHERE file_id = 1 AND 72303 between block_id AND block_id+blocks-1;
找到错误的地方,根据情况处理问题.