I kinda have a similar issue as this post, https://forum.proxmox.com/threads/b...container-of-a-fuse-mount-in-the-host.131879/ but I don't remote mount it on my host. It's a local mounted mergerfs and in the fstab i have "allow_other".
yes there should be more drives later, i just keep it to one atm to find out my issue here..
my 109.conf
Both mp point to the same drive i can access files on /tdump in the LXC but not /TDUMP. It works fine on host. Where both are mounted.
But on LXC
gives
What am I missing?
Edit: If I make a privileged copy of my LXC, (and remove the lxc.idmap's) it works fine. So the issue seems to be related to mergerfs/fuse (permissions?), but I fail to see why since it is mounted on the host the whole time.
Code:
/media/12TB5E/TDUMP /media/TDUMP mergerfs cache.files=partial,allow_other,dropcacheonclose=true,category.create=mfs,minfreespace=10G,fsname=mergerfs 0 0
my 109.conf
Code:
arch: amd64
cores: 2
features: fuse=1,keyctl=1,nesting=1
hostname: media
memory: 2048
mp0: /media/TDUMP/,mp=/TDUMP
mp1: /media/12TB5E/TDUMP/,mp=/tdump
net0: name=eth0,bridge=vmbr0,hwaddr=BC:24:A1:58:63:12,ip=dhcp,tag=50,type=veth
onboot: 1
ostype: debian
rootfs: local:109/vm-109-disk-0.raw,size=8G
swap: 512
tags:
unprivileged: 1
lxc.idmap = u 0 100000 1005
lxc.idmap = g 0 100000 1005
lxc.idmap = u 1005 1005 1
lxc.idmap = g 1005 1005 1
lxc.idmap = u 1006 101006 64530
lxc.idmap = g 1006 101006 64530
Both mp point to the same drive i can access files on /tdump in the LXC but not /TDUMP. It works fine on host. Where both are mounted.
But on LXC
ls -l /
gives
drwxrwx---+ 66 1005 1005 69632 Mar 30 13:25 tdump
d?????????? ? ? ? ? ? TDUMP
What am I missing?
Edit: If I make a privileged copy of my LXC, (and remove the lxc.idmap's) it works fine. So the issue seems to be related to mergerfs/fuse (permissions?), but I fail to see why since it is mounted on the host the whole time.
Last edited: