From: Kai Krakow <hurikhan77+btrfs@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: Re: data integrity in btrfs
Date: Fri, 30 Dec 2011 14:44:47 +0100 [thread overview]
Message-ID: <brr0t8-c3q.ln1@hurikhan.ath.cx> (raw)
In-Reply-To: 135528.24428.61333-23184-1070446607-1325251786@email.cz
As long as you create your data and metadata with a mirror policy, you can
use btrfs scrubbing to find and correct broken data blocks. I think latest
kernels also so this "repairing" online.
It works by finding a mirrored block with correct checksum if the block in
question has a bad checksum.
Jaromir Zdrazil <jaromir.zdrazil@email.cz> schrieb:
> Hi again,
>
> I know that ZFS include data integrity verification against data
> corruption modes using propably SHA256.
>
> By sketchy readings at https://btrfs.wiki.kernel.org/index.html ,
> http://en.wikipedia.org/wiki/Btrfs and other sources I have found just
> that there is Sha32C used and that it should be similar to ZFS.
>
> How are data faults detected and repaired ni BRTFS? If the answer could
> be simple and precize, I would be more than happy.
>
> Thank you! Gone to lunch ;O)
>
> Jaromir
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2011-12-30 13:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-30 13:29 data integrity in btrfs Jaromir Zdrazil
2011-12-30 13:38 ` Hugo Mills
2011-12-30 13:44 ` Kai Krakow [this message]
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=brr0t8-c3q.ln1@hurikhan.ath.cx \
--to=hurikhan77+btrfs@gmail.com \
--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).