1.\" 2.\" CDDL HEADER START 3.\" 4.\" The contents of this file are subject to the terms of the 5.\" Common Development and Distribution License (the "License"). 6.\" You may not use this file except in compliance with the License. 7.\" 8.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9.\" or https://opensource.org/licenses/CDDL-1.0. 10.\" See the License for the specific language governing permissions 11.\" and limitations under the License. 12.\" 13.\" When distributing Covered Code, include this CDDL HEADER in each 14.\" file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15.\" If applicable, add the following below this CDDL HEADER, with the 16.\" fields enclosed by brackets "[]" replaced with your own identifying 17.\" information: Portions Copyright [yyyy] [name of copyright owner] 18.\" 19.\" CDDL HEADER END 20.\" 21.\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved. 22.\" Copyright (c) 2012, 2018 by Delphix. All rights reserved. 23.\" Copyright (c) 2012 Cyril Plisko. All Rights Reserved. 24.\" Copyright (c) 2017 Datto Inc. 25.\" Copyright (c) 2018 George Melikov. All Rights Reserved. 26.\" Copyright 2017 Nexenta Systems, Inc. 27.\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved. 28.\" 29.Dd March 16, 2022 30.Dt ZPOOL-STATUS 8 31.Os 32. 33.Sh NAME 34.Nm zpool-status 35.Nd show detailed health status for ZFS storage pools 36.Sh SYNOPSIS 37.Nm zpool 38.Cm status 39.Op Fl DigLpPstvx 40.Op Fl T Sy u Ns | Ns Sy d 41.Op Fl c Op Ar SCRIPT1 Ns Oo , Ns Ar SCRIPT2 Oc Ns … 42.Oo Ar pool Oc Ns … 43.Op Ar interval Op Ar count 44. 45.Sh DESCRIPTION 46Displays the detailed health status for the given pools. 47If no 48.Ar pool 49is specified, then the status of each pool in the system is displayed. 50For more information on pool and device health, see the 51.Sx Device Failure and Recovery 52section of 53.Xr zpoolconcepts 7 . 54.Pp 55If a scrub or resilver is in progress, this command reports the percentage done 56and the estimated time to completion. 57Both of these are only approximate, because the amount of data in the pool and 58the other workloads on the system can change. 59.Bl -tag -width Ds 60.It Fl -power 61Display vdev enclosure slot power status (on or off). 62.It Fl c Op Ar SCRIPT1 Ns Oo , Ns Ar SCRIPT2 Oc Ns … 63Run a script (or scripts) on each vdev and include the output as a new column 64in the 65.Nm zpool Cm status 66output. 67See the 68.Fl c 69option of 70.Nm zpool Cm iostat 71for complete details. 72.It Fl i 73Display vdev initialization status. 74.It Fl g 75Display vdev GUIDs instead of the normal device names 76These GUIDs can be used in place of device names for the zpool 77detach/offline/remove/replace commands. 78.It Fl L 79Display real paths for vdevs resolving all symbolic links. 80This can be used to look up the current block device name regardless of the 81.Pa /dev/disk/ 82path used to open it. 83.It Fl p 84Display numbers in parsable (exact) values. 85.It Fl P 86Display full paths for vdevs instead of only the last component of 87the path. 88This can be used in conjunction with the 89.Fl L 90flag. 91.It Fl D 92Display a histogram of deduplication statistics, showing the allocated 93.Pq physically present on disk 94and referenced 95.Pq logically referenced in the pool 96block counts and sizes by reference count. 97.It Fl s 98Display the number of leaf vdev slow I/O operations. 99This is the number of I/O operations that didn't complete in 100.Sy zio_slow_io_ms 101milliseconds 102.Pq Sy 30000 No by default . 103This does not necessarily mean the I/O operations failed to complete, just took 104an 105unreasonably long amount of time. 106This may indicate a problem with the underlying storage. 107.It Fl t 108Display vdev TRIM status. 109.It Fl T Sy u Ns | Ns Sy d 110Display a time stamp. 111Specify 112.Sy u 113for a printed representation of the internal representation of time. 114See 115.Xr time 2 . 116Specify 117.Sy d 118for standard date format. 119See 120.Xr date 1 . 121.It Fl v 122Displays verbose data error information, printing out a complete list of all 123data errors since the last complete pool scrub. 124If the head_errlog feature is enabled and files containing errors have been 125removed then the respective filenames will not be reported in subsequent runs 126of this command. 127.It Fl x 128Only display status for pools that are exhibiting errors or are otherwise 129unavailable. 130Warnings about pools not using the latest on-disk format will not be included. 131.El 132. 133.Sh EXAMPLES 134.\" These are, respectively, examples 16 from zpool.8 135.\" Make sure to update them bidirectionally 136.Ss Example 1 : No Adding output columns 137Additional columns can be added to the 138.Nm zpool Cm status No and Nm zpool Cm iostat No output with Fl c . 139.Bd -literal -compact -offset Ds 140.No # Nm zpool Cm status Fl c Pa vendor , Ns Pa model , Ns Pa size 141 NAME STATE READ WRITE CKSUM vendor model size 142 tank ONLINE 0 0 0 143 mirror-0 ONLINE 0 0 0 144 U1 ONLINE 0 0 0 SEAGATE ST8000NM0075 7.3T 145 U10 ONLINE 0 0 0 SEAGATE ST8000NM0075 7.3T 146 U11 ONLINE 0 0 0 SEAGATE ST8000NM0075 7.3T 147 U12 ONLINE 0 0 0 SEAGATE ST8000NM0075 7.3T 148 U13 ONLINE 0 0 0 SEAGATE ST8000NM0075 7.3T 149 U14 ONLINE 0 0 0 SEAGATE ST8000NM0075 7.3T 150 151.No # Nm zpool Cm iostat Fl vc Pa size 152 capacity operations bandwidth 153pool alloc free read write read write size 154---------- ----- ----- ----- ----- ----- ----- ---- 155rpool 14.6G 54.9G 4 55 250K 2.69M 156 sda1 14.6G 54.9G 4 55 250K 2.69M 70G 157---------- ----- ----- ----- ----- ----- ----- ---- 158.Ed 159. 160.Sh SEE ALSO 161.Xr zpool-events 8 , 162.Xr zpool-history 8 , 163.Xr zpool-iostat 8 , 164.Xr zpool-list 8 , 165.Xr zpool-resilver 8 , 166.Xr zpool-scrub 8 , 167.Xr zpool-wait 8 168