Re: Allow sending of rw-subvols if file system is mounted ro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 12, 2019 at 2:04 PM Andrei Borzenkov <arvidjaar@xxxxxxxxx> wrote:
>
> 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.

How about if the underlying medium is currently ro?


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




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux