summaryrefslogtreecommitdiffstats
path: root/man/man8
diff options
context:
space:
mode:
authorнаб <[email protected]>2022-03-16 18:03:47 +0100
committerBrian Behlendorf <[email protected]>2022-03-28 10:13:13 -0700
commit4849523af089b4533035696028d3d9789fc98cf6 (patch)
tree24efc354510da5e244fdb8953cd9f234214608a9 /man/man8
parent4b660ffe7bf37d9df71295156e63054064126c4e (diff)
man: zpool-export.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/man8')
-rw-r--r--man/man8/zpool-export.811
-rw-r--r--man/man8/zpool.81
2 files changed, 11 insertions, 1 deletions
diff --git a/man/man8/zpool-export.8 b/man/man8/zpool-export.8
index a15291a1f..14d737fa5 100644
--- a/man/man8/zpool-export.8
+++ b/man/man8/zpool-export.8
@@ -26,7 +26,7 @@
.\" Copyright 2017 Nexenta Systems, Inc.
.\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
.\"
-.Dd February 16, 2020
+.Dd March 16, 2022
.Dt ZPOOL-EXPORT 8
.Os
.
@@ -68,5 +68,14 @@ is currently being used.
This may lead to potential data corruption.
.El
.
+.Sh EXAMPLES
+.\" These are, respectively, examples 8 from zpool.8
+.\" Make sure to update them bidirectionally
+.Ss Example 1 : No Exporting a ZFS Storage Pool
+The following command exports the devices in pool
+.Ar tank
+so that they can be relocated or later imported:
+.Dl # Nm zpool Cm export Ar tank
+.
.Sh SEE ALSO
.Xr zpool-import 8
diff --git a/man/man8/zpool.8 b/man/man8/zpool.8
index 29e09b168..e9eeaaf83 100644
--- a/man/man8/zpool.8
+++ b/man/man8/zpool.8
@@ -234,6 +234,7 @@ Invalid command line options were specified.
.\" Examples 5, 13 are shared with zpool-add.8.
.\" Examples 6, 15 are shared with zpool-list.8.
.\" Examples 7 are shared with zpool-destroy.8.
+.\" Examples 8 are shared with zpool-export.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