CRC failures

Tomohiro Kusumi kusumi.tomohiro at gmail.com
Wed Nov 23 06:05:38 PST 2016


CRC failure stuff in hammer1 is basically a mismatch between ondisk
CRC vs whatever data's CRC when that data is read from a disk, so it's
likely that either was corrupted.

Many of the CRC failures end up calling panic() which leads to kernel
panic (but not this one). There was a discussion on irc a few weeks
ago about how fs should handle CRC failure, because some users would
rather prefer to leave the fs as it is without going into panic so the
fs is at least usable at the moment with broken data or meta data.

(I wouldn't go far as to make any change with regards to consequence
of CRC failure. It's a design level stuff which should be up to
dillon at .)


2016-11-23 17:43 GMT+09:00 PeerCorps Trust Fund <ipc at peercorpstrust.org>:
> Hi all,
>
> I don't think I have seen anywhere else in past mailing lists an example of
> corruption on a HAMMER filesystem. But I loaded an old disk today with some
> nonessential files and began copying them off to another machine. Towards
> the end of the copy operation the console printed out the the below.
>
> Perhaps this may be useful information to someone who someday finds
> something similar in their console.
>
> hammer_load_node: CRC B-TREE NODE @ 800000e390268000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390267000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026b000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026c000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026f000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026e000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390267000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026a000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026c000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390267000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390269000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026b000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026c000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026a000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390269000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026d000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026e000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390267000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390269000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026a000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026c000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026d000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390268000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026f000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026e000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026b000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026a000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026b000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026f000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390267000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390269000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026d000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390268000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026c000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026e000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390269000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026a000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026f000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026e000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026c000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026b000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390267000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390268000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026d000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390267000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390268000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026a000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026d000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026c000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026e000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026f000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026b000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390269000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026a000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026d000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026c000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026b000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390268000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026e000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390267000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026f000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390267000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390269000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026b000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026a000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026c000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026f000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026f000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026e000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026a000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390269000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390267000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390268000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026c000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026d000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026c000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026f000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390267000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390268000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390269000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026a000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026b000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026c000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026d000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026e000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390268000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026b000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390269000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390267000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390268000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390269000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026a000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026b000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026c000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026d000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026e000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026f000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390267000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026a000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390269000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026e000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026f000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026c000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390267000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026b000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026a000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026f000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026e000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026c000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026d000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390268000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390267000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026b000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026a000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026e000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026d000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390267000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390268000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026b000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026c000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390267000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026a000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390269000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026f000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026e000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026c000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026d000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390268000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026c000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026b000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390267000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026a000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390269000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026e000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026f000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026c000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026d000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390268000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026b000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390267000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390269000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026a000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026e000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026d000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390268000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026b000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026f000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e39026c000/4096 FAILED
> hammer_load_node: CRC B-TREE NODE @ 800000e390267000/4096 FAILED
>
> --
> Michael
>



More information about the Users mailing list