Yunohost server as nfs client

Hi everyone,

I want to mount nfs share (from a nas) to my yunohost server.

My YunoHost server

**Hardware: A virtual machine in LXC proxmox container.
**YunoHost version:
**I have access to my server : Through SSH

Description of my issue

I have a nfs share from my nas (


I want to mount this share on my yunohost ( in /home/yunohost.multimedia/share/Music/nas (drwxrwxr-x+) :

$ sudo mount -v -t nfs -o ro /home/yunohost.multimedia/share/Music/nas
mount.nfs: timeout set for Sun Jun 30 17:42:59 2019
mount.nfs: trying text-based options 'vers=4.2,addr=,clientaddr='
mount.nfs: mount(2): Operation not permitted
mount.nfs: trying text-based options 'addr='
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying prog 100005 vers 3 prot UDP port 38262
mount.nfs: mount(2): Operation not permitted
mount.nfs: Operation not permitted

I have the same result if I use the fstype nfs4.
If I test the share on a other computer (, it’s working.
There is a special think to do on yunohost to make nfs work ?

Thanks in advance for your help

It might be a problem with integrated firewall ? (i don’t really think it’s the solution…)

The problem is still here when the yunohost firewall is disabled.

Maybe cause by apparmor of proxmox. I’m searching in this direction…

When the apparmor profile allowing nfs, the problem remain.
I tried all the solutions I found but none worked…

Is the other machine that can connect to your nfs share an LXC container too?

No, it’s a standard Raspberry Pi with raspbian.

So maybe it’s not a yunohost relative problem, but a LXC relative problem.
Can you create another lxc debian container and try to connect it to your nfs share?

These tests are a good idea. Thanks !

  • Work in a virtual machine
  • Not working in a LXC container
    So it’s a container config issue.
1 Like

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