Properly mounting ZFS pool in LXC container that allows snapshot-based backups

UntouchedWagons

Active Member
Jan 19, 2021
34
5
28
125
I want to have Samba running in a privileged LXC container rather than directly on proxmox. I tried normal bind mounting as described on the wiki but that only bound the top most dataset would be a pain to manage if I wanted to add more datasets down the line.

I then found this post on how to recursively bind mount a folder but this method breaks rsync's ability to backup the container for some reason.

Are there any other methods to make my ZFS pool available to an LXC container?

[Edit]

I tried multiple regular bind mounts and rsync fails to backup the container as well, I get error 23.
 
Last edited: