Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How To Set Up an NFS Mount on Ubuntu 16.04

129 bytes added, 12:28, 7 March 2018
No summary
The file has comments showing the general structure of each configuration line. The syntax is basically:
<span style="color: #ff0000;">/etc/exportsdirectory_to_share      directory_to_share client(share_option1,...,share_optionN)</span> 
We’ll need to create a line for each of the directories that we plan to share. Since our example client has an IP of 203.0.113.256, our lines will look like the following. Be sure to change the IPs to match your client:
 <div style='text-align: center;'>'''''/etc/exports  '''''</div><code>/var/nfs/general 203.0.113.256(rw,sync,no_subtree_check)</code> <code>/home 203.0.113.256(rw,sync,no_root_squash,no_subtree_check)</code> 
We’re using the same configuration options for both directories with the exception of no_root_squash. Let’s take a look at what each one means.