meta data for this page
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux:fs:zfs:issues:permanent_errors [2023/11/24 08:27] – created niziak | linux: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 |
+ | </ | ||
+ | < | ||
+ | pool: ssdpool | ||
+ | | ||
+ | status: One or more devices has experienced an error resulting in data | ||
+ | corruption. | ||
+ | action: Restore the file in question if possible. | ||
+ | entire pool from backup. | ||
+ | see: https:// | ||
errors: Permanent errors have been detected in the following files: | errors: Permanent errors have been detected in the following files: | ||
Line 9: | Line 18: | ||
/ | / | ||
</ | </ | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | <code bash> | ||
+ | zpool scrub ssdpool | ||
+ | zpool status ssdpool -v 1 | ||
+ | </ | ||
+ | |||
+ | 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 | ||
+ | </ | ||
+ | |||