Feature request - zfs delegation with lxc

nazarmx

New Member
May 29, 2024
3
3
3
Since OpenZFS 2.2 there are zfs zone/unzone commands that can allow a container to manage specific mounted datasets. It also requires dev/zfs to be mounted in container with device added to lxc config.

This can be probably implemented with lxc hooks, but would be best to support natively like Incus does.
 
+1 as this feature would make proxmox so much greater !

Use case: have a privileged LXC fileserver (managing ZFS and samba) as the ZFS management features (GUI) within Proxmox are not very extensive.

Ref incus ZFS.delegate=true
 
Last edited:
Bumping this topic up as I wanted to know if this is on any roadmap or future plans to include in Proxmox?

I have tried this with unprivileged containers using this article and it's working but comes with some drawbacks (regarding changing namespaces when rebooting).
It seems that theoretically speaking all the building blocks are there to make this possible with privileged containers;
This might also improve greatly docker ZFS support in LXC containers in future as I believe the community may prefer docker lxc over OCI ref.: OCI vs docker LXC thread

personally I prefer lxc containers over docker containers but docker support and community initiatives in docker containers and applications will not disappear and proxmox support for this (in lxc) would make the product even better - also negating an advantage that incus/LXD currently has over proxmox.
 
Last edited: