[PATCH pve-container 0/1] Proposal for adding zfs dataset mounting possibility

Roland devzero at web.de
Wed May 10 11:52:14 CEST 2023


what about adding zfs datasets as a general type of storage?

currently, you need to create a dataset manually and add that as type
"dir" to proxmox, to be able to use file backed instead of zvol backed VMs

that feels ugly.

Am 10.05.23 um 02:08 schrieb Konstantin Filippov:
> As we know, ProxMox have only three possible "categories" of mount points: ProxMox storage provider supplied, block device and bind mount. I've prepared a little patch for pve-container package which adds a fourth "category" named "zfs" - so with this patch it's possible to add such ZFS dataset into container config in a form "mpN: <ZFS pool name>/<dataset path>,<mount path>". This new type can be useful in some cases - for instance when we need to mount ZFS dataset in the container but need to keep this dataset not mounted on the host.
>
> Konstantin Filippov (1):
>    Adding new mount point type named 'zfs' to let configure a ZFS dataset
>      as mount point for LXC container
>
>   src/PVE/LXC.pm        | 4 ++++
>   src/PVE/LXC/Config.pm | 3 ++-
>   2 files changed, 6 insertions(+), 1 deletion(-)
>




More information about the pve-devel mailing list