linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Copying a disk containing a btrfs filesystem
@ 2014-04-10 13:21 Michael Schuerig
  2014-04-10 13:58 ` Duncan
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Michael Schuerig @ 2014-04-10 13:21 UTC (permalink / raw)
  To: linux-btrfs, linux-btrfs


SMART indicates that my notebook disk may soon be failing (an 
unreadable/uncorrectable sector), therefore I intend to exchange it. The 
disk contains a single btrfs filesystem with several nested(!) 
subvolumes, each with several read-only snapshots in a .snapshots 
subdirectory.

As far as I can tell, btrfs currently does not offer a sensible way to  
duplicate the entire contents of the old disk onto a new one. I can use 
cp, rsync, or send/receive to copy the "main" subvolumes. But unless I'm 
missing something obvious, the snapshots are effectively lost. btrfs 
send optionally takes multiple clone sources, but I've never seen an 
example of its usage.

If that's what "experimental" means, I'm willing to accept it. However, 
I'd like to emphasize that there's still something missing. Of course, 
most of all I'd like to be proved wrong.

Michael

-- 
Michael Schuerig
mailto:michael@schuerig.de
http://www.schuerig.de/michael/

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-04-16 11:12 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-10 13:21 Copying a disk containing a btrfs filesystem Michael Schuerig
2014-04-10 13:58 ` Duncan
2014-04-10 14:53   ` Michael Schuerig
2014-04-10 14:00 ` George Eleftheriou
2014-04-10 15:15   ` Duncan
2014-04-10 15:51     ` Michael Schuerig
2014-04-10 16:01       ` George Eleftheriou
2014-04-10 16:24         ` Michael Schuerig
2014-04-11  0:35           ` Duncan
2014-04-10 18:15       ` Martin Steigerwald
2014-04-10 17:17 ` Jan Kouba
2014-04-10 18:36   ` Michael Schuerig
2014-04-10 22:25     ` Jan Kouba
2014-04-11 10:39 ` Brendan Hide
2014-04-16 11:12   ` Michael Schuerig

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).