linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Adam Ryczkowski <adam.ryczkowski@statystyka.net>
To: linux-btrfs@vger.kernel.org
Subject: Why does "btrfs send /mnt/btrfs-root" fail with "ERROR: /mnt/btrfs-root is not read-only." even when mounted with option "ro"?
Date: Sat, 16 Feb 2013 23:07:28 +0100	[thread overview]
Message-ID: <51200320.4010205@statystyka.net> (raw)
In-Reply-To: <510F0AE4.4070608@cn.fujitsu.com>

Question as in title.

I did remount my btrfs partition as read-only

(i.e. I did "sudo mount /dev/sda9 /mnt/btrfs-root -o ro")

And when I did
   btrfs send /mnt/btrfs-root >/dev/null
I received "ERROR: /mnt/adama-docs is not read-only."

Although, when I
   sudo touch /mnt/btrfs-root/foo
I get "touch: cannot touch `/mnt/btrfs-root/foo': Read-only file system"


My btrfs --version reads
   Btrfs v0.20-rc1-56-g6cd836d

And uname -r
   3.7.8-030708-generic

Do I miss something obvious? Or should I wait until next kernel version?

-- 
Adam Ryczkowski
+48505919892
Skype:sisteczko


  reply	other threads:[~2013-02-16 22:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-03 13:33 Is it possible to use send & receive features to clone the btrfs partition efficiently (including all snapshots inside)? Adam Ryczkowski
2013-02-04  1:12 ` Chen Yang
2013-02-16 22:07   ` Adam Ryczkowski [this message]
2013-02-16 22:17     ` Why does "btrfs send /mnt/btrfs-root" fail with "ERROR: /mnt/btrfs-root is not read-only." even when mounted with option "ro"? Hugo Mills
2013-02-16 23:14       ` How to clone btrfs partition? Adam Ryczkowski
2013-02-16 23:13         ` Hugo Mills

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=51200320.4010205@statystyka.net \
    --to=adam.ryczkowski@statystyka.net \
    --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).