man: zpool-destroy.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:27 +01:00 committed by Brian Behlendorf
parent 74181ca44c
commit 4b660ffe7b
2 changed files with 12 additions and 1 deletions

View File

@ -26,7 +26,7 @@
.\" Copyright 2017 Nexenta Systems, Inc.
.\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
.\"
.Dd May 31, 2021
.Dd March 16, 2022
.Dt ZPOOL-DESTROY 8
.Os
.
@ -46,3 +46,12 @@ This command tries to unmount any active datasets before destroying the pool.
.It Fl f
Forcefully unmount all active datasets.
.El
.
.Sh EXAMPLES
.\" These are, respectively, examples 7 from zpool.8
.\" Make sure to update them bidirectionally
.Ss Example 1 : No Destroying a ZFS Storage Pool
The following command destroys the pool
.Ar tank
and any datasets contained within:
.Dl # Nm zpool Cm destroy Fl f Ar tank

View File

@ -232,6 +232,8 @@ Invalid command line options were specified.
.Sh EXAMPLES
.\" Examples 1, 2, 3, 4, 11, 12 are shared with zpool-create.8.
.\" 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.
.\" 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