You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Include any warning/errors/backtraces from the system logs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libnvpair1linux libuutil1linux libzfs2linux libzpool2linux python3-distutils
python3-lib2to3 zfs-zed
Suggested packages:
nfs-kernel-server samba-common-bin zfs-initramfs | zfs-dracut
The following NEW packages will be installed:
libnvpair1linux libuutil1linux libzfs2linux libzpool2linux python3-distutils
python3-lib2to3 zfs-dkms zfs-zed zfsutils-linux
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,637 kB of archives.
After this operation, 20.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian buster-backports/contrib amd64 libnvpair1linux amd64 0.8.2-2~bpo10+1 [55.1 kB]
Get:2 http://deb.debian.org/debian buster-backports/contrib amd64 libuutil1linux amd64 0.8.2-2~bpo10+1 [48.1 kB]
Get:3 http://deb.debian.org/debian buster-backports/contrib amd64 libzfs2linux amd64 0.8.2-2~bpo10+1 [215 kB]
Get:4 http://deb.debian.org/debian buster-backports/contrib amd64 libzpool2linux amd64 0.8.2-2~bpo10+1 [811 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 python3-lib2to3 all 3.7.3-1 [76.7 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 python3-distutils all 3.7.3-1 [142 kB]
Get:7 http://deb.debian.org/debian buster-backports/contrib amd64 zfs-dkms all 0.8.2-2~bpo10+1 [1,859 kB]
Get:8 http://deb.debian.org/debian buster-backports/contrib amd64 zfsutils-linux amd64 0.8.2-2~bpo10+1 [361 kB]
Get:9 http://deb.debian.org/debian buster-backports/contrib amd64 zfs-zed amd64 0.8.2-2~bpo10+1 [68.3 kB]
Fetched 3,637 kB in 0s (23.8 MB/s)
Preconfiguring packages ...
Selecting previously unselected package libnvpair1linux.
(Reading database ... 66711 files and directories currently installed.)
Preparing to unpack .../0-libnvpair1linux_0.8.2-2~bpo10+1_amd64.deb ...
Unpacking libnvpair1linux (0.8.2-2~bpo10+1) ...
Selecting previously unselected package libuutil1linux.
Preparing to unpack .../1-libuutil1linux_0.8.2-2~bpo10+1_amd64.deb ...
Unpacking libuutil1linux (0.8.2-2~bpo10+1) ...
Selecting previously unselected package libzfs2linux.
Preparing to unpack .../2-libzfs2linux_0.8.2-2~bpo10+1_amd64.deb ...
Unpacking libzfs2linux (0.8.2-2~bpo10+1) ...
Selecting previously unselected package libzpool2linux.
Preparing to unpack .../3-libzpool2linux_0.8.2-2~bpo10+1_amd64.deb ...
Unpacking libzpool2linux (0.8.2-2~bpo10+1) ...
Selecting previously unselected package python3-lib2to3.
Preparing to unpack .../4-python3-lib2to3_3.7.3-1_all.deb ...
Unpacking python3-lib2to3 (3.7.3-1) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../5-python3-distutils_3.7.3-1_all.deb ...
Unpacking python3-distutils (3.7.3-1) ...
Selecting previously unselected package zfs-dkms.
Preparing to unpack .../6-zfs-dkms_0.8.2-2~bpo10+1_all.deb ...
Unpacking zfs-dkms (0.8.2-2~bpo10+1) ...
Selecting previously unselected package zfsutils-linux.
Preparing to unpack .../7-zfsutils-linux_0.8.2-2~bpo10+1_amd64.deb ...
Unpacking zfsutils-linux (0.8.2-2~bpo10+1) ...
Selecting previously unselected package zfs-zed.
Preparing to unpack .../8-zfs-zed_0.8.2-2~bpo10+1_amd64.deb ...
Unpacking zfs-zed (0.8.2-2~bpo10+1) ...
Setting up libuutil1linux (0.8.2-2~bpo10+1) ...
Setting up libnvpair1linux (0.8.2-2~bpo10+1) ...
Setting up python3-lib2to3 (3.7.3-1) ...
Setting up python3-distutils (3.7.3-1) ...
Setting up zfs-dkms (0.8.2-2~bpo10+1) ...
Loading new zfs-0.8.2 DKMS files...
Building for 4.19.0-6-amd64
Building initial module for 4.19.0-6-amd64
Done.
zavl.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.19.0-6-amd64/updates/dkms/
znvpair.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.19.0-6-amd64/updates/dkms/
zunicode.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.19.0-6-amd64/updates/dkms/
zcommon.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.19.0-6-amd64/updates/dkms/
zfs.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.19.0-6-amd64/updates/dkms/
icp.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.19.0-6-amd64/updates/dkms/
zlua.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.19.0-6-amd64/updates/dkms/
spl.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.19.0-6-amd64/updates/dkms/
depmod.....
DKMS: install completed.
Setting up libzpool2linux (0.8.2-2~bpo10+1) ...
Setting up zfsutils-linux (0.8.2-2~bpo10+1) ...
Created symlink /etc/systemd/system/zfs-import.target.wants/zfs-import-cache.service → /lib/systemd/system/zfs-import-cache.service.
Created symlink /etc/systemd/system/zfs.target.wants/zfs-import.target → /lib/systemd/system/zfs-import.target.
Created symlink /etc/systemd/system/zfs.target.wants/zfs-mount.service → /lib/systemd/system/zfs-mount.service.
Created symlink /etc/systemd/system/zfs.target.wants/zfs-share.service → /lib/systemd/system/zfs-share.service.
Created symlink /etc/systemd/system/zfs-volumes.target.wants/zfs-volume-wait.service → /lib/systemd/system/zfs-volume-wait.service.
Created symlink /etc/systemd/system/zfs.target.wants/zfs-volumes.target → /lib/systemd/system/zfs-volumes.target.
Created symlink /etc/systemd/system/multi-user.target.wants/zfs.target → /lib/systemd/system/zfs.target.
zfs-import-scan.service is a disabled or a static unit, not starting it.
Job for zfs-mount.service failed because the control process exited with error code.
See "systemctl status zfs-mount.service" and "journalctl -xe"for details.
invoke-rc.d: initscript zfs-mount, action "start" failed.
● zfs-mount.service - Mount ZFS filesystems
Loaded: loaded (/lib/systemd/system/zfs-mount.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2019-10-14 23:59:22 +08; 8ms ago
Docs: man:zfs(8)
Process: 101657 ExecStart=/sbin/zfs mount -a (code=exited, status=1/FAILURE)
Main PID: 101657 (code=exited, status=1/FAILURE)
Oct 14 23:59:22 lab3 systemd[1]: Starting Mount ZFS filesystems...
Oct 14 23:59:22 lab3 zfs[101657]: The ZFS modules are not loaded.
Oct 14 23:59:22 lab3 zfs[101657]: Try running '/sbin/modprobe zfs' as root to load them.
Oct 14 23:59:22 lab3 systemd[1]: zfs-mount.service: Main process exited, code=exited, status=1/FAILURE
Oct 14 23:59:22 lab3 systemd[1]: zfs-mount.service: Failed with result 'exit-code'.
Oct 14 23:59:22 lab3 systemd[1]: Failed to start Mount ZFS filesystems.
dpkg: error processing package zfsutils-linux (--configure):
installed zfsutils-linux package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of zfs-zed:
zfs-zed depends on zfsutils-linux (>= 0.8.2-2~bpo10+1); however:
Package zfsutils-linux is not configured yet.
dpkg: error processing package zfs-zed (--configure):
dependency problems - leaving unconfigured
Processing triggers for systemd (241-7~deb10u1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10) ...
Errors were encountered while processing:
zfsutils-linux
zfs-zed
E: Sub-process /usr/bin/dpkg returned an error code (1)
So yes, running sudo /sbin/modprobe zfs then rerunning the failed install step sudo apt install zfs-dkms zfsutils-linux does work. Not sure if this is a known issue or anything, but it did not seem normal to me.
The text was updated successfully, but these errors were encountered:
FYI, for anyone that stumbled upon this. I was having problems with this as an ansible play, so an error like this is not ideal. What I later found was that apt install zfs-dkms will include the installation of zfsutils-linux, which causes that install step to fail. The solution I have was to:
System information
Describe the problem you're observing
Installation fails consistently on Debian 10
Describe how to reproduce the problem
Include any warning/errors/backtraces from the system logs
So yes, running
sudo /sbin/modprobe zfs
then rerunning the failed install stepsudo apt install zfs-dkms zfsutils-linux
does work. Not sure if this is a known issue or anything, but it did not seem normal to me.The text was updated successfully, but these errors were encountered: