Sharing file systems with nfs server and mounting file systems with nfs client

From DISI
Revision as of 23:46, 26 August 2019 by Jyoung (talk | contribs)
Jump to navigation Jump to search

Sharing file systems with nfs server

   /nfs/home

lives on the machine dalet.

Login using an s_ account to dalet

  ssh s_jyoung@dalet

The /etc/exports says which file systems will be exported to which networks.

   less /etc/exports

Example row:

   /export/home    10.20.0.0/16(rw,async,fsid=221) \
                   169.230.26.0/24(rw,async,fsid=221) \

rw means read/write async means that writes to the file are not transmitted to the server immediately, usually only when the file is closed. The alternative is sync which makes all writes to the file be committed to the server. Sync is slower.

Mounting file systems with nfs client