I am trying to do data validation using an existing journal,
vdbench config file:
fsd=fsd1,anchor=/data/,depth=1,width=2,size=3G,files=1
fwd=fwd1,fsd=fsd1,rdpct=70,fileio=random,xfersize=4k
rd=rd1,fwd=fwd1,fwdrate=max,elapsed=300
and command using to run it
./vdbench -f v.conf -jv -cy
After the above successful execution it creates, fsd1.jnl and fsd1.map in current dir and in /data/ vdb.1_1.dir folders and files
now, I am using same config file but using -jro option to recover existing journal, validate data but do not run the requested workload.
./vdbench -f v.conf -jro
but above command throw error immediately,
12:33:47.205 localhost-0: 12:33:47.167 Corrupted data block for fsd=fsd1,file=/data/vdb.1_1.dir/vdb_f0000.file; file lba: 0x00000000 xfersize=4096
12:33:47.205 localhost-0: 12:33:47.167
12:33:47.205 localhost-0: 12:33:47.167 Data block has 1 key block(s) of 4096 bytes each.
12:33:47.205 localhost-0: 12:33:47.167 All key blocks are corrupted.
12:33:47.205 localhost-0: 12:33:47.168 Key block lba: 0x00000000
12:33:47.206 localhost-0: 12:33:47.168 Key block of 4,096 bytes has 8 512-byte sectors.
12:33:47.206 localhost-0: 12:33:47.168 Timeline:
12:33:47.206 localhost-0: 12:33:47.169 Sat Aug 24 2019 12:06:23.749 IST Sector last written. (As found in the first corrupted sector, timestamp is taken just BEFORE the actual write).
a12:33:47.206 localhost-0: 12:33:47.169 Sat Aug 24 2019 12:33:47.140 IST Key block first found to be corrupted during a workload requested read.
12:33:47.206 localhost-0: 12:33:47.169
12:33:47.206 localhost-0: 12:33:47.169 All 8 sectors in this key block are corrupted.
12:33:47.206 localhost-0: 12:33:47.170 All corruptions are of the same type:
12:33:47.206 localhost-0: 12:33:47.170 ===> Bad owner id. Expecting 0x10cc (4300) but found 0x10cc
12:33:47.206 localhost-0: 12:33:47.170 Only the FIRST sector will be reported:
Could anyone help to understand what is wrong? I want to do some workload and after some time validate same data.
User contributions licensed under CC BY-SA 3.0