Mmm fair point. Didn’t cross my mind to try with unprivileged containers as for a local file server working with transposed UIDs would’ve been prohibitive. Now I think about it I can see use cases for what you’re asking.
I’m on v6.1 or 6.2 but either way it’s working since I posted
9p is cool, but I couldn't browse the shares over Samba on the Mac when I tried it that way.
So far this approach with rbind into lxc seems to be working for me.
Cheers
I also have a ton of nested ZFS datasets. Burnt through much of the evening trying to get rbind set up in LXC. In the end it was simple:
add your mounts to /etc/pve/lxc/<ctid>.conf :
lxc.mount.entry: /mnt/storagepool mnt/storagepool none rbind,create=dir,optional 0 0
lxc.mount.entry...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.