NFS from VM to CT

defekt

New Member
Dec 29, 2023
10
0
1
Hey everyone,

hopefully I'm right in this Subforum.

I try to pass a NFS share from my TrueNAS vm to my LXC Container, where I want to Install Jellyfin.

I already have another VM where I can succesfully mount the NFS, so that should work in general.

I set the LXC to priviliged and Enabled Nesting and NFS.

It's a Debian 12 Container. Inside the Container I installed nfs-common.

I'm trying for 2 Days now, followed numerous tutorials, tried to applie a special apparmor config as suggested here in the Forum but nothing seems to work.
I can mount the Storage but I always get a Permission denied error. No matter what I do.
This is what i do on the LXC:

Code:
root@Jellyfin:~# mkdir /tmp/TrueNAS                                             
root@Jellyfin:~# mount -t nfs 192.168.178.101:/mnt/HDD-pool/defekt /tmp/TrueNAS/
root@Jellyfin:~# systemctl daemon-reload
root@Jellyfin:~# cd /tmp/TrueNAS/
root@Jellyfin:/tmp/TrueNAS# ls
ls: cannot open directory '.': Permission denied

Hopefully you have an Idea how to solve this.
 
Hey

Yes I did. I think it has something to do with the container. I have no problems accessing the pool from a VM.