2017-02-06 14:34:48 +03:00
|
|
|
From 9a97a884f8a409395e00891afdc28fa92b9f79b3 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
|
2017-02-06 14:34:48 +03:00
|
|
|
Subject: [PATCH 5/6] import with -d /dev/disk/by-id in scan service
|
|
|
|
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
|
|
|
|
index 0105283..665b9c8 100644
|
|
|
|
--- a/etc/systemd/system/zfs-import-scan.service.in
|
|
|
|
+++ b/etc/systemd/system/zfs-import-scan.service.in
|
|
|
|
@@ -10,7 +10,7 @@ ConditionPathExists=!@sysconfdir@/zfs/zpool.cache
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
|
|
|
ExecStartPre=/sbin/modprobe zfs
|
|
|
|
-ExecStart=@sbindir@/zpool import -aN -o cachefile=none
|
|
|
|
+ExecStart=@sbindir@/zpool import -aN -d /dev/disk/by-id -o cachefile=none
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=zfs-mount.service
|
|
|
|
--
|
|
|
|
2.1.4
|
|
|
|
|