From: David Arendt <admin-/LHdS3kC8BfYtjvyW6yDsg@public.gmane.org>
To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: read checksum verification
Date: Wed, 12 Jul 2023 20:32:13 +0200 [thread overview]
Message-ID: <174f995c-e794-74c4-24d6-52451f3f3f28@prnet.org> (raw)
Hi,
I recently had a bad experience with NILFS (not the fault of NILFS).
I used NILFS over ISCSI. I had random block corruption during one week,
silently destroying data until NILFS finally crashed. First of all, I
thought about a NILFS bug, so I created a BTRFS volume and restored the
backup from one week earlier to it. After minutes, the BTRFS volume gave
checksum errors, so the culrprit was found, the ISCSI server. For now I
will use BTRFS on my ISCSI volumes to not have the same situation again
even if I would prefer using NILFS due to continuous checkpointing. If I
can remember well, NILFS creates checksums on block writes. It would
really be a good addition to verify these checksums on read, so
corruption of this type would be noticed within minutes instead of days
or possible never if rare enough. I think it has been mentioned earlier
that NILFS checksum are not suitable for file verification but only for
block verification. I think the most important is to know that something
nasty is going on, even if the details aren't known, so I think it would
be a good addition the have some sort of data checksum verification on
read in NILFS.
Bye,
David Arendt
next reply other threads:[~2023-07-12 18:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-12 18:32 David Arendt [this message]
[not found] ` <174f995c-e794-74c4-24d6-52451f3f3f28-/LHdS3kC8BfYtjvyW6yDsg@public.gmane.org>
2023-07-12 22:29 ` {WHAT?} read checksum verification Peter Grandi
[not found] ` <25775.10549.41499.886957-Lv72GqZ7opur1GY8YIlKTvXRex20P6io@public.gmane.org>
2023-07-13 4:23 ` David Arendt
[not found] ` <b99d2029-9b96-a016-875e-09b208c0ab9c-/LHdS3kC8BfYtjvyW6yDsg@public.gmane.org>
2023-07-13 20:29 ` Ryusuke Konishi
2023-07-14 19:22 ` David Arendt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=174f995c-e794-74c4-24d6-52451f3f3f28@prnet.org \
--to=admin-/lhds3kc8bfytjvyw6ydsg@public.gmane.org \
--cc=linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).