I'm new to Linux and raspeberry pi, so I need help.
The problem is that I wanted to install CM4 OpenMediaVault on RPI. I managed to do it, but I have a problem with installing, or rather running, the ZFS plugin that I need.
After installation, a LOG is generated with errors:
I need to repair my ZFS installation and I should follow the steps:
1. install kernel headers
2. install build-essential package
3. install zfs-dkms (to compile zfs kernel module)
4. install plugin (ZFS)
I've already encountered a problem in the first step because I can't find kernel headers for versions 6.6.28 or 6.6.30 anywhere.
Can anyone help me with this topic, from start to finish?
The problem is that I wanted to install CM4 OpenMediaVault on RPI. I managed to do it, but I have a problem with installing, or rather running, the ZFS plugin that I need.
After installation, a LOG is generated with errors:
Code:
Reading package lists...Building dependency tree...Reading state information...The following additional packages will be installed: dkms libnvpair3linux libuutil3linux libzfs4linux libzpool5linux zfs-dkms zfs-zed zfsutils-linuxSuggested packages: menu debhelper zfs-initramfs | zfs-dracutRecommended packages: linux-headers-generic | linux-headers-686-pae | linux-headers-amd64 | linux-headers linux-libc-devThe following NEW packages will be installed: dkms libnvpair3linux libuutil3linux libzfs4linux libzpool5linux openmediavault-zfs zfs-dkms zfs-zed zfsutils-linux0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.Need to get 4593 kB of archives.After this operation, 27.2 MB of additional disk space will be used.Get:1 http://deb.debian.org/debian bookworm/main arm64 dkms all 3.0.10-8+deb12u1 [48.7 kB]Get:2 http://archive.raspberrypi.com/debian bookworm/main arm64 zfs-dkms all 2.2.3-1~bpo12+1~rpt1 [2398 kB]Get:3 https://openmediavault-plugin-developers.github.io/packages/debian sandworm/main arm64 openmediavault-zfs arm64 7.0.6 [56.7 kB]Get:4 http://archive.raspberrypi.com/debian bookworm/main arm64 libnvpair3linux arm64 2.2.3-1~bpo12+1~rpt1 [58.4 kB]Get:5 http://archive.raspberrypi.com/debian bookworm/main arm64 libuutil3linux arm64 2.2.3-1~bpo12+1~rpt1 [50.9 kB]Get:6 http://archive.raspberrypi.com/debian bookworm/main arm64 libzfs4linux arm64 2.2.3-1~bpo12+1~rpt1 [213 kB]Get:7 http://archive.raspberrypi.com/debian bookworm/main arm64 libzpool5linux arm64 2.2.3-1~bpo12+1~rpt1 [1150 kB]Get:8 http://archive.raspberrypi.com/debian bookworm/main arm64 zfsutils-linux arm64 2.2.3-1~bpo12+1~rpt1 [541 kB]Get:9 http://archive.raspberrypi.com/debian bookworm/main arm64 zfs-zed arm64 2.2.3-1~bpo12+1~rpt1 [77.4 kB]Preconfiguring packages ...Fetched 4593 kB in 1s (6726 kB/s)Selecting previously unselected package dkms.(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 150804 files and directories currently installed.)Preparing to unpack .../0-dkms_3.0.10-8+deb12u1_all.deb ...Unpacking dkms (3.0.10-8+deb12u1) ...Selecting previously unselected package zfs-dkms.Preparing to unpack .../1-zfs-dkms_2.2.3-1~bpo12+1~rpt1_all.deb ...Unpacking zfs-dkms (2.2.3-1~bpo12+1~rpt1) ...Selecting previously unselected package libnvpair3linux.Preparing to unpack .../2-libnvpair3linux_2.2.3-1~bpo12+1~rpt1_arm64.deb ...Unpacking libnvpair3linux (2.2.3-1~bpo12+1~rpt1) ...Selecting previously unselected package libuutil3linux.Preparing to unpack .../3-libuutil3linux_2.2.3-1~bpo12+1~rpt1_arm64.deb ...Unpacking libuutil3linux (2.2.3-1~bpo12+1~rpt1) ...Selecting previously unselected package libzfs4linux.Preparing to unpack .../4-libzfs4linux_2.2.3-1~bpo12+1~rpt1_arm64.deb ...Unpacking libzfs4linux (2.2.3-1~bpo12+1~rpt1) ...Selecting previously unselected package libzpool5linux.Preparing to unpack .../5-libzpool5linux_2.2.3-1~bpo12+1~rpt1_arm64.deb ...Unpacking libzpool5linux (2.2.3-1~bpo12+1~rpt1) ...Selecting previously unselected package zfsutils-linux.Preparing to unpack .../6-zfsutils-linux_2.2.3-1~bpo12+1~rpt1_arm64.deb ...Unpacking zfsutils-linux (2.2.3-1~bpo12+1~rpt1) ...Selecting previously unselected package zfs-zed.Preparing to unpack .../7-zfs-zed_2.2.3-1~bpo12+1~rpt1_arm64.deb ...Unpacking zfs-zed (2.2.3-1~bpo12+1~rpt1) ...Selecting previously unselected package openmediavault-zfs.Preparing to unpack .../8-openmediavault-zfs_7.0.6_arm64.deb ...Unpacking openmediavault-zfs (7.0.6) ...Setting up libnvpair3linux (2.2.3-1~bpo12+1~rpt1) ...Setting up dkms (3.0.10-8+deb12u1) ...Setting up zfs-dkms (2.2.3-1~bpo12+1~rpt1) ...Loading new zfs-2.2.3 DKMS files...Building for 6.6.30-v8+Module build for kernel 6.6.30-v8+ was skipped since thekernel headers for this kernel do not seem to be installed.Setting up libuutil3linux (2.2.3-1~bpo12+1~rpt1) ...Setting up libzpool5linux (2.2.3-1~bpo12+1~rpt1) ...Setting up libzfs4linux (2.2.3-1~bpo12+1~rpt1) ...Setting up zfsutils-linux (2.2.3-1~bpo12+1~rpt1) ...modprobe: FATAL: Module zfs not found in directory /lib/modules/6.6.30-v8+Created symlink /etc/systemd/system/zfs-import.target.wants/zfs-import-cache.service → /lib/systemd/system/zfs-import-cache.service.Created symlink /etc/systemd/system/zfs.target.wants/zfs-import.target → /lib/systemd/system/zfs-import.target.Created symlink /etc/systemd/system/zfs-mount.service.wants/zfs-load-module.service → /lib/systemd/system/zfs-load-module.service.Created symlink /etc/systemd/system/zfs.target.wants/zfs-load-module.service → /lib/systemd/system/zfs-load-module.service.Created symlink /etc/systemd/system/zfs.target.wants/zfs-mount.service → /lib/systemd/system/zfs-mount.service.Created symlink /etc/systemd/system/zfs.target.wants/zfs-share.service → /lib/systemd/system/zfs-share.service.Created symlink /etc/systemd/system/zfs-volumes.target.wants/zfs-volume-wait.service → /lib/systemd/system/zfs-volume-wait.service.Created symlink /etc/systemd/system/zfs.target.wants/zfs-volumes.target → /lib/systemd/system/zfs-volumes.target.Created symlink /etc/systemd/system/multi-user.target.wants/zfs.target → /lib/systemd/system/zfs.target.zfs-import-scan.service is a disabled or a static unit, not starting it.Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 145.Processing triggers for initramfs-tools (0.142) ...update-initramfs: Generating /boot/initrd.img-6.6.28+rpt-rpi-v8W: mkconf: MD subsystem is not loaded, thus I cannot scan for arrays.W: mdadm: failed to auto-generate temporary mdadm.conf file.'/boot/initrd.img-6.6.28+rpt-rpi-v8' -> '/boot/firmware/initramfs8'update-initramfs: Generating /boot/initrd.img-6.6.28+rpt-rpi-2712W: mkconf: MD subsystem is not loaded, thus I cannot scan for arrays.W: mdadm: failed to auto-generate temporary mdadm.conf file.'/boot/initrd.img-6.6.28+rpt-rpi-2712' -> '/boot/firmware/initramfs_2712'update-initramfs: Generating /boot/initrd.img-6.6.20+rpt-rpi-v8W: mkconf: MD subsystem is not loaded, thus I cannot scan for arrays.W: mdadm: failed to auto-generate temporary mdadm.conf file.update-initramfs: Generating /boot/initrd.img-6.6.20+rpt-rpi-2712W: mkconf: MD subsystem is not loaded, thus I cannot scan for arrays.W: mdadm: failed to auto-generate temporary mdadm.conf file.Processing triggers for openmediavault (7.1.1-1) ...Restarting engine daemon ...Processing triggers for libc-bin (2.36-9+rpt2+deb12u7) ...Processing triggers for man-db (2.11.2-2) ...Setting up zfs-zed (2.2.3-1~bpo12+1~rpt1) ...Created symlink /etc/systemd/system/zed.service → /lib/systemd/system/zfs-zed.service.Created symlink /etc/systemd/system/zfs.target.wants/zfs-zed.service → /lib/systemd/system/zfs-zed.service.Setting up openmediavault-zfs (7.0.6) ...modprobe: FATAL: Module zfs not found in directory /lib/modules/6.6.30-v8+New plugin install, not inserting uuid property into existing datasetsERROR: The state 'zfs' does not existProcessing triggers for openmediavault (7.1.1-1) ...Updating workbench configuration files ...Restarting engine daemon ...END OF LINE
1. install kernel headers
2. install build-essential package
3. install zfs-dkms (to compile zfs kernel module)
4. install plugin (ZFS)
I've already encountered a problem in the first step because I can't find kernel headers for versions 6.6.28 or 6.6.30 anywhere.
Can anyone help me with this topic, from start to finish?
Statistics: Posted by Jedrek — Fri May 17, 2024 7:50 pm