rpcdebug(8)
π rpcdebug β set and clear NFS and RPC kernel debug flags β¨
okay bestie, welcome to rpcdebug, the <pink>System Manager's Manual</pink> girlie who lives in section 8 of your man pages. she's a whole vibe and she's here to turn your Linux kernel's NFS debug chatter on and off. π
πΈ SYNOPSIS πΈ
rpcdebug -vh
rpcdebug -m module
rpcdebug -m module -s flags...
rpcdebug -m module -c flags...
β¨ DESCRIPTION β¨
so like. rpcdebug is the command that lets an administrator <purple>set and clear</purple> the Linux kernel's NFS client and server debug flags. when you set these flags, the kernel starts <hotpink>emitting messages to the system log</hotpink> every time NFS activity happens. and that is literally so useful when you're out here debugging NFS problems, no cap. π
now let's vibe check the four forms in the synopsis, because they each do a different thing:
- the first form lists out
<mint>all the available debug flags</mint>. every single one. she's showing you the menu. π - the second form shows you the debug flags that are
<cyan>currently set</cyan>for the module you picked. like, what's already turned on rn. - the third form
<green>sets</green>one or more flags. turning things ON, we love to see it. - the fourth form
<red>clears</red>one or more flags. turning things OFF. also valid.
and bestie, quick note: the value all can be used to set or clear <rainbow>all the flags</rainbow> for whatever module you're working with. one word, all the flags. iconic. periodt. π¦
π OPTIONS π
-cβ Clear the given debug flags. bye bye flags π-hβ Print a help message and exit. and if you pair it with the-voption, it also prints out the available debug flags. so-vhis a little combo meal π-mmodule β Specify which module's flags to set or clear. the available modules are:nfsdβ The NFS server.nfsβ The NFS client.nlmβ The Network Lock Manager, in either an NFS client or server.rpcβ The Remote Procedure Call module, in either an NFS client or server.
-sβ Set the given debug flags. turning it UP π₯-vβ Increase the verbosity ofrpcdebug's output. she talks more. we love a chatty queen π
π FILES π
/proc/sys/sunrpc/{rpc,nfs,nfsd,nlm}_debugβ procfs-based interface to kernel debug flags. this is where the magic actually lives, iykyk π
π SEE ALSO π
rpc.nfsd(8), nfs(5), syslogd(8).
π BUGS π
Bugs can be found or reported at http://nfs.sf.net/. if you find one, tell the girlies, don't suffer in silence fr fr π
π«Ά AUTHOR π«Ά
Program by Olaf Kirch <okir@suse.de> and <frederic.jolly@bull.ext.net>. Manpage by Greg Banks <gnb@melbourne.sgi.com>. absolute legends, all three of them β
and that's the whole page bestie!! this little cutie came straight out of the <lavender>System Manager's Manual</lavender> as rpcdebug(8), dated <peach>5 Jul 2006</peach>. old but gold, and she still slays. mwah πβ¨
π¦ 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 9: nfs-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 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 jammy: nfs-common 1:2.6.1-1ubuntu1
- ubuntu jammy: nfs-common 1:2.6.1-1ubuntu1.2
- 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
- Copyright (c) 2006 Silicon Graphics, Inc
- Copyright (C) 1996-2005 Olaf Kirch <okir@suse.de>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms