On 8/26/19 11:53 PM, Bob Goodwin wrote:
i have been using the Fedora document https://fedoraproject.org/wiki/Administration_Guide_Draft/NFS in trying to set this up. It does not seem to be what I have used in the past but it is what I found searching with Google. Next I will replace the NFS hard drive and start over with a new one, I would like to get it right without a ton of troubleshooting.
Perhaps someone can suggest a better set of instructions to follow?
You can get TMI by reading https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/htm...
But the most import thing that you're missing is the format of the /etc/exports file. That document describes it with an example (not quite as good as I would like). But the most important part is....
8.7.1. The /etc/exports Configuration File
The /etc/exports file controls which file systems are exported to remote hosts and specifies options. It follows the following syntax rules:
- Blank lines are ignored. - To add a comment, start a line with the hash mark (#). - You can wrap long lines with a backslash (). - Each exported file system should be on its own individual line. - Any lists of authorized hosts placed after an exported file system must be separated by space characters. - Options for each of the hosts must be placed in parentheses directly after the host identifier, without any spaces separating the host and the first parenthesis.
Each entry for an exported file system has the following structure: export host(options)
The aforementioned structure uses the following variables: export The directory being exported
host The host or network to which the export is being shared
options The options to be used for host