Ubuntu Zpool Error on Zpool Status

The following error shows up when checking a zpool group. This article describes the issue.

Zpool Error on Disk:

$ zpool status 
  pool: myzpool
 state: DEGRADED
status: One or more devices are faulted in response to persistent errors.
	Sufficient replicas exist for the pool to continue functioning in a
	degraded state.
action: Replace the faulted device, or use 'zpool clear' to mark the device
	repaired.
  scan: resilvered 2.73G in 00:01:51 with 0 errors on Thu Sep 22 17:50:48 2022
config:

	NAME                                            STATE     READ WRITE CKSUM
	myzpool                                         DEGRADED     0     0     0
	  mirror-0                                      DEGRADED     0     0     0
	    ata-WDC_WD2002FFSX-68PF8N0_WD-WCC6N7PRY8JJ  FAULTED      0    18     2  too many errors
	    ata-WDC_WD2002FFSX-68PF8N0_WD-WCC6N7PRY1VJ  ONLINE       0     0     0

Check the disks in the “Disk” Program in Ubuntu > Activities > Search for Disks.

Run the smart data tests:

To remove errors (assuming the drive has not failed…) run:

zpool clear myzpool
sudo zpool status
  pool: myzpool
 state: ONLINE
status: Some supported and requested features are not enabled on the pool.
	The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
	the pool may no longer be accessible by software that does not support
	the features. See zpool-features(7) for details.
  scan: resilvered 8.00G in 00:01:47 with 0 errors on Thu Sep 22 19:03:04 2022
config:

	NAME                                            STATE     READ WRITE CKSUM
	myzpool                                         ONLINE       0     0     0
	  mirror-0                                      ONLINE       0     0     0
	    ata-WDC_WD2002FFSX-68PF8N0_WD-WCC6N7PRY8JJ  ONLINE       0     0     0
	    ata-WDC_WD2002FFSX-68PF8N0_WD-WCC6N7PRY1VJ  ONLINE       0     0     0

If you find this helpful, please donate.