Use this when clients cannot reach, list or write files on a NAS.
NAS Troubleshooting
1. Check network, service, permissions, then performance.
2. Stale handles: export changed or server failover.
3. Permission denied: identity mapping or ACL.
4. Slow: network, small I/O, sync writes.
5. Compare clients.
client → network → service → permissions → storage
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
findmnt -t nfs,nfs4,cifsPrimary Commands
Configuration and operational commands for this Topic.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Known-good, broken and when it is fixed Verify boundary
Verification for NAS → NAS Troubleshooting must discriminate known-good from broken/suspicious state. With findmnt -t nfs,nfs4,cifs, known-good is: the intended export/share is mounted at the expected target with the expected protocol/options. Broken/suspicious is: the mount is absent, points to the wrong source, or uses unexpected options/protocol. Read back the same target after the minimal approved change, then validate name resolution, server reachability, export/share authorization and an actual file operation.
Step 2 Observation-driven troubleshooting tree Narrow the fault
Troubleshoot NAS → NAS Troubleshooting from one exact failing target, revision/input and timestamp. Capture findmnt -t nfs,nfs4,cifs before mutation, then branch by the first divergent observation: mount is absent locally, validate target and mount attempt; mount exists but path hangs, inspect network/session/server response; reads work but writes fail, branch to export mode, ACL/identity, quotas and filesystem state; one client fails while peers work, compare client DNS, identity, dialect and mount options; all clients fail, move to service/export/backend. Typical failure signatures include stale mount, wrong server or export path, DNS drift, Kerberos ticket/time failure, SMB dialect/signing mismatch, root-squash or identity mapping surprise, permission/ACL denial, server filesystem full/read-only, lock/session exhaustion or backend latency.
Step 3 Failure signatures, dependencies and operational guardrails Narrow the fault
Failure-signature and guardrail reference for NAS → NAS Troubleshooting: Stale mount, wrong server or export path, DNS drift, Kerberos ticket/time failure, SMB dialect/signing mismatch, root-squash or identity mapping surprise, permission/ACL denial, server filesystem full/read-only, lock/session exhaustion or backend latency. Operational guardrail: findmnt -t nfs,nfs4,cifs shows the client kernel currently reports matching mount objects and options, but it does not show successful live I/O, server-side export correctness, credentials, path redundancy or data freshness, so closure must include a bounded read/write or original application operation. Dependencies that can mimic the same symptom are DNS, routing/MTU/firewalls, NFS rpc services or SMB ports, Kerberos/AD and time, client mount options, UID/GID or ACL mapping, export/share rules, server filesystem capacity/inodes/locks and the NAS backend pool.
Step 4 Common mistakes Narrow the fault
- Blaming the NAS before checking network and DNS.
- Check network and DNS first.
- ID mapping errors look like permission errors.
- Quotas cause write failures.
showmount -e <nas>; smbclient -L //<nas>— service updmesg | grep -i -e nfs -e cifs— client errorsiperf3 -c <nas>— network throughput
ReferenceHow it works2 sections · depth on demand
End-to-end storage mechanics
NAS Troubleshooting belongs to the NAS branch. File storage requests are mediated by protocol session, client identity, server export/share policy and filesystem authorization. TCP reachability and a successful mount/session are earlier boundaries than the exact application file operation. The responsible processing chain is client name/auth → network session → file protocol → share/export authorization → namespace/file operation.
How it works
NAS → NAS Troubleshooting owns client name resolution and network path, mount configuration, NFS or SMB protocol negotiation, authentication and authorization, server export/share policy, namespace/filesystem state and backend storage serving the file workload. Execution mechanics: The client resolves and reaches the NAS service, negotiates the required NFS/SMB dialect and security mode, authenticates where required, matches an export/share and file permission policy, establishes a mount/session and issues file operations that the server maps onto its local filesystem/backend. Keep adjacent dependencies separate: DNS, routing/MTU/firewalls, NFS rpc services or SMB ports, Kerberos/AD and time, client mount options, UID/GID or ACL mapping, export/share rules, server filesystem capacity/inodes/locks and the NAS backend pool. The mapped read surface findmnt -t nfs,nfs4,cifs exposes mounted remote filesystems, source, target, filesystem type and mount options.
ReferenceImportant terms & boundaries1 section · depth on demand
Method
NAS troubleshooting finds why clients cannot access file shares or why access is slow, working through name, network, protocol, identity and backend storage.
1. Resolve the NAS name and test the port (NFS 2049, SMB 445).
2. Check the protocol session: mounts on the client, sessions on the NAS.
3. Verify identity: user mapping (UID/GID, AD), Kerberos tickets.
4. Check permissions: export/share rules plus filesystem ACLs.
5. Check the NAS itself: volume space, inode limits, CPU, disk latency, snapshot reserve.
nc -zv nas01 2049; nc -zv nas01 445
showmount -e nas01
nfsstat -c
smbclient //nas01/projects -U alice -c ls
id alice
| Symptom | Common cause |
|---|---|
| Permission denied for some users | UID/GID or SID mapping mismatch |
| Stale file handle (NFS) | Export recreated or moved on server |
| Slow listing of large folders | Many small files, antivirus, metadata load |
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in NAS → NAS Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.snia.org/education/what-is-network-attached-storage · confidence 94%