All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Welsh Duggan <mwd@md5i.com>
To: linux-btrfs@vger.kernel.org
Subject: Why do I have to remount to receive?
Date: Tue, 09 Dec 2014 19:10:29 -0500	[thread overview]
Message-ID: <87k320mkju.fsf@maru2.md5i.com> (raw)

Version information:

  # btrfs --version
  Btrfs v3.17
  # uname -a
  Linux maru2 3.16.0-4-amd64 #1 SMP Debian 3.16.7-2 (2014-11-06) x86_64 GNU/Linux

In the following system, /backup is a mounted subvolume.  The initial
send/receive worked, but when trying to send an incremental I get the
following warning:

  # btrfs send -p /snapshots/2014-12-09 /snapshots/test | btrfs receive -vvv /backup/snapshots/root/
  At subvol /snapshots/test
  At snapshot test
  receiving snapshot test uuid=9c72c30a-04c0-6442-9a9a-7ee9c56014e2, ctransid=1030360 parent_uuid=4eb30116-2c1a-f94d-b964-98cd41262dfb, parent_ctransid=1030202
  It seems that you have changed your default subvolume or you specify other subvolume to
  mount btrfs, try to remount this btrfs filesystem with fs tree, and run btrfs receive again!

I understand what it is saying, but I have to ask, why?  Why does it or
should it need me to remount the root fs to do an incremental receive?

-- 
Michael Welsh Duggan
(md5i@md5i.com)


                 reply	other threads:[~2014-12-10  0:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87k320mkju.fsf@maru2.md5i.com \
    --to=mwd@md5i.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.