mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 19:04:45 +03:00
Add zpool status -s (slow I/Os) and -p (parseable)
This patch adds a new slow I/Os (-s) column to zpool status to show the number of VDEV slow I/Os. This is the number of I/Os that didn't complete in zio_slow_io_ms milliseconds. It also adds a new parsable (-p) flag to display exact values. NAME STATE READ WRITE CKSUM SLOW testpool ONLINE 0 0 0 - mirror-0 ONLINE 0 0 0 - loop0 ONLINE 0 0 0 20 loop1 ONLINE 0 0 0 0 Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Signed-off-by: Tony Hutter <hutter2@llnl.gov> Closes #7756 Closes #6885
This commit is contained in:
committed by
Brian Behlendorf
parent
877d925a9e
commit
ad796b8a3b
+10
-2
@@ -182,7 +182,7 @@
|
||||
.Nm
|
||||
.Cm status
|
||||
.Oo Fl c Ar SCRIPT Oc
|
||||
.Op Fl gLPvxD
|
||||
.Op Fl DgLpPsvx
|
||||
.Op Fl T Sy u Ns | Ns Sy d
|
||||
.Oo Ar pool Oc Ns ...
|
||||
.Op Ar interval Op Ar count
|
||||
@@ -2167,7 +2167,7 @@ and automatically import it.
|
||||
.Nm
|
||||
.Cm status
|
||||
.Op Fl c Op Ar SCRIPT1 Ns Oo , Ns Ar SCRIPT2 Oc Ns ...
|
||||
.Op Fl gLPvxD
|
||||
.Op Fl DgLpPsvx
|
||||
.Op Fl T Sy u Ns | Ns Sy d
|
||||
.Oo Ar pool Oc Ns ...
|
||||
.Op Ar interval Op Ar count
|
||||
@@ -2203,6 +2203,8 @@ Display real paths for vdevs resolving all symbolic links. This can
|
||||
be used to look up the current block device name regardless of the
|
||||
.Pa /dev/disk/
|
||||
path used to open it.
|
||||
.It Fl p
|
||||
Display numbers in parsable (exact) values.
|
||||
.It Fl P
|
||||
Display full paths for vdevs instead of only the last component of
|
||||
the path. This can be used in conjunction with the
|
||||
@@ -2214,6 +2216,12 @@ Display a histogram of deduplication statistics, showing the allocated
|
||||
and referenced
|
||||
.Pq logically referenced in the pool
|
||||
block counts and sizes by reference count.
|
||||
.It Fl s
|
||||
Display the number of leaf VDEV slow IOs. This is the number of IOs that
|
||||
didn't complete in \fBzio_slow_io_ms\fR milliseconds (default 30 seconds).
|
||||
This does not necessarily mean the IOs failed to complete, just took an
|
||||
unreasonably long amount of time. This may indicate a problem with the
|
||||
underlying storage.
|
||||
.It Fl T Sy u Ns | Ns Sy d
|
||||
Display a time stamp.
|
||||
Specify
|
||||
|
||||
Reference in New Issue
Block a user