man: zpool-export.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:03:47 +01:00 committed by Brian Behlendorf
parent 4b660ffe7b
commit 4849523af0
2 changed files with 11 additions and 1 deletions

View File

@ -26,7 +26,7 @@
.\" Copyright 2017 Nexenta Systems, Inc. .\" Copyright 2017 Nexenta Systems, Inc.
.\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved. .\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
.\" .\"
.Dd February 16, 2020 .Dd March 16, 2022
.Dt ZPOOL-EXPORT 8 .Dt ZPOOL-EXPORT 8
.Os .Os
. .
@ -68,5 +68,14 @@ is currently being used.
This may lead to potential data corruption. This may lead to potential data corruption.
.El .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 .Sh SEE ALSO
.Xr zpool-import 8 .Xr zpool-import 8

View File

@ -234,6 +234,7 @@ Invalid command line options were specified.
.\" Examples 5, 13 are shared with zpool-add.8. .\" Examples 5, 13 are shared with zpool-add.8.
.\" Examples 6, 15 are shared with zpool-list.8. .\" Examples 6, 15 are shared with zpool-list.8.
.\" Examples 7 are shared with zpool-destroy.8. .\" Examples 7 are shared with zpool-destroy.8.
.\" Examples 8 are shared with zpool-export.8.
.\" Make sure to update them bidirectionally .\" Make sure to update them bidirectionally
.Ss Example 1 : No Creating a RAID-Z Storage Pool .Ss Example 1 : No Creating a RAID-Z Storage Pool
The following command creates a pool with a single raidz root vdev that The following command creates a pool with a single raidz root vdev that