man(5)
π man(5) β the nfsrahead glow-up, bestie edition π¦
okay so this is a page from the man manual set, and the star of the show is nfsrahead. sit down, hydrate, and let's get into it β¨
πΈ NAME πΈ
nfsrahead β configure the readahead for NFS mounts π
β¨ SYNOPSIS β¨
nfsrahead [-F] [-d] <device>
π DESCRIPTION π
so nfsrahead is a tool that's literally designed to be used with udev, and its whole job is setting the read_ahead_kb parameter of NFS mounts, and it does that based on the configuration file (scroll down to CONFIGURATION, bestie, it's right there).
and <device>? that's the device number for the NFS backing device, as provided by the kernel. no cap. π
π OPTIONS π
-Fβ sends messages tostderrinstead ofsyslog. it's giving "i want my messages right here, right now" π-dβ increases the debugging level. turn it up, bestie, we're investigating π
π CONFIGURATION π
nfsrahead gets configured in /etc/nfs.conf, inside the section titled nfsrahead. and it accepts the following configs, periodt:
nfs=<value>β the readahead value that gets applied to NFSv3 mounts πnfs4=<value>β the readahead value that gets applied to NFSv4 mounts π§default=<value>β the default configuration for when none of the configurations above is set. the fallback queen π
β EXAMPLE CONFIGURATION β
[nfsrahead]
nfs=15000 # readahead of 15000 for NFSv3 mounts
nfs4=16000 # readahead of 16000 for NFSv4 mounts
default=128 # default is 128
look at that. immaculate. no notes. π―
π SEE ALSO π
mount.nfs(8), nfs(5), nfs.conf(5), udev(7), bcc-readahead(8)
go read those too, bestie, we love a well-rounded education π
π BUGS π
no known bugs. she's flawless. not a single crumb. π β¨
π«Ά AUTHOR π«Ά
Thiago Rafael Becker <trbecker@gmail.com> β thank you for your service, king π
ngl, if you made it this far you're lowkey an NFS main character now. iconic behavior. π₯
version 1.0, dated 08 Mar 2022, and yeah it's filed under man(5) β love that for us. mwah. bye bestie! ππ
π¦ where this page comes from
- alpine 3.22: nfs-utils-doc 2.6.4-r4 Β· GPL-2.0-only
- alpine 3.23: nfs-utils-doc 2.6.4-r6 Β· GPL-2.0-only
- alpine 3.24: nfs-utils-doc 2.6.4-r6 Β· GPL-2.0-only
- arch rolling: nfs-utils 3.1.1-1 Β· GPL-2.0-or-later
- centos-stream 10: nfs-utils 1:2.8.3-9.el10 Β· MIT and GPLv2 and GPLv2+ and BSD
- centos-stream 10: nfsv4-client-utils 1:2.8.3-9.el10 Β· MIT and GPLv2 and GPLv2+ and BSD
- centos-stream 9: nfs-utils 1:2.5.4-45.el9 Β· MIT and GPLv2 and GPLv2+ and BSD
- centos-stream 9: nfs-utils-coreos 1:2.5.4-45.el9 Β· MIT and GPLv2 and GPLv2+ and BSD
- centos-stream 9: nfsv4-client-utils 1:2.5.4-45.el9 Β· MIT and GPLv2 and GPLv2+ and BSD
- debian bookworm: nfs-common 1:2.6.2-4+deb12u1
- debian trixie: nfs-common 1:2.8.3-1
- fedora 43: nfs-utils 1:2.8.4-0.fc43 Β· LicenseRef-Callaway-MIT AND GPL-2.0-only AND GPL-2.0-or-later AND LicenseRef-Callaway-BSD
- fedora 43: nfs-utils 1:2.8.7-6.fc43 Β· LicenseRef-Callaway-MIT AND GPL-2.0-only AND GPL-2.0-or-later AND LicenseRef-Callaway-BSD
- fedora 43: nfsv4-client-utils 1:2.8.4-0.fc43 Β· LicenseRef-Callaway-MIT AND GPL-2.0-only AND GPL-2.0-or-later AND LicenseRef-Callaway-BSD
- fedora 43: nfsv4-client-utils 1:2.8.7-6.fc43 Β· LicenseRef-Callaway-MIT AND GPL-2.0-only AND GPL-2.0-or-later AND LicenseRef-Callaway-BSD
- fedora 44: nfs-common-utils 1:2.8.7-0.fc44 Β· GPL-2.0-only AND GPL-2.0-or-later AND BSD-3-Clause AND BSD-2-Clause AND (HPND-export-US-modify AND HPND-sell-variant) AND (GPL-2.0-only WITH Linux-syscall-note OR BSD-3-Clause)
- fedora 44: nfs-common-utils 1:2.8.7-7.fc44 Β· GPL-2.0-only AND GPL-2.0-or-later AND BSD-3-Clause AND BSD-2-Clause AND (HPND-export-US-modify AND HPND-sell-variant) AND (GPL-2.0-only WITH Linux-syscall-note OR BSD-3-Clause)
- nixos 26.05: nfs-utils 2.9.1
- nixpkgs unstable: nfs-utils 3.1.1
- opensuse-leap 16.0: nfs-client 2.8.2-160000.4.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: nfs-client 2.8.2-160000.4.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: nfs-client 2.8.2-160000.4.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: nfs-client 2.8.2-160000.4.1 Β· GPL-2.0-or-later
- ubuntu noble: nfs-common 1:2.6.4-3ubuntu5
- ubuntu noble: nfs-common 1:2.6.4-3ubuntu5.1
- ubuntu questing: nfs-common 1:2.8.3-1ubuntu3
- ubuntu resolute: nfs-common 1:2.8.5-1ubuntu1
- ubuntu stonking: nfs-common 1:2.9.1-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms