From: Stephane Chazelas <stephane_chazelas@yahoo.fr>
To: "krzf83@gmail.com " <krzf83@gmail.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: feature request: btrfs-image without zeroing data
Date: Mon, 11 Jul 2011 10:31:56 +0100 [thread overview]
Message-ID: <20110711093156.GB2537@yahoo.fr> (raw)
In-Reply-To: <CAJ1PRSn6TBnzXaSQSEffb15oH4+jncKE5ydCipcT6HHt1U=GLw@mail.gmail.com>
2011-07-11 02:00:51 +0200, krzf83@gmail.com :
> Documentation says that btrfs-image zeros data. Feature request is for
> disabling this. btrfs-image could be used to copy filesystem to
> another drive (for example with snapshots, when copying it file by
> file would take much longer time or acctualy was not possible
> (snapshots)). btrfs-image in turn could be used to actualy shrink loop
> devices/sparse file containing btrfs - by copying filesystem to new
> loop device/sparse file.
>
> Also it would be nice if copying filesystem could occour without
> intermediate dump to a file...
[...]
I second that.
See also
http://thread.gmane.org/gmane.comp.file-systems.btrfs/9675/focus=9820
for a way to transfer btrfs fs.
(Add a layer of "copy-on-write" on the original devices (LVM
snapshots, nbd/qemu-nbd cow...), "btrfs add" the new device(s)
and then "btrfs del" of the cow'ed original devices.
--
Stephane
next prev parent reply other threads:[~2011-07-11 9:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-11 0:00 feature request: btrfs-image without zeroing data krzf83@gmail.com
2011-07-11 9:31 ` Stephane Chazelas [this message]
2011-07-11 12:39 ` krzf83@gmail.com
2011-07-11 12:58 ` Stephane Chazelas
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=20110711093156.GB2537@yahoo.fr \
--to=stephane_chazelas@yahoo.fr \
--cc=krzf83@gmail.com \
--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).