1man(5)                        nfsrahead man page                        man(5)
2
3
4

NAME

6       nfsrahead - Configure the readahead for NFS mounts
7
8

SYNOPSIS

10       nfsrahead [-F] [-d] <device>
11
12

DESCRIPTION

14       nfsrahead is a tool intended to be used with udev to set the
15       read_ahead_kb parameter of NFS mounts, according to the configuration
16       file (see CONFIGURATION). device is the device number for the NFS back‐
17       ing device as provided by the kernel.
18
19

OPTIONS

21       -F     Send messages to stderr instead of syslog
22
23
24       -d     Increase the debugging level.
25
26

CONFIGURATION

28       nfsrahead is configured in /etc/nfs.conf, in the section titled nfsra‐
29       head.  It accepts the following configurations.
30
31
32       nfs=<value>
33              The readahead value applied to NFSv3 mounts.
34
35
36       nfs4=<value>
37              The readahead value applied to NFSv4 mounts.
38
39
40       default=<value>
41              The default configuration when none of the configurations above
42              is set.
43
44

EXAMPLE CONFIGURATION

46       [nfsrahead]
47       nfs=15000              # readahead of 15000 for NFSv3 mounts
48       nfs4=16000             # readahead of 16000 for NFSv4 mounts
49       default=128            # default is 128
50
51

SEE ALSO

53       mount.nfs(8), nfs(5), nfs.conf(5), udev(7), bcc-readahead(8)
54
55

BUGS

57       No known bugs.
58
59

AUTHOR

61       Thiago Rafael Becker <trbecker@gmail.com>
62
63
64
651.0                               08 Mar 2022                           man(5)
Impressum