| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: mount_nfs.8,v 1.50 2020/10/03 18:29:02 wiz Exp $ | | 1 | .\" $NetBSD: mount_nfs.8,v 1.51 2021/01/24 12:51:32 jmcneill Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 1992, 1993, 1994, 1995 | | 3 | .\" Copyright (c) 1992, 1993, 1994, 1995 |
4 | .\" The Regents of the University of California. All rights reserved. | | 4 | .\" The Regents of the University of California. All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" Redistribution and use in source and binary forms, with or without | | 6 | .\" Redistribution and use in source and binary forms, with or without |
7 | .\" modification, are permitted provided that the following conditions | | 7 | .\" modification, are permitted provided that the following conditions |
8 | .\" are met: | | 8 | .\" are met: |
9 | .\" 1. Redistributions of source code must retain the above copyright | | 9 | .\" 1. Redistributions of source code must retain the above copyright |
10 | .\" notice, this list of conditions and the following disclaimer. | | 10 | .\" notice, this list of conditions and the following disclaimer. |
11 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 11 | .\" 2. Redistributions in binary form must reproduce the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer in the | | 12 | .\" notice, this list of conditions and the following disclaimer in the |
13 | .\" documentation and/or other materials provided with the distribution. | | 13 | .\" documentation and/or other materials provided with the distribution. |
14 | .\" 3. Neither the name of the University nor the names of its contributors | | 14 | .\" 3. Neither the name of the University nor the names of its contributors |
| @@ -19,27 +19,27 @@ | | | @@ -19,27 +19,27 @@ |
19 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | | 19 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
20 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | | 20 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
21 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | | 21 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE |
22 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | | 22 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
23 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | | 23 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
24 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | | 24 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
25 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | | 25 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
26 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | | 26 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | | 27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
28 | .\" SUCH DAMAGE. | | 28 | .\" SUCH DAMAGE. |
29 | .\" | | 29 | .\" |
30 | .\" @(#)mount_nfs.8 8.3 (Berkeley) 3/29/95 | | 30 | .\" @(#)mount_nfs.8 8.3 (Berkeley) 3/29/95 |
31 | .\" | | 31 | .\" |
32 | .Dd October 3, 2020 | | 32 | .Dd January 24, 2021 |
33 | .Dt MOUNT_NFS 8 | | 33 | .Dt MOUNT_NFS 8 |
34 | .Os | | 34 | .Os |
35 | .Sh NAME | | 35 | .Sh NAME |
36 | .Nm mount_nfs | | 36 | .Nm mount_nfs |
37 | .Nd mount NFS file systems | | 37 | .Nd mount NFS file systems |
38 | .Sh SYNOPSIS | | 38 | .Sh SYNOPSIS |
39 | .Nm | | 39 | .Nm |
40 | .Op Fl 23AbCcdilPpqsTUuX | | 40 | .Op Fl 23AbCcdilPpqsTUuX |
41 | .Op Fl a Ar maxreadahead | | 41 | .Op Fl a Ar maxreadahead |
42 | .Op Fl D Ar deadthresh | | 42 | .Op Fl D Ar deadthresh |
43 | .Op Fl g Ar maxgroups | | 43 | .Op Fl g Ar maxgroups |
44 | .Op Fl I Ar readdirsize | | 44 | .Op Fl I Ar readdirsize |
45 | .Op Fl L Ar leaseterm | | 45 | .Op Fl L Ar leaseterm |
| @@ -346,27 +346,28 @@ to watch: | | | @@ -346,27 +346,28 @@ to watch: |
346 | .It | | 346 | .It |
347 | Increasing the read and write size with the | | 347 | Increasing the read and write size with the |
348 | .Fl r | | 348 | .Fl r |
349 | and | | 349 | and |
350 | .Fl w | | 350 | .Fl w |
351 | options respectively will increase throughput if the network | | 351 | options respectively will increase throughput if the network |
352 | interface can handle the larger packet sizes. | | 352 | interface can handle the larger packet sizes. |
353 | .Pp | | 353 | .Pp |
354 | The default size for NFS version 2 is 8K when using UDP, | | 354 | The default size for NFS version 2 is 8K when using UDP, |
355 | 64K when using TCP. | | 355 | 64K when using TCP. |
356 | .Pp | | 356 | .Pp |
357 | The default size for NFS version 3 is platform dependent: | | 357 | The default size for NFS version 3 is platform dependent: |
358 | on | | 358 | on |
359 | .Nx Ns /amd64 | | 359 | .Nx Ns /aarch64 , |
| | | 360 | .Nx Ns /amd64 , |
360 | and | | 361 | and |
361 | .Nx Ns /i386 , | | 362 | .Nx Ns /i386 , |
362 | the default is 32K, for other platforms it is 8K. | | 363 | the default is 32K, for other platforms it is 8K. |
363 | Values over 32K are only supported for TCP, | | 364 | Values over 32K are only supported for TCP, |
364 | where 64K is the maximum. | | 365 | where 64K is the maximum. |
365 | .Pp | | 366 | .Pp |
366 | Any value over 32K is unlikely to get you more performance, unless | | 367 | Any value over 32K is unlikely to get you more performance, unless |
367 | you have a very fast network. | | 368 | you have a very fast network. |
368 | .It | | 369 | .It |
369 | If the network interface cannot handle larger packet sizes or a | | 370 | If the network interface cannot handle larger packet sizes or a |
370 | long train of back to back packets, you may see low performance | | 371 | long train of back to back packets, you may see low performance |
371 | figures or even temporary hangups during NFS activity. | | 372 | figures or even temporary hangups during NFS activity. |
372 | .Pp | | 373 | .Pp |