Skip to content

Instantly share code, notes, and snippets.

@atiq-cs
Created September 1, 2025 20:14
Show Gist options
  • Save atiq-cs/c5ad3911435f6d2f1015e5013ced91c0 to your computer and use it in GitHub Desktop.
Save atiq-cs/c5ad3911435f6d2f1015e5013ced91c0 to your computer and use it in GitHub Desktop.
openzfs upgrade from 2.3.0 to 2.3.4
# successful upgrade to 2.3.4
$ sudo apt update && sudo apt install --only-upgrade *zfs* --yes
Hit:1 http://apt.pop-os.org/proprietary noble InRelease
Hit:2 http://apt.pop-os.org/release noble InRelease
Hit:3 http://apt.pop-os.org/staging/linux-6.16 noble InRelease
Hit:4 http://apt.pop-os.org/ubuntu noble InRelease
Hit:5 http://apt.pop-os.org/ubuntu noble-security InRelease
Hit:6 http://apt.pop-os.org/ubuntu noble-updates InRelease
Hit:7 http://apt.pop-os.org/ubuntu noble-backports InRelease
Hit:8 https://updates.signal.org/desktop/apt xenial InRelease
Hit:9 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:10 https://download.vscodium.com/debs vscodium InRelease
Get:11 https://apt.fury.io/nushell InRelease [1,434 B]
Hit:12 https://ppa.launchpadcontent.net/arter97/zfs/ubuntu noble InRelease
Hit:13 https://ppa.launchpadcontent.net/keyd-team/ppa/ubuntu noble InRelease
Fetched 1,434 B in 1s (1,041 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
8 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'zfs-zed' for glob '*zfs*'
Note, selecting 'grubzfs-testsuite' for glob '*zfs*'
Note, selecting 'liblzfse' for glob '*zfs*'
Note, selecting 'zfs-test' for glob '*zfs*'
Note, selecting 'zfs-initramfs' for glob '*zfs*'
Note, selecting 'zfs' for glob '*zfs*'
Note, selecting 'pyzfs-doc' for glob '*zfs*'
Note, selecting 'zfs-dkms' for glob '*zfs*'
Note, selecting 'zfs-auto-snapshot' for glob '*zfs*'
Note, selecting 'libzfslinux-dev' for glob '*zfs*'
Note, selecting 'libvirt-daemon-driver-storage-zfs' for glob '*zfs*'
Note, selecting 'python3-pyzfs' for glob '*zfs*'
Note, selecting 'zfsutils' for glob '*zfs*'
Note, selecting 'liblzfse-dev' for glob '*zfs*'
Note, selecting 'golang-go-zfs-dev' for glob '*zfs*'
Note, selecting 'libguestfs-zfs' for glob '*zfs*'
Note, selecting 'python3-libzfs' for glob '*zfs*'
Note, selecting 'zfs-dracut' for glob '*zfs*'
Note, selecting 'zfsnap' for glob '*zfs*'
Note, selecting 'lzfse' for glob '*zfs*'
Note, selecting 'zfs-modules' for glob '*zfs*'
Note, selecting 'zfs-fuse' for glob '*zfs*'
Note, selecting 'libzfs2' for glob '*zfs*'
Note, selecting 'libzfs4' for glob '*zfs*'
Note, selecting 'lzfse-bin' for glob '*zfs*'
Note, selecting 'libzfs4linux' for glob '*zfs*'
Note, selecting 'lzfse-dev' for glob '*zfs*'
Note, selecting 'liblzfse1' for glob '*zfs*'
Note, selecting 'libzfs6linux' for glob '*zfs*'
Note, selecting 'libzfsbootenv1linux' for glob '*zfs*'
Note, selecting 'libpam-zfs' for glob '*zfs*'
Note, selecting 'zfsutils-linux' for glob '*zfs*'
Note, selecting 'zfsutils-linux' instead of 'zfsutils'
Skipping libpam-zfs, it is not installed and only upgrades are requested.
Skipping libzfs4linux, it is not installed and only upgrades are requested.
Skipping libzfsbootenv1linux, it is not installed and only upgrades are requested.
Skipping libzfslinux-dev, it is not installed and only upgrades are requested.
Skipping python3-pyzfs, it is not installed and only upgrades are requested.
Skipping pyzfs-doc, it is not installed and only upgrades are requested.
Skipping zfs-dracut, it is not installed and only upgrades are requested.
Skipping zfs-test, it is not installed and only upgrades are requested.
Skipping zfs-fuse, it is not installed and only upgrades are requested.
Skipping libvirt-daemon-driver-storage-zfs, it is not installed and only upgrades are requested.
Skipping liblzfse1, it is not installed and only upgrades are requested.
Skipping golang-go-zfs-dev, it is not installed and only upgrades are requested.
Skipping grubzfs-testsuite, it is not installed and only upgrades are requested.
Skipping libguestfs-zfs, it is not installed and only upgrades are requested.
Skipping liblzfse-dev, it is not installed and only upgrades are requested.
Skipping lzfse, it is not installed and only upgrades are requested.
Skipping zfsnap, it is not installed and only upgrades are requested.
Skipping zfs-auto-snapshot, it is not installed and only upgrades are requested.
Skipping python3-libzfs, it is not installed and only upgrades are requested.
The following additional packages will be installed:
libnvpair3linux libuutil3linux libzpool6linux
Suggested packages:
debhelper nfs-kernel-server samba-common-bin
The following packages will be upgraded:
libnvpair3linux libuutil3linux libzfs6linux libzpool6linux zfs-dkms zfs-initramfs zfs-zed zfsutils-linux
8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
Need to get 5,100 kB of archives.
After this operation, 377 kB of additional disk space will be used.
Get:1 https://ppa.launchpadcontent.net/arter97/zfs/ubuntu noble/main amd64 zfs-initramfs amd64 2.3.4-1arter97~ubuntu24.04.1 [38.8 kB]
Get:2 https://ppa.launchpadcontent.net/arter97/zfs/ubuntu noble/main amd64 zfs-dkms all 2.3.4-1arter97~ubuntu24.04.1 [2,514 kB]
Get:3 https://ppa.launchpadcontent.net/arter97/zfs/ubuntu noble/main amd64 zfsutils-linux amd64 2.3.4-1arter97~ubuntu24.04.1 [617 kB]
Get:4 https://ppa.launchpadcontent.net/arter97/zfs/ubuntu noble/main amd64 libnvpair3linux amd64 2.3.4-1arter97~ubuntu24.04.1 [63.9 kB]
Get:5 https://ppa.launchpadcontent.net/arter97/zfs/ubuntu noble/main amd64 libuutil3linux amd64 2.3.4-1arter97~ubuntu24.04.1 [54.9 kB]
Get:6 https://ppa.launchpadcontent.net/arter97/zfs/ubuntu noble/main amd64 libzfs6linux amd64 2.3.4-1arter97~ubuntu24.04.1 [255 kB]
Get:7 https://ppa.launchpadcontent.net/arter97/zfs/ubuntu noble/main amd64 libzpool6linux amd64 2.3.4-1arter97~ubuntu24.04.1 [1,473 kB]
Get:8 https://ppa.launchpadcontent.net/arter97/zfs/ubuntu noble/main amd64 zfs-zed amd64 2.3.4-1arter97~ubuntu24.04.1 [83.5 kB]
Fetched 5,100 kB in 3s (1,972 kB/s)
Preconfiguring packages ...
(Reading database ... 200213 files and directories currently installed.)
Preparing to unpack .../0-zfs-initramfs_2.3.4-1arter97~ubuntu24.04.1_amd64.deb ...
Unpacking zfs-initramfs (2.3.4-1arter97~ubuntu24.04.1) over (2.3.0-1~exp1pop1~1738098853~24.04~7638679) ...
Preparing to unpack .../1-zfs-dkms_2.3.4-1arter97~ubuntu24.04.1_all.deb ...
Module zfs-2.3.0 for kernel 6.12.10-76061203-generic (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.
zfs.ko.zst:
- Uninstallation
- Deleting from: /lib/modules/6.12.10-76061203-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
spl.ko.zst:
- Uninstallation
- Deleting from: /lib/modules/6.12.10-76061203-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod...
Deleting module zfs-2.3.0 completely from the DKMS tree.
Unpacking zfs-dkms (2.3.4-1arter97~ubuntu24.04.1) over (2.3.0-1~exp1pop1~1738098853~24.04~7638679) ...
Preparing to unpack .../2-zfsutils-linux_2.3.4-1arter97~ubuntu24.04.1_amd64.deb ...
Unpacking zfsutils-linux (2.3.4-1arter97~ubuntu24.04.1) over (2.3.0-1~exp1pop1~1738098853~24.04~7638679) ...
Preparing to unpack .../3-libnvpair3linux_2.3.4-1arter97~ubuntu24.04.1_amd64.deb ...
Unpacking libnvpair3linux (2.3.4-1arter97~ubuntu24.04.1) over (2.3.0-1~exp1pop1~1738098853~24.04~7638679) ...
Preparing to unpack .../4-libuutil3linux_2.3.4-1arter97~ubuntu24.04.1_amd64.deb ...
Unpacking libuutil3linux (2.3.4-1arter97~ubuntu24.04.1) over (2.3.0-1~exp1pop1~1738098853~24.04~7638679) ...
Preparing to unpack .../5-libzfs6linux_2.3.4-1arter97~ubuntu24.04.1_amd64.deb ...
Leaving 'diversion of /lib/x86_64-linux-gnu/libzfs_core.so.3 to /lib/x86_64-linux-gnu/libzfs_core.so.3.usr-is-merged by libzfs6linux'
Leaving 'diversion of /lib/x86_64-linux-gnu/libzfs_core.so.3.0.0 to /lib/x86_64-linux-gnu/libzfs_core.so.3.0.0.usr-is-merged by libzfs6linux'
Unpacking libzfs6linux (2.3.4-1arter97~ubuntu24.04.1) over (2.3.0-1~exp1pop1~1738098853~24.04~7638679) ...
Preparing to unpack .../6-libzpool6linux_2.3.4-1arter97~ubuntu24.04.1_amd64.deb ...
Unpacking libzpool6linux (2.3.4-1arter97~ubuntu24.04.1) over (2.3.0-1~exp1pop1~1738098853~24.04~7638679) ...
Preparing to unpack .../7-zfs-zed_2.3.4-1arter97~ubuntu24.04.1_amd64.deb ...
Unpacking zfs-zed (2.3.4-1arter97~ubuntu24.04.1) over (2.3.0-1~exp1pop1~1738098853~24.04~7638679) ...
Setting up libnvpair3linux (2.3.4-1arter97~ubuntu24.04.1) ...
Setting up linux-image-6.16.3-76061603-generic (6.16.3-76061603.202508231538~1756378764~24.04~8bb292c) ...
Setting up zfs-dkms (2.3.4-1arter97~ubuntu24.04.1) ...
Loading new zfs-2.3.4 DKMS files...
Building for 6.12.10-76061203-generic 6.16.3-76061603-generic
Building initial module for 6.12.10-76061203-generic
Done.
zfs.ko.zst:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.12.10-76061203-generic/updates/dkms/
spl.ko.zst:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.12.10-76061203-generic/updates/dkms/
depmod...
Building initial module for 6.16.3-76061603-generic
Done.
zfs.ko.zst:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.16.3-76061603-generic/updates/dkms/
spl.ko.zst:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.16.3-76061603-generic/updates/dkms/
depmod...
Setting up linux-headers-6.16.3-76061603-generic (6.16.3-76061603.202508231538~1756378764~24.04~8bb292c) ...
/etc/kernel/header_postinst.d/dkms:
* dkms: running auto installation service for kernel 6.16.3-76061603-generic
* dkms: autoinstall for kernel 6.16.3-76061603-generic
...done.
Setting up libuutil3linux (2.3.4-1arter97~ubuntu24.04.1) ...
Setting up libzpool6linux (2.3.4-1arter97~ubuntu24.04.1) ...
Setting up linux-headers-generic (6.16.3-76061603.202508231538~1756378764~24.04~8bb292c) ...
Setting up libzfs6linux (2.3.4-1arter97~ubuntu24.04.1) ...
Setting up linux-generic (6.16.3-76061603.202508231538~1756378764~24.04~8bb292c) ...
Setting up zfsutils-linux (2.3.4-1arter97~ubuntu24.04.1) ...
Installing new version of config file /etc/init.d/zfs-import ...
Installing new version of config file /etc/init.d/zfs-load-key ...
Installing new version of config file /etc/init.d/zfs-mount ...
Installing new version of config file /etc/init.d/zfs-share ...
Installing new version of config file /etc/zfs/zfs-functions ...
zfs-import-scan.service is a disabled or a static unit, not starting it.
zfs-load-module.service is a disabled or a static unit, not starting it.
zfs-share.service is a disabled or a static unit, not starting it.
zfs-volume-wait.service is a disabled or a static unit, not starting it.
zfs-volumes.target is a disabled or a static unit, not starting it.
zfs.target is a disabled or a static unit, not starting it.
Setting up zfs-initramfs (2.3.4-1arter97~ubuntu24.04.1) ...
Setting up linux-system76 (6.16.3-76061603.202508231538~1756378764~24.04~8bb292c) ...
Setting up zfs-zed (2.3.4-1arter97~ubuntu24.04.1) ...
Installing new version of config file /etc/init.d/zfs-zed ...
Installing new version of config file /etc/zfs/zed.d/zed-functions.sh ...
Processing triggers for libc-bin (2.39-0ubuntu8.5) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for initramfs-tools (0.142ubuntu25.5) ...
update-initramfs: Generating /boot/initrd.img-6.12.10-76061203-generic
kernelstub.Config : INFO Looking for configuration...
kernelstub : INFO System information:
OS:..................Pop!_OS 24.04
Root partition:....../rpool/ROOT/pop
Root FS UUID:........
ESP Path:............/boot/efi
ESP Partition:......./dev/nvme0n1p1
ESP Partition #:.....1
NVRAM entry #:.......-1
Boot Variable #:.....0000
Kernel Boot Options:.quiet loglevel=0 systemd.show_status=false splash nvidia-drm.modeset=1
Kernel Image Path:.../boot/vmlinuz-6.12.10-76061203-generic
Initrd Image Path:.../boot/initrd.img-6.12.10-76061203-generic
Force-overwrite:.....False
kernelstub.Installer : INFO Copying Kernel into ESP
kernelstub.Installer : INFO Copying initrd.img into ESP
kernelstub.Installer : INFO Setting up loader.conf configuration
kernelstub.Installer : INFO Making entry file for Pop!_OS
kernelstub.Installer : INFO Backing up old kernel
kernelstub.Installer : INFO No old kernel found, skipping
Processing triggers for linux-image-6.16.3-76061603-generic (6.16.3-76061603.202508231538~1756378764~24.04~8bb292c) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 6.16.3-76061603-generic
* dkms: autoinstall for kernel 6.16.3-76061603-generic
...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.16.3-76061603-generic
kernelstub.Config : INFO Looking for configuration...
kernelstub : INFO System information:
OS:..................Pop!_OS 24.04
Root partition:....../rpool/ROOT/pop
Root FS UUID:........
ESP Path:............/boot/efi
ESP Partition:......./dev/nvme0n1p1
ESP Partition #:.....1
NVRAM entry #:.......-1
Boot Variable #:.....0000
Kernel Boot Options:.quiet loglevel=0 systemd.show_status=false splash nvidia-drm.modeset=1
Kernel Image Path:.../boot/vmlinuz-6.16.3-76061603-generic
Initrd Image Path:.../boot/initrd.img-6.16.3-76061603-generic
Force-overwrite:.....False
kernelstub.Installer : INFO Copying Kernel into ESP
kernelstub.Installer : INFO Copying initrd.img into ESP
kernelstub.Installer : INFO Setting up loader.conf configuration
kernelstub.Installer : INFO Making entry file for Pop!_OS
kernelstub.Installer : INFO Backing up old kernel
kernelstub.Installer : INFO Making entry file for Pop!_OS
/etc/kernel/postinst.d/zz-kernelstub:
kernelstub.Config : INFO Looking for configuration...
kernelstub : INFO System information:
OS:..................Pop!_OS 24.04
Root partition:....../rpool/ROOT/pop
Root FS UUID:........
ESP Path:............/boot/efi
ESP Partition:......./dev/nvme0n1p1
ESP Partition #:.....1
NVRAM entry #:.......-1
Boot Variable #:.....0000
Kernel Boot Options:.quiet loglevel=0 systemd.show_status=false splash nvidia-drm.modeset=1
Kernel Image Path:.../boot/vmlinuz-6.16.3-76061603-generic
Initrd Image Path:.../boot/initrd.img-6.16.3-76061603-generic
Force-overwrite:.....False
kernelstub.Installer : INFO Copying Kernel into ESP
kernelstub.Installer : INFO Copying initrd.img into ESP
kernelstub.Installer : INFO Setting up loader.conf configuration
kernelstub.Installer : INFO Making entry file for Pop!_OS
kernelstub.Installer : INFO Backing up old kernel
kernelstub.Installer : INFO Making entry file for Pop!_OS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment