[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What happened?



Charles Curley wrote: 
> On Sun, 17 Apr 2022 07:06:44 -0400
> Dan Ritter <dsr@randomstring.org> wrote:
> 
> > Doing this while running is odd. However --
> > 
> > ZFS is supplied via DKMS, which needs to have the proper version
> > of kernel headers installed to build it. There are configuration
> > choices which can be made so that:
> > 
> > - with kernel v1, headers v1 are installed and DKMS builds ZFS
> > 
> > - an apt upgrade occurs, installing kernel v2
> > 
> > - with kernel v2, headers v2 are not installed and DKMS cannot
> > build ZFS. After reboot, ZFS pools cannot be found.
> > 
> > In which case installing v2 of the headers will allow DKMS to
> > rebuild ZFS, and pools will either be automatically found or can
> > be found with 'zfs import'.
> 
> Hmmm. Would installing linux-image-amd64 (or arch as appropriate) solve
> that by bringing in the new headers at the same time it brought in a new
> kernel?

No, you need linux-image-amd64 and linux-headers-amd64

If you've specified versions of these instead, the headers don't
follow along automatically.

-dsr-


Reply to: