Hello,
I am trying to mount a zfs pool in a LXC container.
I managed to get it mounted using : pct set vmID -mp0 /poolname/,mp=/mountName
after this I had to fix some permission isues wich I managed to to by doing some group mapping like in this example
And this works BUT only for the first directory.
I have permissions in my mount point but once I go further the group is no longer recognized.
These locations /dataPool/media /dataPool/backup are zfs filesystems not folder.
Does this have anything to do with it?
I am trying to mount a zfs pool in a LXC container.
I managed to get it mounted using : pct set vmID -mp0 /poolname/,mp=/mountName
after this I had to fix some permission isues wich I managed to to by doing some group mapping like in this example
/etc/subgid
root:1000:1
root:100000:65536
/etc/subuid
root:100000:65536
/etc/pve/lxc/197.conf
lxc.idmap: u 0 100000 65535
lxc.idmap: g 0 100000 1000
lxc.idmap: g 1000 1000 1
lxc.idmap: g 1001 101001 64534
And this works BUT only for the first directory.
I have permissions in my mount point but once I go further the group is no longer recognized.
These locations /dataPool/media /dataPool/backup are zfs filesystems not folder.
Does this have anything to do with it?