From 770567095bae405de5f602663ab2d1f2118be3f3 Mon Sep 17 00:00:00 2001 From: Ollivier Robert Date: Mon, 22 Jan 1996 17:44:30 +0000 Subject: [PATCH] Syntax corrections. Submitted by: john@starfire.MN.ORG (John Lind) --- share/doc/handbook/nfs.sgml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/share/doc/handbook/nfs.sgml b/share/doc/handbook/nfs.sgml index 5ce7c6971342..d79c6cee9085 100644 --- a/share/doc/handbook/nfs.sgml +++ b/share/doc/handbook/nfs.sgml @@ -1,4 +1,4 @@ - + NFS @@ -24,12 +24,19 @@ situation cannot be resolved. Though the "correct" solution is to get a higher performance and capacity Ethernet adapter for the FreeBSD system, there is a simple workaround that will allow satisfactory operation. If the FreeBSD system is the SERVER, -include the option "wsize=1024" on the mount from the client. If the +include the option "-w=1024" on the mount from the client. If the FreeBSD system is the CLIENT, then mount the NFS file system with the -option "rsize=1024". These options may be specified using the fourth +option "-r=1024". These options may be specified using the fourth field of the fstab entry on the client for automatic mounts, or by using the "-o" parameter of the mount command for manual mounts. +It should be noted that there is a different problem, +sometimes mistaken for this one, +when the NFS servers and clients are on different networks. +If that is the case, make CERTAIN that your routers are routing the +necessary UDP information, or you won't get anywhere, no matter +what else you are doing. + In the following examples, "fastws" is the host (interface) name of a high-performance workstation, and "freebox" is the host (interface) name of a FreeBSD system with a lower-performance Ethernet adapter. Also, @@ -40,15 +47,15 @@ system. In all cases, note that additional options, such as "hard" or Examples for the FreeBSD system ("freebox") as the client: in /etc/fstab on freebox: -fastws:/sharedfs /project nfs rw,rsize=1024 0 0 +fastws:/sharedfs /project nfs rw,-r=1024 0 0 as a manual mount command on freebox: -mount -t nfs -o rsize=1024 fastws:/sharedfs /project +mount -t nfs -o -r=1024 fastws:/sharedfs /project Examples for the FreeBSD system as the server: in /etc/fstab on fastws: -freebox:/sharedfs /project nfs rw,wsize=1024 0 0 +freebox:/sharedfs /project nfs rw,-w=1024 0 0 as a manual mount command on fastws: -mount -t nfs -o wsize=1024 freebox:/sharedfs /project +mount -t nfs -o -w=1024 freebox:/sharedfs /project Nearly any 16-bit Ethernet adapter will allow operation without the above restrictions on the read or write size.