Date: Sat, 23 Jan 2010 23:48:24 +1100 From: Andrew Snow <andrew@modulus.org> To: Rich <rincebrain@gmail.com>, freebsd-fs@freebsd.org Subject: Re: Errors on a file on a zpool: How to remove? Message-ID: <4B5AF018.7070503@modulus.org> In-Reply-To: <5da0588e1001230443r1fee3b45o906690bc0115bb4e@mail.gmail.com> References: <5da0588e1001222223m773648am907267235bdcf882@mail.gmail.com> <ed91d4a81001230011t7aef2da8h3be13d2494c06550@mail.gmail.com> <5da0588e1001230014k1b8a32f8v42046497265429ed@mail.gmail.com> <4B5AE8D7.9000103@modulus.org> <5da0588e1001230443r1fee3b45o906690bc0115bb4e@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B5AF018.7070503>