[Pkg-zfsonlinux-devel] Bug#940678: zfsutils-linux: zfs-import-cache fails w. "one or more devices is currently unavailable" on Buster after upgrade from Stretch

Alberto Berti alberto+debian-bugs at metapensiero.it
Wed Sep 18 22:39:18 BST 2019


Package: zfsutils-linux
Version: 0.7.12-2+deb10u1
Severity: critical
Justification: causes serious data loss

Dear Maintainer,

after upgrading from Stretch, the zfs filesystems fail to mount at boot time due to the zfs-import-cache 
service unit fails, with the following log:

 systemd[1]: Starting Import ZFS pools by cache file...
 zpool[2896]: cannot import 'tank': one or more devices is currently unavailable
 systemd[1]: zfs-import-cache.service: Main process exited, code=exited, status=1/FAILURE
 systemd[1]: zfs-import-cache.service: Failed with result 'exit-code'.
 systemd[1]: Failed to start Import ZFS pools by cache file.

In order to manually mount the filesytems, I have to run:

 # zpool import -d /dev  -aN`
 # zfs mount -a

The pool is made by two devices in mirroring.

any clue?
 
-- System Information:
Debian Release: 10.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages zfsutils-linux depends on:
ii  libblkid1        2.33.1-0.1
ii  libc6            2.28-10
ii  libnvpair1linux  0.7.12-2+deb10u1
ii  libuuid1         2.33.1-0.1
ii  libuutil1linux   0.7.12-2+deb10u1
ii  libzfs2linux     0.7.12-2+deb10u1
ii  libzpool2linux   0.7.12-2+deb10u1
ii  python3          3.7.3-1
ii  zlib1g           1:1.2.11.dfsg-1

Versions of packages zfsutils-linux recommends:
ii  lsb-base                10.2019051400
ii  zfs-dkms [zfs-modules]  0.7.12-2+deb10u1
pn  zfs-zed                 <none>

Versions of packages zfsutils-linux suggests:
pn  nfs-kernel-server           <none>
pn  samba-common-bin            <none>
pn  zfs-initramfs | zfs-dracut  <none>

-- no debconf information



More information about the Pkg-zfsonlinux-devel mailing list