Where is the nfs share crossmnt option?

Hi Everyone,

I’m migrating from Proxmox (non-prod) where I was manually using zfs property sharenfs to share to the other cluster nodes, and moving them into Truenas CE. The only issue I’m having is I have a handful of top-level datasets, and some of them additionally have a collection of datasets inside.

I was using crossmnt previously to share the subdatasets. No permissions issues, the whole tree is common, datasets are just to permit different zfs parameters.

I saw another post about this regarding snapshots, and enterprise eventually got an “expose snapshots” feature, but the core issue was missed. There is no way to enable crossmount that I can see in a supported way. I don’t want the wild west, just the expected options that are supported by NFS and actually really valuable. Crossmnt seems like a no-brainer but I’ve been hacking at this for hours.

I know I could make a share for every single sub-dataset, but that’s a lot of extra work to get around a function that already exists in the protocol.

Any other way to do this?

This is exactly the problem, hacking the middleware to restore base functionality of fundamental parameter of the core networking share standard.

That is the exact thread I was reading, with many enterprise users requesting it. The feature request was to add the crossmmnt option, with one usecase being access to the snapshots, so they added the snapshots feature, paywalled, and never address the actual issue as requested.

I understand the “appliance” point of view, and supporting too much making it too easy to break, but I really don’t get this one. This feature request has been made and closed a couple times I think?

I don’t get it either, but at the end of the day that post managed 12 votes. Sorry, you need to come to terms with the product not being made for the way you want to use it.

Is there a method to clone or template an existing share and just point it to the next share? Nothing on the nfs side is changing other than the target, over and over for each sibling dataset with the same permissions and the same permitted IP addresses.

No, but you could create shares via API following a template: sharing.nfs.create — TrueNAS API v25.10.2 documentation