From 4849523af089b4533035696028d3d9789fc98cf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Wed, 16 Mar 2022 18:03:47 +0100 Subject: [PATCH] man: zpool-export.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-export.8 | 11 ++++++++++- man/man8/zpool.8 | 1 + 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/man/man8/zpool-export.8 b/man/man8/zpool-export.8 index a15291a1f5..14d737fa54 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 29e09b1686..e9eeaaf83d 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