Gentoo Archives: gentoo-user

From: Grant Edwards <grant.b.edwards@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: OT: Fighting bit rot
Date: Wed, 09 Jan 2013 02:49:27
Message-Id: kcilna$du$1@ger.gmane.org
In Reply to: Re: [gentoo-user] Re: OT: Fighting bit rot by Alan McKinnon
1 On 2013-01-08, Alan McKinnon <alan.mckinnon@×××××.com> wrote:
2 > On Tue, 8 Jan 2013 22:15:15 +0000 (UTC)
3 > Grant Edwards <grant.b.edwards@×××××.com> wrote:
4 >
5 >> IMO, having backup data _is_ very valuable, but regularly reading
6 >> files and comparing them to backup copies isn't a useful way to detect
7 >> failing media.
8 >
9 > He doesn't suggest you compare the live data to a backup. He suggests
10 > you compare the current checksum to the last known (presumed or
11 > verified as good) checksum,
12
13 My point is that comparing the read data with <whatever> is a waste of
14 time if you're worried about detecting media failure. In my
15 expierence, you don't _get_ erroneous data from failing media. You
16 get seek/read failures.
17
18 > and if they are different then deal with it. "deal with it" likely
19 > involves a restore after some kind of verify process.
20 >
21 > I agree that comparing current data with a backup is pretty pointless -
22 > you don't know which is the bad one if they differ.
23 >
24 > ZFS is designed to deal with this problem by checksumming fs blocks
25 > continually; it does this at the filesystem level, not at the disk
26 > firmware level.
27
28 I don't understand. If you're worried about media failure, what good
29 does checksumming at the file level do when failing media produces
30 seek/read errors rather than erroneous data? When the media fails,
31 there is no data to checksum.
32
33 --
34 Grant

Replies

Subject Author
Re: [gentoo-user] Re: OT: Fighting bit rot Alan McKinnon <alan.mckinnon@×××××.com>