@cement_head - This is what I did just yesterday to solve the issue. I
am using kernel Linux 6.2.0-37-generic x86_64 on Ubuntu 22.04. Mind you,
my ZFS pool is *not* on the same disk that is running my OS. That disk
runs ext4 and I have six disks in a raidz2-0 array that I use for
storage.


If you are running a kernel put out by one of the Ubuntu apt repo's like I am, 
then you can do the following:

- Write down the names of each of your ZFS pools (for instance, I have one 
called "z-storage" in a raidz2-0 array)
- Uninstall the zfs-dkms package from the Ubuntu repos since it only handles 
kernels up to 5.19 (sudo apt remove zfs-dkms)
- Now re-import your ZFS pool (sudo zpool import <name-of-your-zfs-pool>) (i.e. 
for me - sudo zpool import z-storage)
- Reboot
- Once your OS comes back up, check the status of any ZFS pools (sudo zpool 
status -v), or just list them if you prefer (sudo zpool list)
- If your ZFS pool does not show up, make sure to check the settings in file 
"/etc/default/zfs" to make sure that ZFS is loading the key, mounting and 
unmounting, sharing and unsharing. If not then adjust those settings, reimport 
the ZFS pool and reboot like above and you should be good to go.

Hope that helps and works for you and anyone else that also has this
issue.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/2030100

Title:
  zfs-dkms 2.1.5-1ubuntu6~22.04.1: zfs kernel module failed to build

Status in zfs-linux package in Ubuntu:
  Confirmed

Bug description:
  After this mornings update to Linux Kernel 6.2

  ProblemType: Package
  DistroRelease: Ubuntu 22.04
  Package: zfs-dkms 2.1.5-1ubuntu6~22.04.1
  ProcVersionSignature: Ubuntu 6.2.0-26.26~22.04.1-generic 6.2.13
  Uname: Linux 6.2.0-26-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu82.5
  Architecture: amd64
  CasperMD5CheckResult: pass
  DKMSBuildLog:
   DKMS make.log for zfs-2.1.5 for kernel 6.2.0-26-generic (x86_64)
   Fri Aug  4 10:17:48 AM PDT 2023
   make: *** No targets specified and no makefile found.  Stop.
  DKMSKernelVersion: 6.2.0-26-generic
  Date: Fri Aug  4 10:17:49 2023
  InstallationDate: Installed on 2022-11-19 (258 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 
(20220419)
  PackageArchitecture: all
  PackageVersion: 2.1.5-1ubuntu6~22.04.1
  Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 
3.10.6-1~22.04
  PythonDetails: N/A
  RelatedPackageVersions:
   dpkg 1.21.1ubuntu2.2
   apt  2.4.9
  SourcePackage: zfs-linux
  Title: zfs-dkms 2.1.5-1ubuntu6~22.04.1: zfs kernel module failed to build
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/2030100/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to