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@.service' in > the zfsonlinux repository. > > Suggested-by: Fabian Grünbichler <f.gruenbich...@proxmox.com> > Signed-off-by: Stoiko Ivanov <s.iva...@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@.service') _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel