RE: how stable are snapshots at the block level?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: linux-btrfs-owner@xxxxxxxxxxxxxxx [mailto:linux-btrfs-
> owner@xxxxxxxxxxxxxxx] 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.

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux