Sharing file systems with nfs server and mounting file systems with nfs client: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
rw means read/write | 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. | 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= | =Mounting file systems with nfs client= | ||
[[ Category: Ben ]] [[ Category: sysadmin ]] | [[ Category: Ben ]] [[ Category: sysadmin ]] |
Revision as of 21:04, 27 August 2019
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.