vdbench ===> Data Validation Key miscompare. Expecting key .

时间:2020-12-19 12:38:33

vdbench 数据一致性校验问题汇总:

校验参数点击打开链接含义请自查:

-jn

-vr

-vt

vdbench配置中,校验方式:

create_anchors=yes

validate=yes

validate=read

validate=read_after_write

validate=no_preread

validate=time

journal=yes

journal=noflush
错误日志:

       All corruptions are of the same type: ^M

       ===> Data Validation Key miscompare. Expecting key=0x51 received key=0x50 (81/80)^M

       Only the FIRST sector will be reported:^M

       Data Validation error for fsd=fsd1; FSD lba: 0x119e1000; Key block size: 4096; relative sector in data block: 0x00 ^M

       File name: z:\vdbench2\vdb.1_1.dir\vdb_f0082.file; file block lba: 0x00001000; bad sector file lba: 0x00001000^M
       0x000   00000000 119e1000 ........ ........   00000000 119e1000 0000015e 245cc543^M

       0x010   51..0000 31647366 20202020 00000000   50e70000 31647366 20202020 00000e24^M

       There are no mismatches in bytes 32-511

办法:

点击打开链接

修改

 
the fact that at this time Vdbench can not properly handle a PARTIAL Key Block during journal recovery
validate=read_after_write

validate=no_preread