nfsrahead(5)

nfsrahead5

Configure the readahead for nfs mounts

Usage

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

Overview

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

-F

Send messages to stderr instead of syslog

-d

Increase the debugging level.

Configuration

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

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

Releases

Unchanged in 3 releases since Debian 12 (Bookworm).

  1. 12–Arch

Bugs

No known bugs.

Author

Thiago Rafael Becker <[email protected]>

From nfs-utils 3.1.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.