summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2018-12-27 13:12:53 -0800
committerBrian Behlendorf <[email protected]>2019-01-07 11:03:18 -0800
commita769fb53a17e7f8b6375b25cd23f3ff491b631cb (patch)
tree66ae3ad10f44584173ec1ffb14c4d6efb7dc0f95 /man
parentc10d37dd9f5d56e19330add732f1a713250d24f7 (diff)
Add 'zpool status -i' option
Only display the full details of the vdev initialization state in 'zpool status' output when requested with the -i option. By default display '(initializing)' after vdevs when they are being actively initialized. This is consistent with the established precident of appending '(resilvering), etc' and fits within the default 80 column terminal width making it easy to read. Additionally, updated the 'zpool initialize' documentation to make it clear the options are mutually exclusive, but allow duplicate options like all other zfs/zpool commands. Reviewed by: Matt Ahrens <[email protected]> Reviewed-by: loli10K <[email protected]> Reviewed-by: Tim Chase <[email protected]> Reviewed-by: George Wilson <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #8230
Diffstat (limited to 'man')
-rw-r--r--man/man8/zpool.810
1 files changed, 6 insertions, 4 deletions
diff --git a/man/man8/zpool.8 b/man/man8/zpool.8
index a05d4d1f3..8f35ca0ee 100644
--- a/man/man8/zpool.8
+++ b/man/man8/zpool.8
@@ -116,7 +116,7 @@
.Op Ar newpool Oo Fl t Oc
.Nm
.Cm initialize
-.Op Fl cs
+.Op Fl c | Fl s
.Ar pool
.Op Ar device Ns ...
.Nm
@@ -187,7 +187,7 @@
.Nm
.Cm status
.Oo Fl c Ar SCRIPT Oc
-.Op Fl DgLpPsvx
+.Op Fl DigLpPsvx
.Op Fl T Sy u Ns | Ns Sy d
.Oo Ar pool Oc Ns ...
.Op Ar interval Op Ar count
@@ -1603,7 +1603,7 @@ Will also set -o cachefile=none when not explicitly specified.
.It Xo
.Nm
.Cm initialize
-.Op Fl cs
+.Op Fl c | Fl s
.Ar pool
.Op Ar device Ns ...
.Xc
@@ -2199,7 +2199,7 @@ and automatically import it.
.Nm
.Cm status
.Op Fl c Op Ar SCRIPT1 Ns Oo , Ns Ar SCRIPT2 Oc Ns ...
-.Op Fl DgLpPsvx
+.Op Fl DigLpPsvx
.Op Fl T Sy u Ns | Ns Sy d
.Oo Ar pool Oc Ns ...
.Op Ar interval Op Ar count
@@ -2226,6 +2226,8 @@ output. See the
option of
.Nm zpool Cm iostat
for complete details.
+.It Fl i
+Display vdev initialization status.
.It Fl g
Display vdev GUIDs instead of the normal device names. These GUIDs
can be used in place of device names for the zpool