]> git.proxmox.com Git - zfsonlinux.git/blame - zfs-patches/0002-import-with-d-dev-disk-by-id-in-scan-service.patch
bump version to 0.7.11-pve1~bpo1
[zfsonlinux.git] / zfs-patches / 0002-import-with-d-dev-disk-by-id-in-scan-service.patch
CommitLineData
4e883a4e 1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
d0b12570
FG
2From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
3Date: Mon, 24 Oct 2016 13:47:06 +0200
4e883a4e 4Subject: [PATCH] import with -d /dev/disk/by-id in scan service
2d5ff411
FG
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
d0b12570 8
2d5ff411 9Signed-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
14diff --git a/etc/systemd/system/zfs-import-scan.service.in b/etc/systemd/system/zfs-import-scan.service.in
170bd23f 15index 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 282.11.0
d0b12570 29