Re: cannot use btrfs for nfs server

Chris Murphy
2021-07-09T16:35:36Z

On Fri, Jul 9, 2021 at 12:53 AM Ulli Horlacher
<framstag@rus.uni-stuttgart.de> wrote:
>
> On Fri 2021-07-09 (01:05), Graham Cobb wrote:

> > You can eliminate the problems by exporting and mounting single
> > subvolumes only
>
> This is not possible at our site, we use rotating snapshots created by a
> cronjob.

These two things sound orthogonal to me. You can have a:

<FS_TREE>/fex which is mounted via fstab using -o subvol=fex /nfs/localhost/fex

And you can separately snapshot fex from the top-level, mounted
anywhere you want, but I kinda like putting such things in /run/
because then they're not in the way for more routine/interactive
locations like /media or /mnt.

But I don't really understand your workflow, or what the fstab or
subvolume setup looks like. Are you able to share the cron job script,
the fstab, and the full subvolume listing? btrfs subvolume list -ta
/nfs/localhost/fex ?

--
Chris Murphy