Re: cannot use btrfs for nfs server
From: Chris Murphy <hidden>
Date: 2021-07-09 16:35:36
On Fri, Jul 9, 2021 at 12:53 AM Ulli Horlacher [off-list ref] wrote:
On Fri 2021-07-09 (01:05), Graham Cobb wrote:
quoted
You can eliminate the problems by exporting and mounting single subvolumes onlyThis 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