this post was submitted on 19 Jul 2023
37 points (100.0% liked)

Linux

7847 readers
95 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 1 year ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] sep@lemmy.world 2 points 1 year ago

Details.. what do your exports file look like. What do your fstab entry look like, what error do you get when you try ro mount it?

Normaly on nfs you define the directories to share in the /etc/exports file with what ip prefix are allowed to mount, and some flags for features. Your nas may hide this behind a web interface.

Have you shared a path to the prefix your server is on?

The server mount the path normaly with a fstab entry.