Multiple NFS share for same path

freonheat

Cadet
Joined
Nov 15, 2023
Messages
1
Hi! We have the need to setup multiple NFS exports for the same path, but with different mount settings. The reason is that we want to have one export that is read/write for one computer, and another that is read-only for any other machine.

This used to work with TrueNAS Scale, no problem. The working Linux equivalent would be:

$ cat /etc/exports
/mnt/pool1/archive/media 172.16.1.1(rw)
/mnt/pool1/archive/media *(ro)


But after we updated to 23.10.0.1 we now get this message when we try to alter the second one that was already set up:

"ERROR: - Export conflict. This share is exported to everybody and another share exports /mnt/pool1/archive/media for 172.16.1.1"

So it looks like TrueNAS Scale is now detecting and preventing overlaps. The problem is that this ruins the ability to have multiple shares for the same path, using different settings. Is there some other way to accomplish this? (Maybe I am approaching things incorrectly). Thanks!
 
Top