Starting and Stopping NFS
249
version by the kernel and
mount
command. This option is not supported with NFSv4 and should not
be used.
•
noacl
— Turns off all ACL processing. This may be needed when interfacing with older versions of
Red Hat Enterprise Linux, Red Hat Linux, or Solaris, since the most recent ACL technology is not
compatible with older systems.
•
nolock
— Disables file locking. This setting is occasionally required when connecting to older NFS
servers.
•
noexec
— Prevents execution of binaries on mounted file systems. This is useful if the system is
mounting a non-Linux file system via NFS containing incompatible binaries.
•
nosuid
— Disables set-user-identifier or set-group-identifier bits. This prevents remote users from
gaining higher privileges by running a setuid program.
•
port=num
— Specifies the numeric value of the NFS server port. If
num
is
0
(the default), then
mount
queries the remote host's portmapper for the port number to use. If the remote host's NFS
daemon is not registered with its portmapper, the standard NFS port number of TCP 2049 is used
instead.
•
rsize=num
and
wsize=num
— These settings speed up NFS communication for reads (
rsize
)
and writes (
wsize
) by setting a larger data block size, in bytes, to be transferred at one time. Be
careful when changing these values; some older Linux kernels and network cards do not work well
with larger block sizes. For NFSv2 or NFSv3, the default values for both parameters is set to 8192.
For NFSv4, the default values for both parameters is set to 32768.
•
sec=mode
— Specifies the type of security to utilize when authenticating an NFS connection.
sec=sys
is the default setting, which uses local UNIX UIDs and GIDs by means of AUTH_SYS to
authenticate NFS operations.
sec=krb5
uses Kerberos V5 instead of local UNIX UIDs and GIDs to authenticate users.
sec=krb5i
uses Kerberos V5 for user authentication and performs integrity checking of NFS
operations using secure checksums to prevent data tampering.
sec=krb5p
uses Kerberos V5 for user authentication, integrity checking, and encrypts NFS traffic
to prevent traffic sniffing. This is the most secure setting, but it also has the most performance
overhead involved.
•
tcp
— Specifies for the NFS mount to use the TCP protocol.
•
udp
— Specifies for the NFS mount to use the UDP protocol.
Many more options are listed on the
mount
and
nfs
man pages.
19.5. Starting and Stopping NFS
To run an NFS server, the
portmap
service must be running. To verify that
portmap
is active, type
the following command as root:
/sbin/service portmap status
Содержание ENTERPRISE LINUX 5 - VIRTUAL SERVER ADMINISTRATION
Страница 22: ...xxii ...
Страница 28: ......
Страница 36: ...10 ...
Страница 40: ...14 ...
Страница 96: ...70 ...
Страница 116: ...90 ...
Страница 144: ...118 ...
Страница 146: ......
Страница 158: ...132 ...
Страница 165: ...Installing and Removing Packages 139 Figure 11 7 Installing and removing packages simultaneously ...
Страница 166: ...140 ...
Страница 172: ...146 ...
Страница 178: ......
Страница 228: ...202 ...
Страница 264: ...238 ...
Страница 318: ...292 ...
Страница 330: ...304 ...
Страница 388: ...362 ...
Страница 428: ...402 ...
Страница 452: ......
Страница 458: ...432 ...
Страница 476: ...450 ...
Страница 478: ...452 ...
Страница 494: ...468 ...
Страница 498: ...472 ...
Страница 530: ...504 ...
Страница 536: ...510 ...
Страница 544: ...Chapter 36 Log Files 518 Figure 36 7 Log file contents after five seconds ...
Страница 546: ......
Страница 550: ...524 ...
Страница 576: ......
Страница 584: ...558 ...
Страница 608: ......
Страница 776: ...750 ...
Страница 796: ...770 ...
Страница 800: ...774 ...
Страница 804: ......
Страница 806: ...780 ...
Страница 808: ...782 ...
Страница 816: ...790 ...
Страница 820: ...794 ...
Страница 822: ...796 ...
Страница 830: ...804 ...
Страница 836: ...810 ...
Страница 844: ...818 ...
Страница 848: ...822 ...