From the course: Linux System Engineer: Network Filesystems Using NFS and Samba

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

NFS client options

NFS client options

- [Instructor] Some options to mount NFS exports are the same as standard disk mount options, but there are NFS-specific options, as well. Let's go over some of them now. Hard or soft mounts, this is the behavior after an NFS request times out. When specifying hard, requests are retried repeatedly. If specifying soft, the client fails after a certain number of retransmits. retrans is the number of retransmissions to try before a soft mount fails. rsize and wsize are the maximum sizes in kilobytes to send in a single NFS read or write operation. The maximum for Linux is currently one megabyte. ac sets whether a client may cache file attributes or not. The default is to cache. fg or bg determines what happens if a mount fails. In fg, or foreground mode, it fails almost immediately. In bg, or background mode, it forks a process that continually tries to mount. By using background mounting, we can attempt to mount on a directory that is not yet available. For instance, if the directory is…

Contents