Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* Allow sending of rw-subvols if file system is mounted ro
@ 2019-03-12 15:48 Martin Raiber
  2019-03-12 18:00 ` Andrei Borzenkov
  2019-03-13  0:52 ` Chris Murphy
  0 siblings, 2 replies; 4+ messages in thread
From: Martin Raiber @ 2019-03-12 15:48 UTC (permalink / raw)
  To: linux-btrfs@vger.kernel.org

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).

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-03-13  0:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2019-03-12 18:15   ` Noah Massey
2019-03-13  0:52 ` Chris Murphy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox