diff --git a/zfs-patches/0006-always-load-ZFS-module-on-boot.patch b/zfs-patches/0006-always-load-ZFS-module-on-boot.patch new file mode 100644 index 0000000..8ed5779 --- /dev/null +++ b/zfs-patches/0006-always-load-ZFS-module-on-boot.patch @@ -0,0 +1,30 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= +Date: Fri, 19 Jan 2018 12:13:46 +0100 +Subject: [PATCH] always load ZFS module on boot +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +since zfs-import-scan.service is disabled by default, and +zfs-import-cache.service only gets started if a cache file exists, this +is needed for zfs-mount, zfs-share and zfs-zed services in case ZFS is +not actually used. + +Signed-off-by: Fabian Grünbichler +--- + etc/modules-load.d/zfs.conf.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/etc/modules-load.d/zfs.conf.in b/etc/modules-load.d/zfs.conf.in +index 8b41baa30..59b058c9a 100644 +--- a/etc/modules-load.d/zfs.conf.in ++++ b/etc/modules-load.d/zfs.conf.in +@@ -1,3 +1,3 @@ + # Always load kernel modules at boot. The default behavior is to load the + # kernel modules in the zfs-import-*.service or when blkid(8) detects a pool. +-#zfs ++zfs +-- +2.14.2 + diff --git a/zfs-patches/series b/zfs-patches/series index 17badd4..578144f 100644 --- a/zfs-patches/series +++ b/zfs-patches/series @@ -3,3 +3,4 @@ 0003-Use-user-namespaces-for-FSETID-policy-check.patch 0004-Enable-zfs-import.target-in-systemd-preset-6968.patch 0005-Fix-ARC-hit-rate.patch +0006-always-load-ZFS-module-on-boot.patch