If a heirarchy of nfsshared ZFS filesystems exists, and a non-leaf filesystem has its nfsshare property changed, the children have their zfs property properly changed, however the current nfs export-state is not changed for the children. How-To-Repeat: # zfs create -o sharenfs="node1" tank/exports/top # zfs create tank/exports/top/bottom # showmount -e localhost /tank/exports/top/bottom node1 /tank/exports/top node1 # zfs set sharenfs="node2" tank/exports/top # showmount -e localhost /tank/exports/top/bottom node1 /tank/exports/top node2 # zfs get sharenfs tank/exports/top NAME PROPERTY VALUE SOURCE tank/exports/top sharenfs node2 local # zfs get sharenfs tank/exports/top/bottom NAME PROPERTY VALUE SOURCE tank/exports/top/bottom sharenfs node2 inherited from tank/exports/top
Responsible Changed From-To: freebsd-bugs->pjd Reassign to Pawel since this appears to be affecting ZFS. Pawel can you have a look at this please?
Responsible Changed From-To: pjd->freebsd-fs With pjd's permission, reassing ZFS-related PRs to freebsd-fs.
State Changed From-To: open->closed The problem you described was related to buggy detection of shared file systems which I just fixed. With this fix I'm not able to reproduce your problem, sharenfs property on parent changes children too as confirmed with 'showmount -e'. Thanks for the report!
Responsible Changed From-To: freebsd-fs->pjd I'll take this one.