linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Lai <m@matthewlai.ca>
To: linux-btrfs@vger.kernel.org
Subject: Receive on same subvolume
Date: Wed, 29 Jan 2014 13:26:53 -0800	[thread overview]
Message-ID: <52E9721D.6000908@matthewlai.ca> (raw)

Hello,

Is this supposed to work? (/data is the root volume, /data/a is a subvolume)

btrfs subvolume snapshot /data/a /data/b
# make some changes in b
btrfs send -p /data/a /data/b > delta
btrfs receive /data/a < delta

I'm getting "ERROR: could not find parent subvolume" on receive.

What I'm trying to do is to back up using send/receive, but I don't have 
50% free space, and (please correct me if I'm wrong) since receive 
doesn't do deduplication, I want to use snapshot to do the initial 
bootstrapping, instead of send/receive without a parent.

Thanks!
Matthew

             reply	other threads:[~2014-01-29 21:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-29 21:26 Matthew Lai [this message]
2014-02-03 13:18 ` Receive on same subvolume Felix Blanke
2014-02-03 17:30 ` Chris Murphy
2014-02-03 18:19   ` Matthew Lai
2014-02-03 19:26     ` Chris Murphy
2014-02-03 22:53       ` Matthew Lai
2014-02-04  0:34         ` Chris Murphy
2014-02-04  1:06           ` Matthew Lai

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=52E9721D.6000908@matthewlai.ca \
    --to=m@matthewlai.ca \
    --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).