Linux NFS Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 28: Line 28:


==<tt>nolock</tt>==  
==<tt>nolock</tt>==  
<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;">
:[[rpc.statd]]
</blockquote>


|[Rpc.statd#HandlingNFSLockingInAbsenceOfRpc.statd]
|[Rpc.statd#HandlingNFSLockingInAbsenceOfRpc.statd]

Revision as of 06:48, 21 August 2016

Internal

Export Options

rw

This option allows both read and write.

sync

The requests to the exported directory are confirmed only after the changes are committed.

no_subtree_check

This option prevents the subtree checking. When a shared directory is the subdirectory of a larger filesystem, nfs performs scans of every directory above it, in order to verify its permissions and details. Disabling the subtree check may increase the reliability of NFS, but reduce security.

no_root_squash

This phrase allows root to connect to the designated directory.

Mount Options

dirsync

All directory updates within the filesystem should be done synchronously. This affects the following system calls: creat, link, unlink, symlink, mkdir, rmdir, mknod and rename.

nolock

rpc.statd

|[Rpc.statd#HandlingNFSLockingInAbsenceOfRpc.statd]

_netdev, bg

_netdev prevents the mount before the network is up. bg is background so it will proceed with boot if nfs server not available, it will keep trying in background until available.