From 4b660ffe7bf37d9df71295156e63054064126c4e Mon Sep 17 00:00:00 2001 From: наб Date: Wed, 16 Mar 2022 18:03:27 +0100 Subject: man: zpool-destroy.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-destroy.8 | 11 ++++++++++- man/man8/zpool.8 | 2 ++ 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'man') diff --git a/man/man8/zpool-destroy.8 b/man/man8/zpool-destroy.8 index a2f6729c8..a98acf46f 100644 --- a/man/man8/zpool-destroy.8 +++ b/man/man8/zpool-destroy.8 @@ -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 diff --git a/man/man8/zpool.8 b/man/man8/zpool.8 index 5a11567a8..29e09b168 100644 --- a/man/man8/zpool.8 +++ b/man/man8/zpool.8 @@ -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 -- cgit v1.2.3