SHOWMOUNT(8)
๐
SHOWMOUNT(8) โ the showmount girlies' guide (System Manager's Manual, section 8)
okay so bestie, welcome to showmount, the little tool that lets you peek at an NFS server's whole vibe. โจ
๐ธ NAME ๐ธ
showmount โ show mount information for an NFS server
๐ฆ SYNOPSIS ๐ฆ
showmount [ -adehv ] [ --all ] [ --directories ] [ --exports ]
[ --help ] [ --version ] [ host ]
๐ DESCRIPTION ๐
so showmount goes and queries the mount daemon on a remote host to find out what's going on with the state of the NFS server on that machine. ๐ซถ
if you run it with no options at all? it just lists the set of clients who are mounting from that host. that's it, that's the tea.
and here's the little detail that matters: the output from showmount is designed to appear as though it were processed through sort -u. so like... it's sorted and deduped, no cap. ๐ฅ
โจ OPTIONS โจ
-aor--allโ lists both the client hostname or IP address and the mounted directory, inhost:dirformat. ๐ but bestie, this info should not be considered reliable. see the notes onrmtabinrpc.mountd(8)โ iykyk.-dor--directoriesโ lists only the directories mounted by some client. just the dirs, nothing else. ๐-eor--exportsโ shows the NFS server's export list. the full menu, basically. ๐-hor--helpโ gives you a short help summary. your little emergency cheat sheet. ๐ง-vor--versionโ reports the current version number of the program. โญ--no-headersโ suppresses the descriptive headings from the output. sometimes you just want the raw data, no commentary. ๐
๐ SEE ALSO ๐
๐ BUGS ๐
okay so this is the part where we get real, because the accuracy here is... it's giving situational. ๐ญ
- The completeness and accuracy of the information that
showmountdisplays varies according to the NFS server's implementation. so basically, your mileage is gonna vary depending on who's serving. - Because
showmountsorts and uniqs the output, it is impossible to determine from the output whether a client is mounting the same directory more than once. so if someone's double-mounting? you literally cannot tell from this. the dedupe ate the evidence. ๐ showmountworks by contacting the server's MNT service directly. NFSv4-only servers have no need to advertise their exported root filehandles via this method, and may not expose their MNT service to clients. so if you're on a v4-only setup and getting nothing back, that's not you being bad at computers โ that's just the architecture, bestie. ๐
fr fr, don't @ showmount for the gaps. it's doing its best with what the server decides to hand over.
๐ AUTHOR ๐
Rick Sladkey <jrs@world.std.com>
and that's the whole page, angel ๐ this manual page came from the System Manager's Manual, dated 6 October 1993, and it's filed under SHOWMOUNT(8). iconic since '93, periodt. ๐ซถโจ
๐ฆ 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: nfs-utils-coreos 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
- 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: nfs-utils-coreos 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-coreos 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 1993 Rick Sladkey <jrs@world.std.com>
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms