Pcornel
Storage · NAS

NAS Troubleshooting

Cheat sheet · https://pcornel.dk/topic.php?topic=4132

Back to the Topic

Answer

Troubleshoot NAS by checking network reachability and DNS, share and export definitions, NFS or SMB version, authentication and identity mapping, file and share permissions, quotas, free space and NAS logs.

Remember

  • Check network and DNS first.
  • ID mapping errors look like permission errors.
  • Quotas cause write failures.

First checks

  • showmount -e <nas>; smbclient -L //<nas> — service up
  • dmesg | grep -i -e nfs -e cifs — client errors
  • iperf3 -c <nas> — network throughput

Commands

findmnt -t nfs,nfs4,cifs
Operational command for List mounted NFS/CIFS file shares. Focus fields: target, source, filesystem type and mount opti…

Verify in this order

client → network → service → permissions → storage

Where it usually breaks

First mismatch in client identity/DNS → network transport → protocol session → authentication/authorization → export/share → backend filesystem → file operation; preserve identity/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4132

Confirmation

Confirm action

Continue?