All of lore.kernel.org
 help / color / mirror / Atom feed
From: Edward Ned Harvey <kernel@nedharvey.com>
To: "'Stephane CHAZELAS'" <stephane_chazelas@yahoo.fr>,
	<linux-btrfs@vger.kernel.org>
Subject: RE: how stable are snapshots at the block level?
Date: Tue, 25 Oct 2011 07:46:48 -0400	[thread overview]
Message-ID: <000501cc930b$cae17bc0$60a47340$@nedharvey.com> (raw)
In-Reply-To: <slrnjaavrd.ml8.stephane.chazelas@spam.is.invalid>

> From: linux-btrfs-owner@vger.kernel.org [mailto:linux-btrfs-
> owner@vger.kernel.org] On Behalf Of Stephane CHAZELAS
> 
> 2011-10-24, 09:59(-04), Edward Ned Harvey:
> [...]
> > If you are reading the raw device underneath btrfs, you are
> > not getting the benefit of the filesystem checksumming.  If
> > you encounter an undetected read/write error, it will silently
> > pass.  Your data will be corrupted, you'll never know about it
> > until you see the side-effects (whatever they may be).
> [...]
> 
> I don't follow you here. If you're cloning a device holding a
> btrfs FS, you'll clone the checksums as well. If there were
> errors, they will be detected on the cloned FS as well?

You're right and I'm right.  You will have read them, transferred them, and
written them without checking them.  So any corruption at this point is
undetected.  But later when you mount the destination FS, you would then be
checking checksums again.


> > There is never a situation where block level copies have any
> > advantage over something like btrfs send.  Except perhaps
> > forensics or espionage.  But in terms of fast efficient
> > reliable backups, btrfs send has every advantage and no
> > disadvantage compared to block level copy.
> 
> $ btrfs send
> ERROR: unknown command 'send'
> Usage:
> [...]
> 
> (from 2011-10-12 integration branch). Am I missing something?

As previously mentioned in this thread, btrfs send (or whatever it will be
called) is not available yet.

My suggestion to the OP of this thread is to use rsync for now, wait for
btrfs send, or switch to zfs.


  reply	other threads:[~2011-10-25 11:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-23  7:45 how stable are snapshots at the block level? Mathijs Kwik
2011-10-23 14:08 ` Edward Ned Harvey
2011-10-23 15:19   ` Mathijs Kwik
2011-10-24 12:36     ` Stephane CHAZELAS
2011-10-24 13:59     ` Edward Ned Harvey
2011-10-24 15:08       ` Stephane CHAZELAS
2011-10-25 11:46         ` Edward Ned Harvey [this message]
2011-10-25 12:01           ` Stephane CHAZELAS
2011-10-25 12:04             ` Edward Ned Harvey
2011-10-23 16:05 ` Chris Mason
2011-10-23 16:41   ` Mathijs Kwik

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='000501cc930b$cae17bc0$60a47340$@nedharvey.com' \
    --to=kernel@nedharvey.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=stephane_chazelas@yahoo.fr \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.