]>
Commit | Line | Data |
---|---|---|
4e883a4e | 1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
d0b12570 FG |
2 | From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com> |
3 | Date: Mon, 24 Oct 2016 13:47:06 +0200 | |
4e883a4e | 4 | Subject: [PATCH] import with -d /dev/disk/by-id in scan service |
2d5ff411 FG |
5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
d0b12570 | 8 | |
2d5ff411 | 9 | Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com> |
d0b12570 FG |
10 | --- |
11 | etc/systemd/system/zfs-import-scan.service.in | 2 +- | |
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
13 | ||
14 | diff --git a/etc/systemd/system/zfs-import-scan.service.in b/etc/systemd/system/zfs-import-scan.service.in | |
170bd23f | 15 | index abc8e8e6..8fe2c107 100644 |
d0b12570 FG |
16 | --- a/etc/systemd/system/zfs-import-scan.service.in |
17 | +++ b/etc/systemd/system/zfs-import-scan.service.in | |
b9d59150 | 18 | @@ -12,7 +12,7 @@ ConditionPathExists=!@sysconfdir@/zfs/zpool.cache |
d0b12570 FG |
19 | Type=oneshot |
20 | RemainAfterExit=yes | |
170bd23f | 21 | ExecStartPre=-/sbin/modprobe zfs |
d0b12570 FG |
22 | -ExecStart=@sbindir@/zpool import -aN -o cachefile=none |
23 | +ExecStart=@sbindir@/zpool import -aN -d /dev/disk/by-id -o cachefile=none | |
24 | ||
25 | [Install] | |
b9d59150 | 26 | WantedBy=zfs-import.target |
d0b12570 | 27 | -- |
170bd23f | 28 | 2.11.0 |
d0b12570 | 29 |