Re: debian zfs spl dkms build fails
Greetings. Your reply is completely nonresponsive to
the zfs kernel upgrade situation as it is today on debian.
Why did you bother? It's weird.
I don't actually care very much. I'm going to go back to
dumb extfs if required. I'm just fishing for some sanity
On 10/25/17 21:18, David Christensen wrote:
On 10/25/17 19:42, Russell L. Carter wrote:
This has been happening for over 2 weeks now:
It has such cheerful effects as:
root@knuth> zpool status
The ZFS modules are not loaded.
Try running '/sbin/modprobe zfs' as root to load them.
The symptom displays via several ways like this:
Deleting module version: 0.6.5.11
completely from the DKMS tree.
Unpacking zfs-dkms (0.6.5.11-1) over (0.6.5.11-1) ...
Setting up zfs-dkms (0.6.5.11-1) ...
Loading new zfs-0.6.5.11 DKMS files...
Building for 4.13.0-1-amd64
Building initial module for 4.13.0-1-amd64
*** Please make sure the kmod spl devel <kernel> package for
*** distribution is installed then try again. If that fails you
*** can specify the location of the spl objects with the
*** '--with-spl-obj=PATH' option.
Error! Bad return status for module build on kernel: 4.13.0-1-amd64
Consult /var/lib/dkms/zfs/0.6.5.11/build/make.log for more information.
So what are we supposed to do? The system is up, network accessible,
and I'm pulling a current in time backup. Is there a linux distro that
isn't broken for zfsonlinux distro kernel updates? Otherwise a complete
reinstall back to the dumb world of ext4, as I need a metal 8 core box
for comparative testing.
If you want to debug ZOL and/or Linux, then build from source.
If you want to use ZOL on Debian, use a supported Debian version and
supported ZOL binary packages:
For Debian Stretch, ZFS packages are included in contrib repository.
For Debian Jessie, ZFS packages are provided by backports.
Install kernel headers:
# apt install linux-headers-$(uname -r)
Install zfs packages:
# apt-get install zfs-dkms
If you want to boot from ZFS, you'll need zfs-initramfs package too:
# apt-get install zfs-initramfs