|
(1) last 2 bytes of SCN should match first 2 bytes of tail;
(2) the 3rd byte of tail should be equal to type;
(3) the last byte of tail should be equal to seq;
---YES
所以tail标记和块头的三个字段组合是相等的(开始我以为中间的那个TYPE FLAG是块头的那个FLG=0X04的那个,实际上是type: 0x06=trans data)
I don't know what you mean by "DBV工具检查仅仅说该块被标识为坏块,但是没有检查有坏块". Why not show us exactly what dbv says? I'm guessing the reason dbv can't find the bad block is that the three rules listed above are all met. But at the same time, dbv also detects this block is bad according to the other two criteria:
(4) SCN is completely 0's;
(5) seq and therefore the last byte of tail are 0xff.
(4) and (5) are secondary, in the sense that the block was found corrupt first by a process according to rules (1)-(3). The process modifies SCN and seq (and the last byte of tail). Subsequent check of the block only needs to go by rules (4) and (5). Once SCN and seq are modified, we no longer know what the original values were like.
---你这个就和我猜测的类似,所以想证实
oracle@GCRMDBRcv:/oraclelog/bosscrm1/bdump>dbv file=/dev/rcrm1vg1_4_147 blocksize=8192
DBVERIFY: Release 9.2.0.6.0 - Production on Wed Dec 21 10:26:19 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
DBVERIFY - Verification starting : FILE = /dev/rcrm1vg1_4_147
DBV-00200: Block, dba 1656966527, already marked corrupted
DBVERIFY - Verification complete
Total Pages Examined : 524032
Total Pages Processed (Data) : 518075
Total Pages Failing (Data) : 0
Total Pages Processed (Index): 0
Total Pages Failing (Index): 0
Total Pages Processed (Other): 3551
Total Pages Processed (Seg) : 0
Total Pages Failing (Seg) : 0
Total Pages Empty : 2406
Total Pages Marked Corrupt : 0 ---这个地方为0了,如果确实有逻辑坏块的就有数字了
Total Pages Influx : 0
Highest block SCN : 7788561635836 (1813.1785928188)
oracle@GCRMDBRcv:/oraclelog/bosscrm1/bdump> |
|