[pbs-devel] applied: [pve-devel] [RFC storage 1/1] Disks: instantiate import unit for created zpool

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Sep 29 18:58:13 CEST 2020


On 16.09.20 14:14, Stoiko Ivanov wrote:
> When creating a new ZFS storage, also instantiate an import-unit for the pool.
> This should help mitigate the case where some pools don't get imported during
> boot, because they are not listed in an existing zpool.cache file.
> 
> This patch needs the corresponding addition of 'zfs-import at .service' in
> the zfsonlinux repository.
> 
> Suggested-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
> Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
> ---
>  PVE/API2/Disks/ZFS.pm | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
>

applied, thanks! As we have no dependency on zfsutils-linux here to do a
bump to the versioned dependency, I added a simple check if the zfs-import@
template service exists (roughly, if -e '/lib/systemd/system/zfs-import at .service')






More information about the pbs-devel mailing list