Errors on a file on a zpool: How to remove?
Andrew Snow
andrew at modulus.org
Sat Jan 23 12:48:51 UTC 2010
Rich wrote:
> zpool clear always clears the checksum column whenever I run it.
>
> Then, as soon as I touch those files again, or run a scrub, the
> checksum error numbers tick up on those three disks, and those entries
> appear in /var/log/messages.
That is the normal behaviour if there are no additional copies of the
data to go from (via mirroring or RAIDZ): it sees that the file has
blocks with incorrect checksums, but it won't take action as there's no
way to know if the file data is corrupt or the checksum value is wrong.
You might be able to clear it by renaming the file and copying it back
in place, and thus the new file will not have any bad checksums (but
likely will contain corrupt data).
- Andrew
More information about the freebsd-fs
mailing list