Can't mount NFS-Share from Jellyfin Client at OMV Server (Proxmox) -> mount.nfs: Operation not permitted

  • Hello there,


    I was hoping you could help me.


    I've googled and viewed some topics here but can't get it done....


    What I want:

    My OMV-Server 192.168.1.33 should serve a folder called "video" via NFS to my Jellyfin-Server 192.168.1.80. At Jellyfin I wan't to mount that "video"-Folder from the OMV-Server.


    My config at OMV 192.168.1.33:

    NFS enabled

    Shared the folder "video" at NFS, IP Client: 192.168.1.0/24



    What I've done at Jellyfin 192.168.1.80:

    root@jellyfin:~# sudo mkdir /mnt/nas

    root@jellyfin:~# sudo mount -t nfs 192.168.1.33:/video /mnt/nas

    mount.nfs: Operation not permitted


    "sudo mount -t nfs 192.168.1.33:/export/video /mnt/nas" has the same result (Operation not permitted)


    OMV is a VM at Proxmox

    Jellyfin is a LXC at Proxmox


    What I am doing wrong?

    Many thanks in advance.

  • KM0201

    Approved the thread.
  • If Jellyfin is running in an unprivileged LXC, it can only access network shares from the OMV VM in a roundabout way. The LXC Jellyfin container must be privileged. But even then, there are enough problems. What works very well is to run Jellyfin as a Docker container in the OMV VM. To do this, you need to install the Compose plugin in OMV. For me, OMV runs very well in a Proxmox VM with Jellyfin Docker container. Access to OMV's data is then no problem for Jellyfin.

  • Thank you, for your reply.

    Unfortunatelly I have no clue about "Docker". I will try to install it and in the first step the compose plugin.


    But in the meantime, you gave me a great hint with "unprivileged". It was indeed unprivileged.... So I created a new priviliged LXC and the mount works. BUT I think, I don't have read/write permission.


    root@jellyfin:/mnt# mount

    ......

    192.168.1.33:/video on /mnt/nas type nfs4 (rw,relatime,vers=4.2,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.141,local_lock=none,addr=192.168.1.33)


    So, it seems to be mounted, right?

    But in Jellyfin there are no movies visible if I add "/mnt/nas" via web-gui.


    root@jellyfin:~# ls -l /mnt/nas

    ls: cannot open directory '/mnt/nas': Permission denied

    root@jellyfin:~# ls -ld /mnt/nas

    drwxrws--- 22 root users 4096 May 1 19:38 /mnt/nas


    What can I do now?

    In the meantime I will try docker... but I would prefer my own Jellyfin LXC.

  • Thank you for your help!


    Jellyfin as a Docker Container in OMV runs perfect. Of course there is no problem with NFS and permissions now.

    Thank you!


    But as I said, I would prever to run everything now in Proxmox seperated. So for me it would be "cleaner", if Jellyfin has his own LXC and doesn't run INSIDE my OMV-VM.


    Maybe someone could help me with my permission-problem from OMV to the Jellyfin-LXC. Is something wrong configured at OMV or is the problem at the LXC?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!