Filesystem type zfs_member not configured in kernel

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
peer
Posts: 509
Joined: 2017-03-26 10:14
Has thanked: 10 times
Been thanked: 30 times

Filesystem type zfs_member not configured in kernel

#1 Post by peer »

os: Debian 12 Bookworm KDE Plasma X11

I have installed FreeBSD 14 on a separate hdd (/dev/sdb) in my pc to try it out.

When I try to mount the zfs partition disk '/dev/sdb3' in Debian I get an error: "Filesystem type zfs_member not configured in kernel"
I have installed 'zfs-dkms' and ran 'sudo modprobe zfs'

What should I do to mount the zfs partition??

edit: extra info:

Code: Select all

sudo zpool import
   pool: zroot
     id: 14833806622172067358
  state: UNAVAIL
status: The pool uses the following feature(s) not supported on this system:
        com.klarasystems:vdev_zaps_v2
action: The pool cannot be imported. Access the pool on a system that supports
        the required feature(s), or recreate the pool from backup.
 config:

        zroot       UNAVAIL  unsupported feature(s)
          sdb       ONLINE

User avatar
stevepusser
Posts: 13016
Joined: 2009-10-06 05:53
Has thanked: 45 times
Been thanked: 88 times

Re: Filesystem type zfs_member not configured in kernel

#2 Post by stevepusser »

Is FreeBSD using a newer version of ZFS than Bookworm?

The current ZFS 2.2.6 is in backports: https://packages.debian.org/bookworm-backports/zfs-dkms
MX Linux packager and developer

peer
Posts: 509
Joined: 2017-03-26 10:14
Has thanked: 10 times
Been thanked: 30 times

Re: Filesystem type zfs_member not configured in kernel

#3 Post by peer »

FreeBSD 14.1 is recent so I think it is possible that the zfs version of FreeBSD is newer than the Bookworm version . I will look into that.

edit:
zfs version Bookworm: 2.1.11-1
zfs version FreeBSD: 2.2.4
I wil install the version from the backports.

peer
Posts: 509
Joined: 2017-03-26 10:14
Has thanked: 10 times
Been thanked: 30 times

Re: Filesystem type zfs_member not configured in kernel

#4 Post by peer »

I installed the version from the backports:

Code: Select all

zfs version
zfs-2.2.6-1~bpo12+1
zfs-kmod-2.2.6-1~bpo12+1
But when I try to mount the partition in Dolphin I get the same error:

Code: Select all

An error occurred while accessing 'zroot', the system responded: 
The requested operation has failed: Error mounting /dev/sdb3 at /media/peer/zroot: 
Filesystem type zfs_member not configured in kernel.
The output of the command 'sudo zpool import' has changed:

Code: Select all

sudo zpool import
   pool: zroot
     id: 6709713025080136100
  state: ONLINE
 action: The pool can be imported using its name or numeric identifier.
 config:

        zroot       ONLINE
          sdb       ONLINE
Do I have to import the pool before mounting??

peer
Posts: 509
Joined: 2017-03-26 10:14
Has thanked: 10 times
Been thanked: 30 times

Re: Filesystem type zfs_member not configured in kernel

#5 Post by peer »

I tried to import the zpool with:

Code: Select all

sudo zpool import zroot
But I got a warning that the pool was already in use and suggested that I could force the import:

Code: Select all

sudo zpool -f import zroot
Then the screen showed a lot of errors and after reboot kde did not start. Fortunately I could start the earlier kernel 6.1.0.23. S I reinstalled kernel 6.1.0.25 and now I am back in business.
Now the output of 'sudo zpool import zroot' is:

Code: Select all

sudo zpool import zroot
The ZFS modules cannot be auto-loaded.
Try running 'modprobe zfs' as root to manually load them.
peer@debian:~$ sudo modprobe zfs
modprobe: FATAL: Module zfs not found in directory /lib/modules/6.1.0-25-amd64
I think I have to install zfs-dkms again.

But a forced import seems not a good idee

peer
Posts: 509
Joined: 2017-03-26 10:14
Has thanked: 10 times
Been thanked: 30 times

Re: Filesystem type zfs_member not configured in kernel

#6 Post by peer »

After reïnstalling I tried to run the command 'sudo zpool import zroot' without the force option.
But again kde gave a lot of errors and I have to reïnstall linux-image 6.1.0.25 again.

This is not going to work. I think I have to study on zfs more befor working with it. So I leave it for now.

Aki
Global Moderator
Global Moderator
Posts: 3928
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 108 times
Been thanked: 517 times

Re: Filesystem type zfs_member not configured in kernel

#7 Post by Aki »

Hello,
peer wrote: 2024-09-18 09:52 edit: extra info:

Code: Select all

sudo zpool import
   pool: zroot
     id: 14833806622172067358
  state: UNAVAIL
status: The pool uses the following feature(s) not supported on this system:
        com.klarasystems:vdev_zaps_v2
action: The pool cannot be imported. Access the pool on a system that supports
        the required feature(s), or recreate the pool from backup.
 config:

        zroot       UNAVAIL  unsupported feature(s)
          sdb       ONLINE
OpenZFS implements the com.klarasystems:vdev_zaps_v2 zpool feature [1] [2]: perhaps it is not supported in the Debian ZFS version you are using.

ZFS supported features should be displayed with the following command for all pools:

Code: Select all

zpool get all
--
[1] zpool-features
[2] repo:openzfs/zfs com.klarasystems:vdev_zaps_v2
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

peer
Posts: 509
Joined: 2017-03-26 10:14
Has thanked: 10 times
Been thanked: 30 times

Re: Filesystem type zfs_member not configured in kernel

#8 Post by peer »

@Aki,
thanks for your response.
But I have removed freebsd. I did want to try freebsd but after three installs with different problems I decided that freebsd was not for me (at this time)
Also I have a feeling that the package 'zfs-dkms' from the backports does not work seamlessly with my debian 12 kde os. So I also have removed this package.

Post Reply