ZPOOL-UPGRADE(8)
β¨ zpool-upgrade β managing version + feature flags of ZFS storage pools β¨
okay bestie, welcome to zpool-upgrade(8), from the System Manager's Manual section 8 π this is literally the glow-up page for your pools.
πΈ SYNOPSIS πΈ
zpool upgrade
zpool upgrade -v
zpool upgrade [-V version] -a|poolβ¦
π DESCRIPTION π
π«Ά zpool upgrade
Shows you the pools that don't have all the supported features turned on, plus the pools that were formatted with a legacy ZFS version number. No cap, those pools are still usable β but some features may just not be available to you. sad! π
If you wanna enable everything on everything, use zpool upgrade -a (and yes, it's subject to the -o compatibility property, we'll get there).
π¦ zpool upgrade -v
Shows you all the legacy ZFS versions that this version of ZFS supports. And if you want the tea on which features this version of ZFS supports, go read zpool-features(7). π
π zpool upgrade [-V version] -a|poolβ¦
Enables all supported features on the pool(s) you name. main character energy fr fr.
So here's the situation: if your pool has compatibility feature sets specified via the -o compatibility property, then only the features that show up in ALL of the requested compatibility sets get enabled. And if that property is set to legacy? Then no upgrade happens at all. periodt, nothing, zero, nada. π«
β οΈ and this is the big one: once you do this, the pool will no longer be accessible on systems that don't support feature flags. gone. not invited to the group chat anymore. π
For the details on compatibility with systems that do support feature flags but don't support all the features enabled on your pool, check zpool-features(7).
-aβ Enables all supported features on all pools (from the specified compatibility sets, if there are any).-Vversionβ Upgrade to the specified legacy version. If you use this, no features will be enabled on the pool. And it can only be used to increase the version number, up to the last supported legacy version number. no going backwards bestie π
π EXAMPLES π
β Example 1: Upgrading All ZFS Storage Pools to the Current Version
This command right here upgrades all ZFS Storage pools to the current version of the software:
# zpool upgrade -a
This system is currently running ZFS version 2.
look at her go π
π₯ SEE ALSO π₯
zpool-features(7), zpoolconcepts(7), zpoolprops(7), zpool-history(8)
k that's the whole page bestie π this one's from OpenZFS, dated July 11, 2022 β go forth and upgrade responsibly, mwah π«Άβ¨
π¦ where this page comes from
- alpine 3.23: zfs-doc 2.4.4-r0 Β· CDDL-1.0
- alpine 3.24: zfs-doc 2.4.4-r0 Β· CDDL-1.0
- nixos 26.05: zfs-user 2.4.4
- nixpkgs unstable: zfs-user 2.4.4
- ubuntu resolute: zfsutils-linux 2.4.1-1ubuntu5 Β· CDDL-1.0
- ubuntu resolute: zfsutils-linux 2.4.1-1ubuntu5.1 Β· CDDL-1.0
- ubuntu stonking: zfsutils-linux 2.4.4-1ubuntu4 Β· CDDL-1.0
- π the page's license: CDDL-1.0
- Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved
- Copyright (c) 2012, 2018 by Delphix. All rights reserved
- Copyright (c) 2012 Cyril Plisko. All Rights Reserved
- Copyright (c) 2017 Datto Inc
- Copyright (c) 2018 George Melikov. All Rights Reserved
- Copyright 2017 Nexenta Systems, Inc
- Copyright (c) 2017 Open-E, Inc. All Rights Reserved
- Copyright (c) 2021, Colm Buckley <colm@tuatha.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms