4 .\" The contents of this file are subject to the terms of the
5 .\" Common Development and Distribution License (the "License").
6 .\" You may not use this file except in compliance with the License.
8 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 .\" or https://opensource.org/licenses/CDDL-1.0.
10 .\" See the License for the specific language governing permissions
11 .\" and limitations under the License.
13 .\" When distributing Covered Code, include this CDDL HEADER in each
14 .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 .\" If applicable, add the following below this CDDL HEADER, with the
16 .\" fields enclosed by brackets "[]" replaced with your own identifying
17 .\" information: Portions Copyright [yyyy] [name of copyright owner]
21 .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
22 .\" Copyright (c) 2012, 2018 by Delphix. All rights reserved.
23 .\" Copyright (c) 2012 Cyril Plisko. All Rights Reserved.
24 .\" Copyright (c) 2017 Datto Inc.
25 .\" Copyright (c) 2018 George Melikov. All Rights Reserved.
26 .\" Copyright 2017 Nexenta Systems, Inc.
27 .\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
28 .\" Copyright (c) 2021, Colm Buckley <colm@tuatha.org>
36 .Nd manage version and feature flags of ZFS storage pools
46 .Fl a Ns | Ns Ar pool Ns …
54 Displays pools which do not have all supported features enabled and pools
55 formatted using a legacy ZFS version number.
56 These pools can continue to be used, but some features may not be available.
58 .Nm zpool Cm upgrade Fl a
59 to enable all features on all pools (subject to the
60 .Fl o Sy compatibility
67 Displays legacy ZFS versions supported by the this version of ZFS.
70 for a description of feature flags features supported by this version of ZFS.
75 .Fl a Ns | Ns Ar pool Ns …
77 Enables all supported features on the given pool.
79 If the pool has specified compatibility feature sets using the
80 .Fl o Sy compatibility
81 property, only the features present in all requested compatibility sets will be
83 If this property is set to
85 then no upgrade will take place.
87 Once this is done, the pool will no longer be accessible on systems that do not
88 support feature flags.
91 for details on compatibility with systems that support feature flags, but do not
92 support all features enabled on the pool.
95 Enables all supported features (from specified compatibility sets, if any) on
99 Upgrade to the specified legacy version.
100 If specified, no features will be enabled on the pool.
101 This option can only be used to increase the version number up to the last
102 supported legacy version number.
107 .\" These are, respectively, examples 10 from zpool.8
108 .\" Make sure to update them bidirectionally
109 .Ss Example 1 : No Upgrading All ZFS Storage Pools to the Current Version
110 The following command upgrades all ZFS Storage pools to the current version of
112 .Bd -literal -compact -offset Ds
113 .No # Nm zpool Cm upgrade Fl a
114 This system is currently running ZFS version 2.
118 .Xr zpool-features 7 ,
119 .Xr zpoolconcepts 7 ,