Interview Prep/Docker/Storage, volumes and disk space

Volume shared via NFS: `mount.nfs: access denied by server while mounting`.

IntermediateTroubleshootingStorage, volumes and disk space
Answer

Likely causes → Export doesn't allow the client IP, root_squash, wrong NFS version/path.

Diagnose →

showmount -e nfs-server
sudo mount -t nfs4 nfs-server:/exports/app /mnt/test
exportfs -v   # on server

Fix → Fix /etc/exports, exportfs -ra, correct device and addr in volume options.

Prevent → Test mounts on every node before deploying.

All Docker questions Roadmap: Docker & containers

More on Storage, volumes and disk space