From d8dd89acd1b05788243037888cdd5091105927de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Wed, 16 Mar 2022 18:04:23 +0100 Subject: [PATCH] man: zpool-upgrade.8: import examples from zpool.8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Brian Behlendorf Signed-off-by: Ahelenia ZiemiaƄska Closes #13228 --- man/man8/zpool-upgrade.8 | 13 ++++++++++++- man/man8/zpool.8 | 1 + 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/man/man8/zpool-upgrade.8 b/man/man8/zpool-upgrade.8 index 1b13bad898..e66e96cfb3 100644 --- a/man/man8/zpool-upgrade.8 +++ b/man/man8/zpool-upgrade.8 @@ -27,7 +27,7 @@ .\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved. .\" Copyright (c) 2021, Colm Buckley .\" -.Dd August 9, 2019 +.Dd March 16, 2022 .Dt ZPOOL-UPGRADE 8 .Os . @@ -102,6 +102,17 @@ supported legacy version number. .El .El . +.Sh EXAMPLES +.\" These are, respectively, examples 10 from zpool.8 +.\" Make sure to update them bidirectionally +.Ss Example 1 : No Upgrading All ZFS Storage Pools to the Current Version +The following command upgrades all ZFS Storage pools to the current version of +the software: +.Bd -literal -compact -offset Ds +.No # Nm zpool Cm upgrade Fl a +This system is currently running ZFS version 2. +.Ed +. .Sh SEE ALSO .Xr zpool-features 7 , .Xr zpoolconcepts 7 , diff --git a/man/man8/zpool.8 b/man/man8/zpool.8 index b11c539e28..57e86cf347 100644 --- a/man/man8/zpool.8 +++ b/man/man8/zpool.8 @@ -236,6 +236,7 @@ Invalid command line options were specified. .\" Examples 7 are shared with zpool-destroy.8. .\" Examples 8 are shared with zpool-export.8. .\" Examples 9 are shared with zpool-import.8. +.\" Examples 10 are shared with zpool-upgrade.8. .\" Make sure to update them bidirectionally .Ss Example 1 : No Creating a RAID-Z Storage Pool The following command creates a pool with a single raidz root vdev that