nfsrahead(5) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | CONFIGURATION | EXAMPLE CONFIGURATION | SEE ALSO | BUGS | AUTHOR | COLOPHON

man(5)                     nfsrahead man page                     man(5)

NAME         top

       nfsrahead - Configure the readahead for NFS mounts

SYNOPSIS         top

       nfsrahead [-F] [-d] <device>

DESCRIPTION         top

       nfsrahead is a tool intended to be used with udev to set the
       read_ahead_kb parameter of NFS mounts, according to the
       configuration file (see CONFIGURATION). device is the device
       number for the NFS backing device as provided by the kernel.

OPTIONS         top

       -F     Send messages to stderr instead of syslog

       -d     Increase the debugging level.

CONFIGURATION         top

       nfsrahead is configured in /etc/nfs.conf, in the section titled
       nfsrahead.  It accepts the following configurations.

       nfs=<value>
              The readahead value applied to NFSv3 mounts.

       nfs4=<value>
              The readahead value applied to NFSv4 mounts.

       default=<value>
              The default configuration when none of the configurations
              above is set.

EXAMPLE CONFIGURATION         top

       [nfsrahead]
       nfs=15000              # readahead of 15000 for NFSv3 mounts
       nfs4=16000             # readahead of 16000 for NFSv4 mounts
       default=128            # default is 128

SEE ALSO         top

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

BUGS         top

       No known bugs.

AUTHOR         top

       Thiago Rafael Becker <trbecker@gmail.com>

COLOPHON         top

       This page is part of the nfs-utils (NFS utilities) project.
       Information about the project can be found at 
       ⟨http://linux-nfs.org/wiki/index.php/Main_Page⟩.  If you have a
       bug report for this manual page, see
       ⟨http://linux-nfs.org/wiki/index.php/Main_Page⟩.  This page was
       obtained from the project's upstream Git repository
       ⟨git://git.linux-nfs.org/projects/steved/nfs-utils.git⟩ on
       2024-06-14.  (At that time, the date of the most recent commit
       that was found in the repository was 2024-05-10.)  If you
       discover any rendering problems in this HTML version of the page,
       or you believe there is a better or more up-to-date source for
       the page, or you have corrections or improvements to the
       information in this COLOPHON (which is not part of the original
       manual page), send a mail to man-pages@man7.org

1.0                            08 Mar 2022                        man(5)

Pages that refer to this page: nfs.conf(5)