diff options
author | наб <[email protected]> | 2022-03-16 18:04:23 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-03-28 10:13:13 -0700 |
commit | d8dd89acd1b05788243037888cdd5091105927de (patch) | |
tree | 00d437c6dcb72a51bf4677883295c37fd704c526 /man | |
parent | 8ccb3fd6b1b68ea889a9d2181969a6c7d7eabf45 (diff) |
man: zpool-upgrade.8: import examples from zpool.8
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #13228
Diffstat (limited to 'man')
-rw-r--r-- | man/man8/zpool-upgrade.8 | 13 | ||||
-rw-r--r-- | man/man8/zpool.8 | 1 |
2 files changed, 13 insertions, 1 deletions
diff --git a/man/man8/zpool-upgrade.8 b/man/man8/zpool-upgrade.8 index 1b13bad89..e66e96cfb 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 <[email protected]> .\" -.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 b11c539e2..57e86cf34 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 |