ignore zfs-import-scan errors
zpool import return error if we have no zfs pools. We want to ignore that.
This commit is contained in:
parent
09b78d33bc
commit
10b48f6191
2
Makefile
2
Makefile
@ -3,7 +3,7 @@ RELEASE=4.0
|
||||
# source form https://github.com/zfsonlinux/
|
||||
|
||||
ZFSVER=0.6.3-1.2
|
||||
ZFSPKGREL=pve2~jessie
|
||||
ZFSPKGREL=pve3~jessie
|
||||
SPLPKGREL=pve1~jessie
|
||||
ZFSPKGVER=0.6.3-${ZFSPKGREL}
|
||||
SPLPKGVER=0.6.3-${SPLPKGREL}
|
||||
|
@ -1,3 +1,9 @@
|
||||
zfs-linux (0.6.3-pve3~jessie) unstable; urgency=medium
|
||||
|
||||
* ignore zfs-import-scan errors
|
||||
|
||||
-- Proxmox Support Team <support@proxmox.com> Tue, 31 Mar 2015 17:52:40 +0200
|
||||
|
||||
zfs-linux (0.6.3-pve2~jessie) unstable; urgency=medium
|
||||
|
||||
* use systemd for service startup
|
||||
|
10
zfs-debian-pve/patches/ignore-zfs-import-error.patch
Normal file
10
zfs-debian-pve/patches/ignore-zfs-import-error.patch
Normal file
@ -0,0 +1,10 @@
|
||||
Index: new/etc/systemd/system/zfs-import-scan.service.in
|
||||
===================================================================
|
||||
--- new.orig/etc/systemd/system/zfs-import-scan.service.in
|
||||
+++ new/etc/systemd/system/zfs-import-scan.service.in
|
||||
@@ -8,4 +8,4 @@ ConditionPathExists=!@sysconfdir@/zfs/zp
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
-ExecStart=@sbindir@/zpool import -d /dev/disk/by-id -aN
|
||||
+ExecStart=-@sbindir@/zpool import -d /dev/disk/by-id -aN
|
@ -2,3 +2,4 @@
|
||||
0002-Check-for-META-and-DCH-consistency-in-autoconf.patch
|
||||
0003-Add-libuutil-to-LIBADD-for-libzfs-and-libzfs_core.patch
|
||||
0005-vdev_id-use-mawk-compatible-regular-expression.patch
|
||||
ignore-zfs-import-error.patch
|
||||
|
Loading…
Reference in New Issue
Block a user