Skip to Main Content

Hardware

Announcement

Testing banner

vdbench data miscompare help~

3925314Mar 28 2019 — edited Mar 28 2019

my version is 50407

a data miscompare occur  when i test my storage,i find my storage received 3 io in same lba,two writes and one read,the  read want to meet the fisrt write,but the read happen after the second write,so data miscompare

[root@HN_0_1 VDBENCH]# cat oldcomfig

messagescan=no

sd=default,openflags=o_direct,threads=16

sd=sd1,lun=/dev/sdl

sd=sd2,lun=/dev/sdm

sd=sd3,lun=/dev/sdn

sd=sd4,lun=/dev/sdo

sd=sd5,lun=/dev/sdp

sd=sd6,lun=/dev/sdq

sd=sd7,lun=/dev/sdr

sd=sd8,lun=/dev/sds

sd=sd9,lun=/dev/sdt

sd=sd10,lun=/dev/sdu

wd=wd1,sd=sd*,seekpct=100,rdpct=70,xfersize=(8k,40,32k,10,16k,40,256k,10)

rd=run1,wd=wd*,iorate=max,elapsed=100000,interval=1

20:04:04.143 localhost-7: 20:04:04.140

20:04:04.189 localhost-7: 20:04:04.140 Time of first corruption: Thu Mar 28 2019 20:04:04.140 EDT

20:04:04.189 localhost-7: 20:04:04.140

20:04:04.190 localhost-7: 20:04:04.140 At least one Data Validation error has been detected.                            

20:04:04.190 localhost-7: 20:04:04.140

20:04:04.190 localhost-7: 20:04:04.140 Terminology:                                                                     

20:04:04.190 localhost-7: 20:04:04.140 - Data block: a block of xfersize= bytes.                                        

20:04:04.190 localhost-7: 20:04:04.140 - Key block:  the smallest xfersize specified by the user which is the unit of   

20:04:04.190 localhost-7: 20:04:04.141               data that Data Validation keeps track of.                          

20:04:04.190 localhost-7: 20:04:04.141 - Sector:     512 bytes of disk storage, regardless of actual storage sector size.

20:04:04.190 localhost-7: 20:04:04.141 - Lba:        Logical Byte Address, not to be confused with Logical Block Address.

20:04:04.190 localhost-7: 20:04:04.141

20:04:04.190 localhost-7: 20:04:04.141

20:04:04.190 localhost-7: 20:04:04.141 The output starts with a summary of a data block, followed by a summary of each  

20:04:04.190 localhost-7: 20:04:04.141 key block. If all sectors in a key block show a similar type of data corruption  

20:04:04.190 localhost-7: 20:04:04.141 only the FIRST sector of the key block will be reported.                         

20:04:04.190 localhost-7: 20:04:04.141 For all other cases, ALL sectors will be reported.                               

20:04:04.190 localhost-7: 20:04:04.141

20:04:04.190 localhost-7: 20:04:04.141 Contents of the first 32 bytes of each sector:                                   

20:04:04.190 localhost-7: 20:04:04.141

20:04:04.190 localhost-7: 20:04:04.141 Byte 0x00 -  0x07: Byte offset of this disk block

20:04:04.190 localhost-7: 20:04:04.141 Byte 0x08 -  0x0f: Timestamp: number of milliseconds since 1/1/1970

20:04:04.191 localhost-7: 20:04:04.141 Byte 0x10        : Data Validation key from 1 - 126

20:04:04.191 localhost-7: 20:04:04.141 Byte 0x11        : Checksum of timestamp

20:04:04.191 localhost-7: 20:04:04.141 Byte 0x12 -  0x13: Reserved

20:04:04.191 localhost-7: 20:04:04.141 Byte 0x14 -  0x1b: SD or FSD name in ASCII hexadecimal

20:04:04.191 localhost-7: 20:04:04.141 Byte 0x1c -  0x1f: Owner ID when written

20:04:04.191 localhost-7: 20:04:04.141 Byte 0x20 - 0x1ff: 480 bytes of compression data pattern

20:04:04.191 localhost-7: 20:04:04.142

20:04:04.191 localhost-7: 20:04:04.142 On the left:  the data that was expected ('.' marks unknown value).

20:04:04.191 localhost-7: 20:04:04.142 On the right: the data that was found.

20:04:04.191 localhost-7: 20:04:04.142

20:04:04.192 localhost-7: 20:04:04.143

20:04:04.192 localhost-7: 20:04:04.144

20:04:04.192 localhost-7: 20:04:04.144

20:04:04.192 localhost-7: 20:04:04.144 Corrupted data block for sd=sd8,lun=/dev/sds; lba: 24,576,524,288 (0x5b8e00000) xfersize=262144

20:04:04.192 localhost-7: 20:04:04.144

20:04:04.192 localhost-7: 20:04:04.144 Data block has 32 key block(s) of 8192 bytes each.

20:04:04.192 localhost-7: 20:04:04.144 4 of 32 key blocks are corrupted.

20:04:04.192 localhost-7: 20:04:04.144 Key block lba: 0x5b8e38000

20:04:04.192 localhost-7: 20:04:04.144    Key block of 8,192 bytes has 16 512-byte sectors.

20:04:04.192 localhost-7: 20:04:04.145    Timeline:

20:04:04.192 localhost-7: 20:04:04.147    Thu Mar 28 2019 20:04:02.202 EDT Sector last written. (As found in the first corrupted sector, timestamp is taken just BEFORE the actual write).

20:04:04.192 localhost-7: 20:04:04.147    Thu Mar 28 2019 20:04:04.114 EDT Key block first found to be corrupted during a workload requested read.

20:04:04.192 localhost-7: 20:04:04.147

20:04:04.192 localhost-7: 20:04:04.147    All 16 sectors in this key block are corrupted.

20:04:04.192 localhost-7: 20:04:04.147    All corruptions are of the same type:

20:04:04.192 localhost-7: 20:04:04.147    ===> Data Validation Key miscompare. Expecting key=0x07 received key=0x28 (7/40)

20:04:04.192 localhost-7: 20:04:04.147    ===> Bad owner id. Expecting 0x2a25 (10789) but found 0x29a24

20:04:04.192 localhost-7: 20:04:04.147    Only the FIRST sector will be reported:

20:04:04.192 localhost-7: 20:04:04.147

20:04:04.192 localhost-7: 20:04:04.147         Data Validation error for sd=sd8,lun=/dev/sds

20:04:04.192 localhost-7: 20:04:04.147         Block lba: 0x5b8e38000; sector lba: 0x5b8e38000; Key block size: 8192; relative sector in data block: 0x00 ( 0)

20:04:04.192 localhost-7: 20:04:04.165 0x000   00000005 b8e38000 ........ ........   00000005 b8e38000 00000169 c6c2b21a

20:04:04.192 localhost-7: 20:04:04.165 0x010   07..0000 20386473 20202020 00000000   28be0000 20386473 20202020 00029a24

20:04:04.192 localhost-7: 20:04:04.165         There are no mismatches in bytes 32-511

20:04:04.193 localhost-7: 20:04:04.166 Key block lba: 0x5b8e3a000

20:04:04.193 localhost-7: 20:04:04.166    Key block of 8,192 bytes has 16 512-byte sectors.

20:04:04.193 localhost-7: 20:04:04.166    Timeline:

20:04:04.193 localhost-7: 20:04:04.167    Thu Mar 28 2019 20:04:02.202 EDT Sector last written. (As found in the first corrupted sector, timestamp is taken just BEFORE the actual write).

20:04:04.193 localhost-7: 20:04:04.167    Thu Mar 28 2019 20:04:04.127 EDT Key block first found to be corrupted during a workload requested read.

20:04:04.193 localhost-7: 20:04:04.167

20:04:04.193 localhost-7: 20:04:04.167    All 16 sectors in this key block are corrupted.

20:04:04.193 localhost-7: 20:04:04.167    All corruptions are of the same type:

20:04:04.193 localhost-7: 20:04:04.167    ===> Data Validation Key miscompare. Expecting key=0x67 received key=0x13 (103/19)

20:04:04.193 localhost-7: 20:04:04.167    ===> Bad owner id. Expecting 0x2a25 (10789) but found 0x29a24

20:04:04.193 localhost-7: 20:04:04.167    Only the FIRST sector will be reported:

20:04:04.193 localhost-7: 20:04:04.167

20:04:04.193 localhost-7: 20:04:04.167         Data Validation error for sd=sd8,lun=/dev/sds

20:04:04.193 localhost-7: 20:04:04.167         Block lba: 0x5b8e3a000; sector lba: 0x5b8e3a000; Key block size: 8192; relative sector in data block: 0x00 ( 0)

20:04:04.193 localhost-7: 20:04:04.173 0x000   00000005 b8e3a000 ........ ........   00000005 b8e3a000 00000169 c6c2b21a

20:04:04.193 localhost-7: 20:04:04.173 0x010   67..0000 20386473 20202020 00000000   13be0000 20386473 20202020 00029a24

20:04:04.193 localhost-7: 20:04:04.173         There are no mismatches in bytes 32-511

20:04:04.194 localhost-7: 20:04:04.174 Key block lba: 0x5b8e3c000

20:04:04.194 localhost-7: 20:04:04.174    Key block of 8,192 bytes has 16 512-byte sectors.

20:04:04.194 localhost-7: 20:04:04.174    Timeline:

20:04:04.194 localhost-7: 20:04:04.174    Thu Mar 28 2019 20:04:02.202 EDT Sector last written. (As found in the first corrupted sector, timestamp is taken just BEFORE the actual write).

20:04:04.194 localhost-7: 20:04:04.174    Thu Mar 28 2019 20:04:04.133 EDT Key block first found to be corrupted during a workload requested read.

20:04:04.194 localhost-7: 20:04:04.174

20:04:04.194 localhost-7: 20:04:04.174    All 16 sectors in this key block are corrupted.

20:04:04.194 localhost-7: 20:04:04.174    All corruptions are of the same type:

20:04:04.194 localhost-7: 20:04:04.174    ===> Data Validation Key miscompare. Expecting key=0x36 received key=0x67 (54/103)

20:04:04.194 localhost-7: 20:04:04.174    ===> Bad owner id. Expecting 0x2a25 (10789) but found 0x29a24

20:04:04.194 localhost-7: 20:04:04.174    Only the FIRST sector will be reported:

20:04:04.194 localhost-7: 20:04:04.174

20:04:04.194 localhost-7: 20:04:04.174         Data Validation error for sd=sd8,lun=/dev/sds

20:04:04.194 localhost-7: 20:04:04.174         Block lba: 0x5b8e3c000; sector lba: 0x5b8e3c000; Key block size: 8192; relative sector in data block: 0x00 ( 0)

20:04:04.194 localhost-7: 20:04:04.180 0x000   00000005 b8e3c000 ........ ........   00000005 b8e3c000 00000169 c6c2b21a

20:04:04.194 localhost-7: 20:04:04.180 0x010   36..0000 20386473 20202020 00000000   67be0000 20386473 20202020 00029a24

20:04:04.194 localhost-7: 20:04:04.180         There are no mismatches in bytes 32-511

Comments
Post Details
Added on Mar 28 2019
2 comments
599 views