Skip to content

Instantly share code, notes, and snippets.

@hydrian
Created March 13, 2024 18:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hydrian/18a6058b9e47c30d91b209f9020300ad to your computer and use it in GitHub Desktop.
Save hydrian/18a6058b9e47c30d91b209f9020300ad to your computer and use it in GitHub Desktop.
NFS debugging
### NFS Exports
mnt/docker/tygerclan/audiobookshelf/config
ruadan.mgmt.tygerclan.lan(sync,wdelay,nohide,no_subtree_check,sec=sys,rw,secure,no_root_squash,no_all_squash)
/mnt/docker/tygerclan/audiobookshelf/metadata
ruadan.mgmt.tygerclan.lan(sync,wdelay,nohide,no_subtree_check,sec=sys,rw,secure,no_root_squash,no_all_squash)
/mnt/docker/tygerclan/audiobookshelf/podcasts
ruadan.mgmt.tygerclan.lan(sync,wdelay,nohide,no_subtree_check,sec=sys,rw,secure,no_root_squash,no_all_squash)
/mnt/docker <world>(sync,wdelay,nohide,no_subtree_check,sec=sys,rw,secure,root_squash,no_all_squash)
### Mount Test
```
root@ruadan:/mnt# mount -t nfs -o "soft" storage.mgmt.tygerclan.lan:/mnt/docker/tygerclan/audiobookshelf/config nfs4
mount.nfs: access denied by server while mounting storage.mgmt.tygerclan.lan:/mnt/docker/tygerclan/audiobookshelf/config
```
### NFS Destination permissions
```
[root@storage audiobooks]# pwd
/mnt/docker/tygerclan/audiobookshelf/audiobooks
[root@storage audiobooks]# ls -ldan
drwxrwx---. 2 1571800051 1571800051 4096 Mar 6 19:21 .
[root@storage audiobooks]#
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment