Can I upgrade the zfs pool or not :_)?

Jun 1, 2023
35
14
13
After upgrading to proxmox 8.x today I see the following output when executing a


root@devmox2:~# zpool status -v tank
pool: tank
state: ONLINEstatus: Some supported and requested features are not enabled on the pool. The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done, the pool may no longer be accessible by software that does not support the features. See zpool-features(7) for details.
...
Is it save to upgrade the zfs pool or will proxmox have problems with the upgradet pool?

Why do I get the output?

We use a 3 node cluster and replicate all disks of all vms across all nodes.
 
After upgrading to proxmox 8.x today I see the following output when executing a


root@devmox2:~# zpool status -v tank
pool: tank
state: ONLINEstatus: Some supported and requested features are not enabled on the pool. The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done, the pool may no longer be accessible by software that does not support the features. See zpool-features(7) for details.
...
Is it save to upgrade the zfs pool or will proxmox have problems with the upgradet pool?
If you want to boot an older kernel with an upgraded pool it will not work.
Best is to test the system some time and upgrade the pool after you are sure everything is working as you expect.

Why do I get the output?
Because the new kernel supports a newer zfs version with more features. And because you might use the pool with an older kernel it is not updated automatically.

We use a 3 node cluster and replicate all disks of all vms across all nodes.
In this case I suspect you need to update all nodes of the pool. If not all pools have the same set of features, the replication might fail. The zfs documentation might give some insight. As I do not use the replication, I can only guess.