Skip to main content

NFS server + client

v0.1.6

Inspect a host's NFS exports, mounted shares, RPC state, active client connections. Plus two narrow operator actions: exportfs -r (re-export) and exportfs -u (unexport one client:path — evicts that client). Read-only otherwise.

7 allowed by default 2 need approval by default
Pack ID
nfs
Vendor
emisar
OS
linux
Actions
9

Install

emisar pack install fetches this pack, re-validates it, and verifies its content hash against the --hash below — the exact bytes this page was rendered against, so a tampered copy is rejected — before copying it into the runner's packs dir. The command reloads a running daemon itself; no manual restart.

on the runner host
sudo emisar pack install nfs --hash sha256:fbc1087bba7743eb9c5ec4a17b3d4ebc43583fb620d10323753d0a9ca61007ea

Actions 9 total

View on GitHub
  • nfs.cat_etab exec low

    cat /var/lib/nfs/etab

    Show the effective export table (what kernel actually serves).

    View source on GitHub
  • nfs.exportfs_r exec high

    exportfs -r

    Re-export everything in /etc/exports. New mounts work; established clients may stall briefly.

    View source on GitHub
  • nfs.exportfs_unexport_path exec high

    exportfs -u <client>:<path>

    Stop exporting one path to one client. Active mounts on that client start failing operations. Use to evict a misbehaving client without restarting the NFS server.

    View source on GitHub
  • nfs.exportfs_v exec low

    exportfs -v

    List currently-exported NFS shares + options.

    View source on GitHub
  • nfs.nfs_mounts exec low

    NFS mounts on this host

    List all NFS-typed mounts currently visible.

    View source on GitHub
  • nfs.nfsstat_c exec low

    nfsstat -c (client)

    Show client-side RPC + NFS op counts.

    View source on GitHub
  • nfs.nfsstat_s exec low

    nfsstat -s (server)

    Show server-side RPC + NFS op counts.

    View source on GitHub
  • nfs.rpcinfo_p exec low

    rpcinfo -p

    List RPC services registered with rpcbind.

    View source on GitHub
  • nfs.showmount_e exec low

    showmount -e

    List exports as seen via rpcbind (what NFS clients discover). On NFSv4-only hosts (no mountd/rpcbind) it returns "RPC: Program not registered" — use nfs.exportfs_v for the authoritative export list there.

    View source on GitHub