diff options
author | наб <[email protected]> | 2022-03-16 18:03:27 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-03-28 10:13:13 -0700 |
commit | 4b660ffe7bf37d9df71295156e63054064126c4e (patch) | |
tree | 3bc84df593de72022854745f6374197c427b3d74 /man | |
parent | 74181ca44ca0dcf36bb3a151d76d5929515f1931 (diff) |
man: zpool-destroy.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')
-rw-r--r-- | man/man8/zpool-destroy.8 | 11 | ||||
-rw-r--r-- | man/man8/zpool.8 | 2 |
2 files changed, 12 insertions, 1 deletions
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 |