[Pkg-zfsonlinux-devel] Bug#1012600: fixed in zfs-linux 2.1.5-1
yahg
yahg at jrvdev.com
Mon Jun 27 00:54:56 BST 2022
On Thu, 23 Jun 2022 04:06:10 +0000 Debian FTP Masters
<ftpmaster at ftp-master.debian.org> wrote:
> Source: zfs-linux
> Source-Version: 2.1.5-1
> Done: Mo Zhou <lumin at debian.org>
>
> We believe that the bug you reported is fixed in the latest version of
> zfs-linux, which is due to be installed in the Debian FTP archive.
For those of you who are using bookworm/testing and don't want to wait
for the packages to drop from sid/unstable, you can download the
sid/unstable packages as .deb files and install them yourself. This is
potentially dangerous so don't proceed if you can wait.
I have installed: zfs-dkms, zfsutils-linux and zfs-zed. By starting at
the top I found the dependencies. Below are the files in the order I had
success with. I installed:
sudo dpkg -i /tmp/zfs/libnvpair3linux_2.1.5-1_amd64.deb
sudo dpkg -i /tmp/zfs/libuutil3linux_2.1.5-1_amd64.deb
sudo dpkg -i /tmp/zfs/libzfs4linux_2.1.5-1_amd64.deb
sudo dpkg -i /tmp/zfs/libzpool5linux_2.1.5-1_amd64.deb
sudo dpkg -i /tmp/zfs/zfsutils-linux_2.1.5-1_amd64.deb
The last failed but only because it was waiting for the next package:
sudo dpkg -i /tmp/zfs/zfs-dkms_2.1.5-1_all.deb
I next reinstalled the one that failed on the assumption that it might
not be totally finished
sudo dpkg -i /tmp/zfs/zfsutils-linux_2.1.5-1_amd64.deb
sudo dpkg -i /tmp/zfs/zfs-zed_2.1.5-1_amd64.deb
A quick reboot, but zfs did not restart. I found in the syslog:
Import ZFS pools by cache file was skipped because of a failed
condition check (ConditionFileNotEmpty=/etc/zfs/zpool.cache)
I found a fix:
sudo zpool import -a
After this I am able to use zfs in testing on linux 5.18. I don't know
if I will have to repeat "zpool import -a" at my next reboot, but it
seems like it is a possibility. I want to make clear I have no more than
a superficial understanding of why this worked, nor do I know what the
implications of hand-installing packages will be on later updates. Use
this information at your own risk.
More information about the Pkg-zfsonlinux-devel
mailing list