From: Andrei Borzenkov <arvidjaar@gmail.com>
To: Martin Raiber <martin@urbackup.org>,
"linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: Allow sending of rw-subvols if file system is mounted ro
Date: Tue, 12 Mar 2019 21:00:48 +0300 [thread overview]
Message-ID: <4f6e2661-e828-7a58-0256-d08e1ad40df8@gmail.com> (raw)
In-Reply-To: <0102016972971d54-e7d79438-f177-48d2-ac42-55f162b6b63f-000000@eu-west-1.amazonses.com>
12.03.2019 18:48, Martin Raiber пишет:
> Hi,
>
> I know there are corner cases that probably make this difficult (such as
> remounting the file system rw while a send is in progress), but it would
> be nice if one could send all subvolumes as long as a file system is
> mounted read-only (pretend every subvol ist read-only if the file system
> is mounted read-only).
>
It is possible to mount top level read-only and still mount subvolume
read-write.
> Background/use case:
>
> Through no fault of btrfs, metadata got damaged, which makes a file
> system go read-only after a while and I'd like to btrfs send/receive the
> subvolumes and snapshots that are still readable to another btrfs file
> system (btrfs send/receive being the only option that does this somewhat
> efficiently). Only I cannot send the subvolumes that are not set to
> read-only prior to the file system going read-only.
> I patched the kernel and btrfs-tools (just commenting the checks out) to
> support this in my case, but it would be great if this would be possible
> without patching.
>
> Regards,
> Martin Raiber
>
next prev parent reply other threads:[~2019-03-12 18:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-12 15:48 Allow sending of rw-subvols if file system is mounted ro Martin Raiber
2019-03-12 18:00 ` Andrei Borzenkov [this message]
2019-03-12 18:15 ` Noah Massey
2019-03-13 0:52 ` Chris Murphy
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=4f6e2661-e828-7a58-0256-d08e1ad40df8@gmail.com \
--to=arvidjaar@gmail.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=martin@urbackup.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