linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* raw fs backup/copy
@ 2011-01-06 16:36 Ivan Labáth
       [not found] ` <20110106183507.GA19633@carfax.org.uk>
  0 siblings, 1 reply; 2+ messages in thread
From: Ivan Labáth @ 2011-01-06 16:36 UTC (permalink / raw)
  To: linux-btrfs

Is there a reason one can not mount a btrfs and it's byte-for-byte
copy in parallel, or is the driver just acting silly?

Mini example:
# dd if=/dev/zero of=fs1 bs=1 count=1 seek=$((1024*1024*1024-1))
# mkfs.btrfs fs1
# cp --sparse=always fs1 fs2
# mkdir 1 2
# mount fs1 1 -o loop
# mount fs2 2 -o loop
# touch 1/1
# ls 2
1
# cat /proc/mounts
/dev/loop0 /tmp/test/1 btrfs rw,relatime 0 0
/dev/loop1 /tmp/test/2 btrfs rw,relatime 0 0

--
ivan

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

end of thread, other threads:[~2011-01-06 19:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-06 16:36 raw fs backup/copy Ivan Labáth
     [not found] ` <20110106183507.GA19633@carfax.org.uk>
2011-01-06 19:26   ` Ivan Labáth

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