|
Linux Network Administrator Guide, Second EditionFor instance, suppose you mount your users' home directories from a machine named moonshot, which uses a default block size of 4 K for read/write operations. You might increase the block size to 8 K to obtain better performance by issuing the command: # mount moonshot:/home /home -o rsize=8192,wsize=8192 The list of all valid options is described in its entirety in the nfs(5) manual page. The following is a partial list of options you would probably want to use: rsize=n and wsize=n These specify the datagram size used by the NFS clients on read and write requests, respectively. The default depends on the version of kernel, but is normally 1,024 bytes. timeo=n This sets the time (in tenths of a second) the NFS client will wait for a request to complete. The default value is 7 (0.7 seconds). What happens after a timeout depends on whether you use the hard or soft option. hard Explicitly mark this volume as hard-mounted. This is on by default. This option causes the server to report a message to the console when a major timeout occurs and continues trying indefinitely. soft Soft-mount (as opposed to hard-mount) the driver ...» |
Код для вставки книги в блог HTML
phpBB
текст
|
|