|
From man zpool:
zpool upgrade [-V version] -a | pool ...
Upgrades the given pool to the latest on-disk version. Once this is
done, the pool will no longer be accessible on systems running
older versions of the software.
-a Upgrades all pools.
-V version Upgrade to the specified version. If the -V flag is
not specified, the pool is upgraded to the most
recent version. This option can only be used to
increase the version number, and only up to the most
recent version supported by this software.
When you upgrade ZFS, you cannot go back. If there is a problem, you're stuck
with it. It is reasonable to be cautious here. Don't upgrade unless you
need a new feature. That said, ZFS 15 went into FreeBSD on July 13
(according to this HEADS UP).
So, here goes:
[dan@kraken:~] $ sudo zpool upgrade -a
Password:
This system is currently running ZFS pool version 15.
Successfully upgraded 'storage'
[dan@kraken:~] $
This was pretty much a non-event. It took about 1.5 seconds I think....
Confirming the upgrade:
$ sudo zpool upgrade
This system is currently running ZFS pool version 15.
All pools are formatted using this version.
NOTE: after writing this, it was brought to my attention that the
filesystem can be upgraded too. See the comments on this article for details.
Oh... well, I guess there's not as much to this as I thought there might be.
ZFS continues to exceed my expectations.
|