linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hans van Kranenburg <hans.van.kranenburg@mendix.com>
To: Cerem Cem ASLAN <ceremcem@ceremcem.net>,
	Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: How to ensure that a snapshot is not corrupted?
Date: Wed, 15 Aug 2018 01:33:56 +0200	[thread overview]
Message-ID: <e7f68ff6-fc0f-a2ca-06d1-f364c378f8fc@mendix.com> (raw)
In-Reply-To: <CAN4oSBd9aVn9Ruv83fd=oE4hJhGw7y3f1EbJ+SNbHMZZyZo=Mw@mail.gmail.com>

On 08/10/2018 12:07 PM, Cerem Cem ASLAN wrote:
> Original question is here: https://superuser.com/questions/1347843
> 
> How can we sure that a readonly snapshot is not corrupted due to a disk failure?
> 
> Is the only way calculating the checksums one on another and store it
> for further examination, or does BTRFS handle that on its own?

It's no different than any other data stored in your filesystem.

So when just reading things from the snapshot, or when using the btrfs
scrub functionality, it will tell you if data that is read back matches
the checksums.

-- 
Hans van Kranenburg

  reply	other threads:[~2018-08-15  2:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-10 10:07 How to ensure that a snapshot is not corrupted? Cerem Cem ASLAN
2018-08-14 23:33 ` Hans van Kranenburg [this message]
2018-08-15 11:35 ` Austin S. Hemmelgarn

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=e7f68ff6-fc0f-a2ca-06d1-f364c378f8fc@mendix.com \
    --to=hans.van.kranenburg@mendix.com \
    --cc=ceremcem@ceremcem.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).