linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Brown <davidb@davidb.org>
To: Marc MERLIN <marc@merlins.org>
Cc: linux-btrfs@vger.kernel.org, Filipe David Manana <fdmanana@gmail.com>
Subject: Re: 3.15-rc5 btrfs send/receive corruption errors? Does scrub
Date: Sat, 10 May 2014 18:59:05 -0700	[thread overview]
Message-ID: <20140511015905.GA29448@davidb.org> (raw)
In-Reply-To: <20140510235717.GB15909@merlins.org>

On Sat, May 10, 2014 at 04:57:18PM -0700, Marc MERLIN wrote:

>On Fri, May 09, 2014 at 11:39:13AM -0700, Anacron wrote:
>> /etc/cron.daily/btrfs-scrub:
>> scrub device /dev/mapper/cryptroot (id 1) done
>> 	scrub started at Fri May  9 06:09:14 2014 and finished after 19153 seconds
>> 	total bytes scrubbed: 646.15GiB with 0 errors
>
>So, does scrub actually make sure everything on my filesystem is sane,
>or can it miss some kinds of corruptions?

Does scrub make sure _anything_ on the filesystem is sane?  I guess it
would detect some failures because the tree is incorrect, but I
thought scrub was mostly about making sure the data match the
checksums.

Just curious, the future "online filesystem check", will that be part
of scrub, or another command.  It seems like it would be common to
want a faster integrity check that doesn't have to read all of the
data as well.

David

  reply	other threads:[~2014-05-11  1:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-10 23:57 3.15-rc5 btrfs send/receive corruption errors? Does scrub Marc MERLIN
2014-05-11  1:59 ` David Brown [this message]
2014-05-11  3:09 ` 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=20140511015905.GA29448@davidb.org \
    --to=davidb@davidb.org \
    --cc=fdmanana@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=marc@merlins.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).