SHOWMOUNT(8)

๐Ÿ“ฆ
version 3.1.1 ยท 3 versions
  • 3.1.1 ยท alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, centos-stream 9, debian bookworm, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 14.5 ยท freebsd 14.5
  • 15.1 ยท freebsd 15.1
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, centos-stream 9, debian bookworm, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

๐Ÿ’… 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 โœจ

  • -a or --all โ€” lists both the client hostname or IP address and the mounted directory, in host:dir format. ๐Ÿ’… but bestie, this info should not be considered reliable. see the notes on rmtab in rpc.mountd(8) โ€” iykyk.
  • -d or --directories โ€” lists only the directories mounted by some client. just the dirs, nothing else. ๐ŸŽ€
  • -e or --exports โ€” shows the NFS server's export list. the full menu, basically. ๐ŸŒˆ
  • -h or --help โ€” gives you a short help summary. your little emergency cheat sheet. ๐Ÿงš
  • -v or --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 ๐Ÿ‘‘

rpc.mountd(8), rpc.nfsd(8)


๐Ÿ’€ 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 showmount displays varies according to the NFS server's implementation. so basically, your mileage is gonna vary depending on who's serving.
  • Because showmount sorts 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. ๐Ÿ’€
  • showmount works 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