Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
ZPOOL-CLEAR(8)		     System Manager's Manual		  ZPOOL-CLEAR(8)

NAME
     zpool-clear -- clear device errors in ZFS storage pool

SYNOPSIS
     zpool clear [--power] pool [device]a|

DESCRIPTION
     Clears  device errors in a pool.  If no arguments are specified, all device
     errors within the pool are cleared.  If one or more devices  is  specified,
     only  those  errors  associated  with  the  specified device or devices are
     cleared.

     If the pool was suspended it will be brought back online provided	the  de-
     vices  can  be accessed.  Pools with multihost enabled which have been sus-
     pended cannot be resumed when there is evidence that the pool was	imported
     by  another  host.   The same checks performed during an import will be ap-
     plied before the clear proceeds.

     --power
	     Power on the devices's slot in the storage enclosure and  wait  for
	     the  device  to show up before attempting to clear errors.  This is
	     done on all the devices specified.  Alternatively, you can set  the
	     ZPOOL_AUTO_POWER_ON_SLOT environment variable to always enable this
	     behavior.	Note: This flag currently works on Linux only.

SEE ALSO
     zdb(8), zpool-reopen(8), zpool-status(8)

FreeBSD ports 15.quarterly	 April 29, 2024 		  ZPOOL-CLEAR(8)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=zpool-clear&sektion=8&manpath=FreeBSD+15.1-RELEASE+and+Ports.quarterly>

home | help