meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:fs:zfs:issues:permanent_errors [2023/11/24 08:37]
niziak
linux:fs:zfs:issues:permanent_errors [2024/02/12 08:28] (current)
niziak
Line 3: Line 3:
 <code bash> <code bash>
 zpool status ssdpool -v zpool status ssdpool -v
 +</​code>​
 +<​code>​
 +pool: ssdpool
 + ​state:​ ONLINE
 +status: One or more devices has experienced an error resulting in data
 + corruption. ​ Applications may be affected.
 +action: Restore the file in question if possible. ​ Otherwise restore the
 + entire pool from backup.
 +   see: https://​openzfs.github.io/​openzfs-docs/​msg/​ZFS-8000-8A
  
 errors: Permanent errors have been detected in the following files: errors: Permanent errors have been detected in the following files:
Line 10: Line 19:
 </​code>​ </​code>​
  
-Remove files.+[[https://​openzfs.github.io/​openzfs-docs/​msg/​ZFS-8000-8A|Message ID: ZFS-8000-8A]] 
 + 
 +<code bash> 
 +zpool scrub ssdpool 
 +zpool status ssdpool -v 1 
 +</​code>​ 
 + 
 +Wait for scrub finish. 
 +Remove ​all files with permanent errors. 
 +Start scrub and stop it. 
 + 
 +<code bash> 
 +zpool scrub ssdpool 
 +zpool scrub -s ssdpool 
 +zpool clear ssdpool 
 +</​code>​ 
  
-zfs scrub ssdpool