logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nfsrahead - Configure the readahead for NFS mounts

Author

Thiago Rafael Becker <trbecker@gmail.com> 1.0 08 Mar 2022 man(5)

Bugs

No known bugs.

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.

Description

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.

Example Configuration

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

Name

nfsrahead - Configure the readahead for NFS mounts

Options

-F Send messages to stderr instead of syslog-d Increase the debugging level.

See Also

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

Synopsis

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

See Also