NFS from VM to CT

defekt

New Member
Dec 29, 2023
5
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!