I've had an NFSv4 setup working for several years on my NAS. There's a 4 drive RAIDZ1 mounted on /nas01.
The path /nas01/backups is used by several servers.
Recently, I upgraded from 12.x-R to 14.1-R, and set up a new ZFS file system with extreme compression (zstd-19) on /nas01/backups/livefs
There's two issues here.
1. After the upgrade, FreeBSD has started reporting
2. I cannot find a valid line that will export the new file system /nas01/backups/livefs. The usual error is
I think what's happening is that mountd doesn't like me trying to export a mount point whose path is within another mount point?
Just for curiosity, I tried explicitly listing the base mount point /nas01 (and only that) as a valid export, but that didn't work.
Is there some way to tell NFS to export the damn thing? Is it something to do with exporting both /nas01/backups (which is not a mount point) and /nas01/backups/livefs (which is a mount point)?
Here's my /etc/exports (slightly censored)
Here's the ZFS filesystems mounted that reference /nas01:
Thanks in advance.
The path /nas01/backups is used by several servers.
Recently, I upgraded from 12.x-R to 14.1-R, and set up a new ZFS file system with extreme compression (zstd-19) on /nas01/backups/livefs
There's two issues here.
1. After the upgrade, FreeBSD has started reporting
Warning: exporting /nas01/backups exports entire /nas01 file system - presumably a security issue if untrusted clients can access the next level up, but things seem to work otherwise2. I cannot find a valid line that will export the new file system /nas01/backups/livefs. The usual error is
bad exports list line '/nas01/backups /nas01/backups/livefs': fsid mismatch. There's very little information about "fsid mismatch" that I can find, and most just seems to be source code, so I am having difficulty understanding this error.I think what's happening is that mountd doesn't like me trying to export a mount point whose path is within another mount point?
Just for curiosity, I tried explicitly listing the base mount point /nas01 (and only that) as a valid export, but that didn't work.
Is there some way to tell NFS to export the damn thing? Is it something to do with exporting both /nas01/backups (which is not a mount point) and /nas01/backups/livefs (which is a mount point)?
Here's my /etc/exports (slightly censored)
Code:
/nas01/backups /nas01/backups/livefs -mapall=nas:nas 192.168.xx.xx 192.168.xx.xx ......
/nas01/backups -mapall=nas:nas 192.168.xx.xx
Here's the ZFS filesystems mounted that reference /nas01:
Code:
zfs18 /nas01
zfs18/livefs /nas01/backups/livefs
Thanks in advance.