Quantcast
Channel: MySQL Forums - InnoDB
Viewing all articles
Browse latest Browse all 1957

innochecksum doesn't rewrite checksums (1 reply)

$
0
0
I run innochecksum to rewrite the crc32 checksums but it doesn't work.

----

innochecksum --log=/tmp/log.txt ./test.ibd

Fail: page 879 invalid
Exceeded the maximum allowed checksum mismatch count::0

/tmp/log.txt shows:

InnoDB File Checksum Utility.
Filename = ./wp_actionscheduler_actions.ibd
Innochecksum: checking pages in range 0 to 5119
page::0; log sequence number:first = 254643106; second = 254643106
page::0; old style: calculated = 1912029061; recorded = 85334617
page::0; new style: calculated = 644652002; crc32 = 85334617; recorded = 85334617
...
page::879; log sequence number:first = 4184146375; second = 1835363957
Fail; page 879 invalid (fails log sequence number check)
...

----

innochecksum --log=/tmp/log2.txt --no-check --write crc32 ./test.ibd

/tmp/log2.txt shows:

InnoDB File Checksum Utility.
Filename = ./wp_actionscheduler_actions.ibd
Innochecksum: checking pages in range 0 to 5119
page::0; Updated checksum field1 = 85334617
page::0; Updated checksum field2 = 85334617
...
page::879; Updated checksum field1 = 3607082240
page::879; Updated checksum field2 = 3607082240
...

Viewing all articles
Browse latest Browse all 1957

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>