meta data for this page
  •  

Differences

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

Link to this comparison view

Next revision
Previous revision
linux:fs:zfs:issues:permanent_errors [2023/11/24 08:27] – created niziaklinux:fs:zfs:issues:permanent_errors [2024/02/12 08:28] (current) niziak
Line 2: Line 2:
  
 <code bash> <code bash>
-zpool status -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 9: Line 18:
         /home/user/file_b         /home/user/file_b
 </code> </code>
 +
 +[[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>
 +