man: zpool-upgrade.8: import examples from zpool.8

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13228
This commit is contained in:
наб 2022-03-16 18:04:23 +01:00 committed by Brian Behlendorf
parent 8ccb3fd6b1
commit d8dd89acd1
2 changed files with 13 additions and 1 deletions

View File

@ -27,7 +27,7 @@
.\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
.\" Copyright (c) 2021, Colm Buckley <colm@tuatha.org>
.\"
.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 ,

View File

@ -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