]> git.proxmox.com Git - pve-storage.git/commit
Disks: instantiate import unit for created zpool
authorStoiko Ivanov <s.ivanov@proxmox.com>
Wed, 16 Sep 2020 12:14:19 +0000 (14:14 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 29 Sep 2020 16:52:32 +0000 (18:52 +0200)
commitf720f6c4405db1dea02929c51ebefedd7593d646
treeca305e726e7cce55cc70952ac7a017582bebae58
parent59fdc2b71e5da8eaf3c821a5c55f410f58da200a
Disks: instantiate import unit for created zpool

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@.service' in
the zfsonlinux repository.

Suggested-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
PVE/API2/Disks/ZFS.pm