February 4, 20224 yr I am trying to export a given NFS share to a number of networks, basically 2 groups of networks, and each group has their own options. Here are the problems I ran into: (A) the text field used by the UI limits the number of characters that it can take. If I have to enumerate the options for each network, the whole thing does not fit into the text field. I see two approaches, but they do not work: (1) group the networks so that the options only need to defined once per network group - this seems only be supported for NIS groups, in the NFS export man page I did not find a way to somehow group networks and then define options per group Example: network1,network2(options1) network3,network4(options2) network5(options3) Note that the grouping by using comma separated networks is not supported by NFS (2) separate options into (a) global options that shall be applied to all networks in the list and (b) per-network options that deviate from the global options. The probleme here is that the unraid GUI already defines global options that you can see in /etc/exports: -async,no_subtree_check,fsid=123 Example: -globaloptions network1(options1) network2(options2) network3(options3) in /etc/exports it will then write: "sharename" -async,no_subtree_check,fsid=100 -globaloptions network1(options1) network2(options2) network3(options3) It seems that NFS will then ignore "-globaloptions" as there are already global options followed by a space character, so that you cannot append your own global options to them. Do you have some ideas how to overcome this limitation while not bypassing the GUI and doing some "hacks". I am looking for a way to express different options for a number of networks in a more compact way that still fits into the line limit of the GUI text field.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.