bindmounts are rather inexpensive, so it should be fine to use as many as you need.
did this work on an unprivileg container? what promox version are you running? using these cmds my container isnt starting :/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: /rpool/stuff mnt/stuff none rbind,create=dir,optional 0 0
lxc.apparmor.raw: mount,
then a reboot had me in business. I'm not sure the app armour line is needed but it doesn't seem to hurt.
I also needed to zfs set overlay=on rpool, or it wouldn't mount on reboot because of cruft that the bind leaves under the /rpool mountpoint.
The container is running the Turn Key Linux fileserver template and I can finally browse the shares there over Samba on the Mac.
Cheers
did this work on an unprivileg container? what promox version are you running? using these cmds my container isnt starting :/
did this work on an unprivileg container? what promox version are you running? using these cmds my container isnt starting :/
lxc.idmap: u 0 100000 65535
lxc.idmap: g 0 100000 65535
lxc.idmap
. Or, search the proxmox forums...there are several topics about using lxc.idmap
.We use essential cookies to make this site work, and optional cookies to enhance your experience.