Unable to see NFS mount in PMS

Server Version#: 1.21.0.3711
Software: Ubuntu 20.04.01 LTS, 64 bit
GNOME-version 3.63.3

I am trying to setup libraries from NFS share (synology) on local network. Following this guide

I am able to mount the share and can see the folder in terminal using ls /nas/movies. But the share is not visible in my PMS when I try to add the folder.

When I try to use the command “sudo chmod 755 /nas/*” It says operation not allowed, dunno if this means anything or if the command is crucial?
Fairly new to linux, dunno if this has to do with permissions?

The command is

sudo chmod -R 755 /nas

The -R tells the command to apply the change to the folder and recursively to all subfolders.

To followup from Tom,

What didn’t go as expected?

It says operation not allowed to all folders

Tunarb,

How did you export the shared folder on the Syno? What are the NFS export permissions?

What mount options did you use?

1 Like

On Syno:
Host: my server ip 192.168.0.122
Privilege: read/write
Squash: Map root to admin
Security: sys
Enable asynchronous
Allow user acces to mounted subfolders

NFS and NFSv4.1-support activated too.

Everything else on my server i followed your guide, so not sure if I have to change anything else on my PMS machine?

A few changes and info

  1. On Synology, admin is not privileged at the Linux level. It’s a plain user account only their software is sensitive to.

  2. I use the Syno as an extension to my Linux box.

  3. NFS export
    a. Wildcard the export rule (*)
    b. No root squash
    c. Async
    d. Unprivileged ports
    e. Access to mounted subdirs

  4. Host mount:

syno:/volume1/movies /nas/movies defaults,auto,vers=4,sec=sys,nofail,bg 0 0

You can add rsize= and wsize= if you need to for perf.

Biggest change is to remove the squash.

Thx for the quick reply Chuck :blush:

It seems I cannot mount the drives now, an incorrect mount option was specified.

My /etc/fstab looks like this now

And not sure how to write the wildcard rule, can you show example? The IP of the Ubuntu machine is 192.168.0.122

Add images

You export the NFS share from the Synology.
This is where you create the export rule.

I can now mount:

192.168.0.23:/volume1/animated /nas/animated nfs defaults,auto,rw,async,nofail,bg 0 0

**PS: I forgot the “nfs” field in my example to you last night (the hour was late. I apologize)

Nice, thank you. Able to try it tomorrow :blush:

Oh well, able to mount drive and see subfolders when i use ls /nas/movies. Can even run sudo chmod 755 /nas and no error codes.
But when i run PMS, it still only sees local folders. Really don’t understand this, don’t have a problem seing the NAS on my raspberry pi 4 server, running OMV 5 and docker. Will it help to use CIFS instead?

Can also mount a cifs share I have on a WD my cloud and see the share in terminal using ls, but also not visible in PMS. So weird, think I will try docker and if fail maybe I need to surrender and go with Windows :slightly_frowning_face:

Update. Got it working with plex in docker, setting it up with portainer. Of course not set up as I would have liked, but it works. Thx for the advice, really helped me setting up the share.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.