37
37
.Sh SYNOPSIS
38
38
.Nm zpool
39
39
.Cm status
40
+ .Op Fl c Ar script1 Ns Oo , Ns Ar script2 Ns ,… Oc
40
41
.Op Fl dDegiLpPstvx
41
- .Op Fl T Sy u Ns | Ns Sy d
42
- .Op Fl c Op Ar SCRIPT1 Ns Oo , Ns Ar SCRIPT2 Oc Ns …
43
- .Oo Ar pool Oc Ns …
42
+ .Oo Fl j
43
+ .Oo Ns Fl Fl json-int Oc
44
+ .Oo Ns Fl Fl json-flat-vdevs Oc
45
+ .Oo Ns Fl Fl json-pool-key-guid Oc
46
+ .Oc
47
+ .Op Fl Fl power
48
+ .Op Fl T Ar d|u
49
+ .Op Ar pool
44
50
.Op Ar interval Op Ar count
45
- .Op Fl j Op Ar --json-int, --json-flat-vdevs, --json-pool-key-guid
46
51
.
47
52
.Sh DESCRIPTION
48
53
Displays the detailed health status for the given pools.
@@ -59,9 +64,7 @@ and the estimated time to completion.
59
64
Both of these are only approximate, because the amount of data in the pool and
60
65
the other workloads on the system can change.
61
66
.Bl -tag -width Ds
62
- .It Fl -power
63
- Display vdev enclosure slot power status (on or off).
64
- .It Fl c Op Ar SCRIPT1 Ns Oo , Ns Ar SCRIPT2 Oc Ns …
67
+ .It Fl c Ar script1 Ns Oo , Ns Ar script2 Ns ,… Oc
65
68
Run a script (or scripts) on each vdev and include the output as a new column
66
69
in the
67
70
.Nm zpool Cm status
@@ -71,17 +74,6 @@ See the
71
74
option of
72
75
.Nm zpool Cm iostat
73
76
for complete details.
74
- .It Fl j , -json Op Ar --json-int, --json-flat-vdevs, --json-pool-key-guid
75
- Display the status for ZFS pools in JSON format.
76
- Specify
77
- .Sy --json-int
78
- to display numbers in integer format instead of strings.
79
- Specify
80
- .Sy --json-flat-vdevs
81
- to display vdevs in flat hierarchy instead of nested vdev objects.
82
- Specify
83
- .Sy --json-pool-key-guid
84
- to set pool GUID as key for pool objects instead of pool names.
85
77
.It Fl d
86
78
Display the number of Direct I/O read/write checksum verify errors that have
87
79
occurred on a top-level VDEV.
@@ -111,6 +103,18 @@ These GUIDs can be used in place of device names for the zpool
111
103
detach/offline/remove/replace commands.
112
104
.It Fl i
113
105
Display vdev initialization status.
106
+ .It Fl j , -json Oo Ns Fl Fl json-int Oc Oo Ns Fl Fl json-flat-vdevs Oc \
107
+ Oo Ns Fl Fl json-pool-key-guid Oc
108
+ Display the status for ZFS pools in JSON format.
109
+ Specify
110
+ .Sy --json-int
111
+ to display numbers in integer format instead of strings.
112
+ Specify
113
+ .Sy --json-flat-vdevs
114
+ to display vdevs in flat hierarchy instead of nested vdev objects.
115
+ Specify
116
+ .Sy --json-pool-key-guid
117
+ to set pool GUID as key for pool objects instead of pool names.
114
118
.It Fl L
115
119
Display real paths for vdevs resolving all symbolic links.
116
120
This can be used to look up the current block device name regardless of the
@@ -124,6 +128,8 @@ the path.
124
128
This can be used in conjunction with the
125
129
.Fl L
126
130
flag.
131
+ .It Fl -power
132
+ Display vdev enclosure slot power status (on or off).
127
133
.It Fl s
128
134
Display the number of leaf vdev slow I/O operations.
129
135
This is the number of I/O operations that didn't complete in
@@ -136,18 +142,18 @@ unreasonably long amount of time.
136
142
This may indicate a problem with the underlying storage.
137
143
.It Fl t
138
144
Display vdev TRIM status.
139
- .It Fl T Sy u Ns | Ns Sy d
145
+ .It Fl T Sy d Ns | Ns Sy u
140
146
Display a time stamp.
141
147
Specify
142
- .Sy u
143
- for a printed representation of the internal representation of time.
144
- See
145
- .Xr time 1 .
146
- Specify
147
148
.Sy d
148
149
for standard date format.
149
150
See
150
151
.Xr date 1 .
152
+ Specify
153
+ .Sy u
154
+ for a printed representation of the internal representation of time.
155
+ See
156
+ .Xr time 1 .
151
157
.It Fl v
152
158
Displays verbose data error information, printing out a complete list of all
153
159
data errors since the last complete pool scrub.
0 commit comments