1. How to confirm the write time of **0x12**
(timestamp **00000195 bb3f501c**
→ **2022-01-28 20:23:20.220 CST**
)? Why does it conflict with the test time? Is the timestamp corrupted? 2. Is the write time of **0x13**
**2025-03-22 08:27:23.548 CST**
? 3. What VDBench parameters can log each write’s Key and timestamp?
vdbench -f raw_conf -v
data_error=1,messagescan=no
monitor=/root/vdbench/shutdown
hd=default,vdbench=/root/liusl/vdbench,user=root,shell=ssh
hd=hd1,system=localhost
sd=sd1,hd=hd1,lun=/dev/sdd,openflags=o_direct,threads=16
sd=sd2,hd=hd1,lun=/dev/sde,openflags=o_direct,threads=4
sd=sd3,hd=hd1,lun=/dev/sdf,openflags=o_direct,threads=4
sd=sd4,hd=hd1,lun=/dev/sdg,openflags=o_direct,threads=4
wd=wd2,seekpct=1,xfersize=8k,rdpct=70
rd=rd2,wd=wd2,sd=sd*,iorate=max,elapse=36000000,interval=1
error.log
18 12:45:41.844 hd1-3: 12:45:41.841 Time of first corruption: Sun Mar 23 2025 12:45:41.841 CST
19 12:45:41.844 hd1-3: 12:45:41.841
20 12:45:41.844 hd1-3: 12:45:41.841 At least one Data Validation error has been detected.
21 12:45:41.844 hd1-3: 12:45:41.841
22 12:45:41.844 hd1-3: 12:45:41.842 Terminology:
23 12:45:41.844 hd1-3: 12:45:41.842 - Data block: a block of xfersize= bytes.
24 12:45:41.844 hd1-3: 12:45:41.842 - Key block: the smallest xfersize specified by the user which is the unit of
25 12:45:41.844 hd1-3: 12:45:41.842 data that Data Validation keeps track of.
26 12:45:41.844 hd1-3: 12:45:41.842 - Sector: 512 bytes of disk storage, regardless of actual storage sector size.
27 12:45:41.844 hd1-3: 12:45:41.842 - Lba: Logical Byte Address, not to be confused with Logical Block Address.
28 12:45:41.844 hd1-3: 12:45:41.842
29 12:45:41.844 hd1-3: 12:45:41.842
30 12:45:41.844 hd1-3: 12:45:41.842 The output starts with a summary of a data block, followed by a summary of each
31 12:45:41.844 hd1-3: 12:45:41.842 key block. If all sectors in a key block show a similar type of data corruption
32 12:45:41.844 hd1-3: 12:45:41.842 only the FIRST sector of the key block will be reported.
33 12:45:41.844 hd1-3: 12:45:41.842 For all other cases, ALL sectors will be reported.
34 12:45:41.844 hd1-3: 12:45:41.842
35 12:45:41.844 hd1-3: 12:45:41.842 Contents of the first 32 bytes of each sector:
36 12:45:41.844 hd1-3: 12:45:41.842
37 12:45:41.844 hd1-3: 12:45:41.842 Byte 0x00 - 0x07: Byte offset of this disk block
38 12:45:41.844 hd1-3: 12:45:41.842 Byte 0x08 - 0x0f: Timestamp: number of milliseconds since 1/1/1970
39 12:45:41.844 hd1-3: 12:45:41.842 Byte 0x10 : Data Validation key from 1 - 126
40 12:45:41.844 hd1-3: 12:45:41.842 Byte 0x11 : Checksum of timestamp
41 12:45:41.844 hd1-3: 12:45:41.842 Byte 0x12 - 0x13: Reserved
42 12:45:41.844 hd1-3: 12:45:41.842 Byte 0x14 - 0x1b: SD or FSD name in ASCII hexadecimal
43 12:45:41.844 hd1-3: 12:45:41.842 Byte 0x1c - 0x1f: Owner ID when written
44 12:45:41.844 hd1-3: 12:45:41.842 Byte 0x20 - 0x1ff: 480 bytes of compression data pattern
45 12:45:41.844 hd1-3: 12:45:41.842
46 12:45:41.844 hd1-3: 12:45:41.842 On the left: the data that was expected ('.' marks unknown value).
47 12:45:41.845 hd1-3: 12:45:41.842 On the right: the data that was found.
48 12:45:41.845 hd1-3: 12:45:41.842
49 12:45:41.866 hd1-3: 12:45:41.844
50 12:45:41.866 hd1-3: 12:45:41.844
51 12:45:41.866 hd1-3: 12:45:41.844
52 12:45:41.866 hd1-3: 12:45:41.845 Corrupted data block for sd=sd4,lun=/dev/sdg; lba: 76,911,140,864 (0x11e842e000) xfersize=8192
53 12:45:41.866 hd1-3: 12:45:41.845
54 12:45:41.866 hd1-3: 12:45:41.845 Data block has 1 key block(s) of 8192 bytes each.
55 12:45:41.866 hd1-3: 12:45:41.845 All key blocks are corrupted.
56 12:45:41.866 hd1-3: 12:45:41.846 Key block lba: 0x11e842e000
57 12:45:41.866 hd1-3: 12:45:41.846 Key block of 8,192 bytes has 16 512-byte sectors.
58 12:45:41.866 hd1-3: 12:45:41.846 Timeline:
59 12:45:41.866 hd1-3: 12:45:41.848 Sat Mar 22 2025 08:27:23.548 CST Sector last written. (As found in the first corrupted sector, timestamp is taken just BEFORE the actual write).
60 12:45:41.866 hd1-3: 12:45:41.848 Sun Mar 23 2025 12:45:41.820 CST Key block first found to be corrupted during a read-before-write.
61 12:45:41.866 hd1-3: 12:45:41.848
62 12:45:41.866 hd1-3: 12:45:41.848 All 16 sectors in this key block are corrupted.
63 12:45:41.866 hd1-3: 12:45:41.848 All corruptions are of the same type:
64 12:45:41.866 hd1-3: 12:45:41.848 ===> Data Validation Key miscompare. Expecting key=0x13 received key=0x12 (19/18)
65 12:45:41.866 hd1-3: 12:45:41.848 Only the FIRST sector will be reported:
66 12:45:41.866 hd1-3: 12:45:41.848
67 12:45:41.866 hd1-3: 12:45:41.848 Data Validation error for sd=sd4,lun=/dev/sdg
68 12:45:41.866 hd1-3: 12:45:41.848 Block lba: 0x11e842e000; sector lba: 0x11e842e000; Key block size: 8192; relative sector in data block: 0x00 ( 0)
69 12:45:41.866 hd1-3: 12:45:41.864 0x000 00000011 e842e000 ........ ........ 00000011 e842e000 00000195 bb3f501c
70 12:45:41.866 hd1-3: 12:45:41.865 0x010 13..0000 20346473 20202020 00000000 12fc0000 20346473 20202020 00003ef5
71 12:45:41.866 hd1-3: 12:45:41.865 There are no mismatches in bytes 32-511
72
73 12:45:41.868 hd1-3: 12:45:41.867 op: read lun: /dev/sdg lba: 76911140864 0x11E842E000 xfer: 8192 errno: 60003: '60003 A Data Validation error was discovered'
74 12:45:42.309 hd1-0: 12:45:42.309 Total amount of key blocks read and validated: 125,396,039; key blocks marked in error: 0
1 Device: /dev/sdg; lba: 0x11e842e000 length: 1024
2
3 lba blk sector data read
4
5 0x0011e842e000 +0x000000 0x000 00000011 e842e000 00000195 bb3f501c (03/22/2025 08:27:23.548 CST) (03/22/2025 00:27:23.548 UTC)
6 0x0011e842e010 +0x000010 0x010 12fc0000 20346473 20202020 00003ef5
7 0x0011e842e020 +0x000020 0x020 016642ea 0e585a1e 285c2ca0 229e24f9
8 0x0011e842e030 +0x000030 0x030 08517f21 3e4aa886 422829b2 112db8a2
9 0x0011e842e040 +0x000040 0x040 5adb98d7 507ecd39 504216f9 3caec44d
10 0x0011e842e050 +0x000050 0x050 1068cc46 2ee691d8 4420417a 76808d3a
11 0x0011e842e060 +0x000060 0x060 5d8b65dc 40b330e0 2f613c1e 57ff3ca2
12 0x0011e842e070 +0x000070 0x070 51316f4c 22e04d63 7a7e3186 00de1b81
13 0x0011e842e080 +0x000080 0x080 0601e6fe 638db309 561d3ea6 21751672
14 0x0011e842e090 +0x000090 0x090 7b527cb3 7038dea5 47fcd48b 51228a6f
15 0x0011e842e0a0 +0x0000a0 0x0a0 6d3ed971 78074e76 7a912329 340258da
16 0x0011e842e0b0 +0x0000b0 0x0b0 0b8a6c9a 187299ec 608c8b02 3a5b43b1
17 0x0011e842e0c0 +0x0000c0 0x0c0 5b15c2a8 43c752d7 4bac1829 4f43923d
18 0x0011e842e0d0 +0x0000d0 0x0d0 5dd06378 6e07aca7 484103ab 1b1dfc87
19 0x0011e842e0e0 +0x0000e0 0x0e0 51303837 2de2ed7c 65103e67 11afe05e
20 0x0011e842e0f0 +0x0000f0 0x0f0 6b5779cd 2492a599 0941035f 5ab1bd0f
21 0x0011e842e100 +0x000100 0x100 7b322768 288eb070 18337106 3edaf7e1
22 0x0011e842e110 +0x000110 0x110 2ff40461 5c28fc50 65382cf8 2289e876
23 0x0011e842e120 +0x000120 0x120 10801e5e 0a421b0c 5f420cc5 3a492cba
24 0x0011e842e130 +0x000130 0x130 5362dbe6 586799f8 66cac968 0c93452e
25 0x0011e842e140 +0x000140 0x140 542792b8 16cd21f5 6e43b8f8 7f5579af
26 0x0011e842e150 +0x000150 0x150 52f2a565 33b16025 578b9054 1ed304e8
27 0x0011e842e160 +0x000160 0x160 7f692a73 18dfb664 77022ea5 7ea98900
28 0x0011e842e170 +0x000170 0x170 080f19f2 7f1fb262 3ef36eb4 0cd7cc07
29 0x0011e842e180 +0x000180 0x180 036503d2 0c834f4b 54320167 69c7bbe1
30 0x0011e842e190 +0x000190 0x190 082e4e81 5fa4fcc0 2edb500c 577cbaa3
31 0x0011e842e1a0 +0x0001a0 0x1a0 2e68fcf9 7b06705e 705d66ad 152732b7
32 0x0011e842e1b0 +0x0001b0 0x1b0 7a9ffc93 58e13ca2 41f7e60b 037e7371
33 0x0011e842e1c0 +0x0001c0 0x1c0 6160fc1d 48da329b 5d10fe22 3961d4cf
34 0x0011e842e1d0 +0x0001d0 0x1d0 20bec961 162888b3 50d77060 3f622460
35 0x0011e842e1e0 +0x0001e0 0x1e0 21e937fa 55e1cbe8 2eca99a8 7bf458f1
36 0x0011e842e1f0 +0x0001f0 0x1f0 6d038ed7 223b983e 01e184c0 712e8ede
37
38 0x0011e842e200 +0x000200 0x000 00000011 e842e200 00000195 bb3f501c (03/22/2025 08:27:23.548 CST) (03/22/2025 00:27:23.548 UTC)