Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The below imposes a few options that aren't specified by the above.
It permits read-write (rw) soft & intr (not sure what they do) & says no to dumping & fsck will not be enabled.
Man fstab for details.
I don't see anything wrong though, reboot with it & see if it works?
There are default which would be used if nothing specific is entered. You could try opening a terminal and entering: man nfs
to read the manual entry for nfs to see if you can find what the defaults are or just try doing an online search.
When you run the mount command with just one name argument (either the device or the mount point), it will look in /etc/fstab for the remaining name and the default options. When you specify both the device and mount point in the command, /etc/fstab is not consulted at all and the default options are whatever was compiled into the kernel.
soft / hard Determines the recovery behavior of the NFS client after
an NFS request times out. If neither option is speci‐
fied (or if the hard option is specified), NFS requests
are retried indefinitely. If the soft option is speci‐
fied, then the NFS client fails an NFS request after
retrans retransmissions have been sent, causing the NFS
client to return an error to the calling application.
NB: A so-called "soft" timeout can cause silent data
corruption in certain cases. As such, use the soft
option only when client responsiveness is more important
than data integrity. Using NFS over TCP or increasing
the value of the retrans option may mitigate some of the
risks of using the soft option.
...
intr / nointr Selects whether to allow signals to interrupt file oper‐
ations on this mount point. If neither option is speci‐
fied (or if nointr is specified), signals do not inter‐
rupt NFS file operations. If intr is specified, system
calls return EINTR if an in-progress NFS operation is
interrupted by a signal.
Using the intr option is preferred to using the soft
option because it is significantly less likely to result
in data corruption.
The intr / nointr mount option is deprecated after ker‐
nel 2.6.25. Only SIGKILL can interrupt a pending NFS
operation on these kernels, and if specified, this mount
option is ignored to provide backwards compatibility
with older kernels.
The basic difference is that "hard" is the default to prevent silent data corruption. This doesn't happen that often, especially for local network mount use, and occurs much less when using a TCP connection, as TCP has protocol to ensure packet delivery where UDP does not.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.