From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: Meaning of "no_csum" field when scrubbing with -R option
Date: Thu, 20 Feb 2014 11:16:47 +0000 (UTC) [thread overview]
Message-ID: <pan$80644$31e17f17$3235a144$9c73675@cox.net> (raw)
In-Reply-To: 5305DE1E.8080302@cn.fujitsu.com
Wang Shilong posted on Thu, 20 Feb 2014 18:51:10 +0800 as excerpted:
> On 02/20/2014 06:31 PM, Duncan wrote:
>> Sebastian Ochmann posted on Wed, 19 Feb 2014 13:58:17 +0100 as
>> excerpted:
>>
>>> So my question is, why does scrub show a high (i.e. non-zero) value
>>> for no_csum? I never enabled nodatasum or a similar option.
> Did you enable nodatacow option? if nodatacow option is enabled,
> data checksums will be also disabled at the same time.
I have not. Everything here is standard checksummed COW, which is why I
wondered why I was seeing the no_csum results.
Tho in my case there's few enough I thought it might have been triggered
by some other abnormality.
(In particular, I was suspending-to-ram for awhile, and if I left the
system suspended too long, the disks wouldn't wake up fast enough on
resume and one of the raid1 pair would often drop out, forcing the
filesystem to read-only and generally a pretty quick reboot, after which
I'd have to do a scrub to sync the raid1 back up. I had guessed the no-
csum instances might have been half-written at the suspend, but it
bothered me.
That was a couple kernels ago, tho. I decided to quit risking the
suspend-to-ram since I was sometimes having to reboot anyway and I did
end up with a file or two corrupted (even after scrub) as a result, so
I've not had that issue or had any other scrub errors in some months
now. I've thought I should try it again and see if it works better now,
but I haven't done so yet.)
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
next prev parent reply other threads:[~2014-02-20 11:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-19 12:58 Meaning of "no_csum" field when scrubbing with -R option Sebastian Ochmann
2014-02-20 10:31 ` Duncan
2014-02-20 10:51 ` Wang Shilong
2014-02-20 11:16 ` Duncan [this message]
2014-02-20 11:25 ` Meaning of \"no_csum\" " Sebastian Ochmann
2014-02-20 12:38 ` Wang Shilong
2014-02-21 2:30 ` Wang Shilong
2014-02-21 8:00 ` Duncan
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='pan$80644$31e17f17$3235a144$9c73675@cox.net' \
--to=1i5t5.duncan@cox.net \
--cc=linux-btrfs@vger.kernel.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).