Sorry, noob here. I have been using Linux for a decade at least, but some basic stuff still stump me. Today, it’s file sharing: The idea is that the server is good at CPU and the NAS is good at storage. My NAS does run Docker but the services are slow; and my server runs a bunch of Docker containers just fine but has limited disk space (SSD).
Want:
- Share a directory on my NAS, so that my homelab server can use it.
- Security is not important; the share does not need to be locked down.
Have:
- Server+NAS are on their own little 1Gb Cisco switch, so network latency should be minimal.
- Linux NAS and Linux server have separate users/UID/GID.
Whatever I try, it always ends up with errors about ‘access denied’ or read-only or something. I conclude that I am not smart enough to figure it out.
Help?
Basically, what you need for NFS is remote storage with, what’s called, an export (a directory available from outside of the host exporting it). And a client allowed to mount this export. NFS doesn’t really do security, you can add some (whitelisting, limiting users, read only export, etc.), but it’s not mandatory. I think this is a good tutorial