Just read in the news that OpenZFS is introduced. Any plans to use it in the PVE 6.4 (?) or maybe it will be possible to use it as it be delivered over Debian upgrades?
So keeping risks in mind, there is no point in using Debian package and better wait for yours package release, right?
How about those of us using the non-subscription repository with root on ZFS currently? Should we be on the lookout and not reflexively install them too early.Yes, that'd ensure a better fit of kernel and user space packages and I'd recommend waiting on updates from our repositories.
(as edited in my original reply, initial updates will be available earlier than Proxmox VE 6.4 release in the test and no-subscription repos)
How about those of us using the non-subscription repository with root on ZFS currently? Should we be on the lookout and not reflexively install them too early.
So I am clear, you boot off your ZFS drive and upgraded without issue?On my workstation I compile kernel and zfs myself and from 0.6.4 to 2.0 never had any problems.
zfs is very stable, no reason to not upgrade.
So I am clear, you boot off your ZFS drive and upgraded without issue?
Once we enable the test repo to get zfs 2.0, do we need to stay on the test repo, or can we switch back to the no-sub and just wait for it to "catch-up?"FYI, a kernel with ZFS 2.0.1 and respective user land packages is now available on our test repositories.
https://pve.proxmox.com/wiki/Package_Repositories#sysadmin_test_repo
apt update
apt install PACKAGE
which will pull in that package and dependencies. In this case the following should work:apt install pve-kernel-5.4 zfsutils-linux
Very cool, thanks for the quick reply!You can switch back just fine, the updates are moved between test, no-subscription and enterprise repositories in a cascading manner, so yes, switching back to no-subscription will work just fine.
As general information, possibly helpful for other: if there's only a small set of package one wants to update you could even do something like
- setup to test repo
- run
apt update
- run
apt install PACKAGE
which will pull in that package and dependencies. In this case the following should work:
apt install pve-kernel-5.4 zfsutils-linux
- disable the test repo again
Yes, it is available in no-subscription since about an hour (which, while normally pretty stable, is not intended for production systems).It looks like zfs 2.0.3 in now in the stable proxmox repo
No, not really (besides package changelog). The update should be unproblematic, all working before should work after.Is there anything published about this upgrade ?
zpool upgrade
to relevant pools for a bit, to ensure one can still boot an older kernel with ZFS 0.8.x, if something specific to their setup breaks with this update (not that that is expected).zfs upgrade
to fully be using 2.0.3?zpool upgrade -o compatibility=zol-0.8 pool vdev...
to be safe or zpool upgrade -o compatibility=openzfs-2.0-linux pool vdev...
to go all in for linux?First note, I wrote the wrong thing, it's actuallyEDIT: So we need to follow up the proxmox GUI update with a CLIzfs upgrade
to fully be using 2.0.3?
zpool upgrade
(edited my post above to avoid misguiding people).-a
(all pools) argument does not change anything, it only lists if there are outstanding "feature upgrades". redaction_bookmarks
redacted_datasets
bookmark_written
log_spacemap
livelist
device_rebuild
zstd_compress
zfs-features
man page or the (safe to run) zpool upgrade -v
command for details about those features.# first check current state, are there any upgrades:
zpool upgrade
# now upgrade all pools
zpool upgrade -a
# we could also update only a specific pool, here called TANK
zpool upgrade TANK
That patch is only applied to the master development branch, so not yet available in the 2.0 stable release, FWICT.EDIT2: after doing some reading it seems we could setzpool upgrade -o compatibility=zol-0.8 pool vdev...
to be safe orzpool upgrade -o compatibility=openzfs-2.0-linux pool vdev...
to go all in for linux?
man zpool-features
mentions under zstd-compress
:Booting off of zstd-compressed root pools is not yet supported.
man zpool-features
mentions underzstd-compress
:
Booting off of zstd-compressed root pools is not yet supported.
Is this currently accurate / applicable? Do you have any particular guidance on what we should do about our root pools?