Upgrade ZFS from 0.8 to 2.3.0 version

DrDrew

New Member
Feb 25, 2025
1
0
1
I'm going to upgrade an old server from ZFS 0.8 to version 2.3.0 and want to clarify a few key points before proceeding.

If anyone has experience upgrading from 0.8 to 2.3.0, I’d greatly appreciate your insights.

1. Are there any particular steps in the upgrade process, both before and after, besides running zpool upgrade?
2. Is it necessary to stop any load (read/write operations) on the filesystem during the upgrade?
3. Have there been any failures when upgrading ZFS to version 2.3.0 (data loss or corruption)?
 
https://github.com/kneutron/ansitest/blob/master/debian-compile-zfs--boojum.sh
https://github.com/kneutron/ansitest/blob/master/ubuntu_zfs_build_install.sh

Try those, I got it working on LMDE a few weeks ago but haven't tried it in a proxmox test env yet.

Your biggest problem is likely going to be compiling against a very old kernel, might not be supported.

Best practice is to export all zpools before compiling the new module and reboot afterward; haven't had any issues with 2.3.0 in my limited testing

If you have any concerns about downtime, TRY IT IN A VM FIRST
 
Last edited: