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

Jan 19, 2021
34
5
13
124
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:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!