2018-01-19 13:30:07 +03:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2016-10-24 14:48:46 +03:00
|
|
|
From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
|
|
|
|
Date: Mon, 24 Oct 2016 13:47:06 +0200
|
2018-01-19 13:30:07 +03:00
|
|
|
Subject: [PATCH] import with -d /dev/disk/by-id in scan service
|
2017-02-06 14:34:48 +03:00
|
|
|
MIME-Version: 1.0
|
|
|
|
Content-Type: text/plain; charset=UTF-8
|
|
|
|
Content-Transfer-Encoding: 8bit
|
2016-10-24 14:48:46 +03:00
|
|
|
|
2017-02-06 14:34:48 +03:00
|
|
|
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
|
2016-10-24 14:48:46 +03:00
|
|
|
---
|
|
|
|
etc/systemd/system/zfs-import-scan.service.in | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/etc/systemd/system/zfs-import-scan.service.in b/etc/systemd/system/zfs-import-scan.service.in
|
2018-05-22 10:18:02 +03:00
|
|
|
index abc8e8e6..8fe2c107 100644
|
2016-10-24 14:48:46 +03:00
|
|
|
--- a/etc/systemd/system/zfs-import-scan.service.in
|
|
|
|
+++ b/etc/systemd/system/zfs-import-scan.service.in
|
2017-12-19 14:47:27 +03:00
|
|
|
@@ -12,7 +12,7 @@ ConditionPathExists=!@sysconfdir@/zfs/zpool.cache
|
2016-10-24 14:48:46 +03:00
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
2018-05-22 10:18:02 +03:00
|
|
|
ExecStartPre=-/sbin/modprobe zfs
|
2016-10-24 14:48:46 +03:00
|
|
|
-ExecStart=@sbindir@/zpool import -aN -o cachefile=none
|
|
|
|
+ExecStart=@sbindir@/zpool import -aN -d /dev/disk/by-id -o cachefile=none
|
|
|
|
|
|
|
|
[Install]
|
2017-12-19 14:47:27 +03:00
|
|
|
WantedBy=zfs-import.target
|
2016-10-24 14:48:46 +03:00
|
|
|
--
|
2018-05-22 10:18:02 +03:00
|
|
|
2.11.0
|
2016-10-24 14:48:46 +03:00
|
|
|
|