In-Reply-To: <[email protected]>
On Fri, 7 Jul 2006 15:52:23 -0400, Theodore Tso wrote:
> Not four times a day, but probably once a month or two it would be a
> *very* good idea to do periodic sweeps of files to make sure the hard
> drive hasn't corrupted the files out from under you. If you have 20+
> TB of data, the probability of silent data corruption starts going up.
> That would be justification for storing the checksum in the inode or
> in the EA of the file, with the kernel automatically clearing it if
> the file was *deliberately* changed. The goal is to detect the disk
> silently changing the data for you, free of charge....
Per-extent checksums on ext4 might work better.
- If you only changed a small part of a file the majority of
checksums would still be valid.
- On a file with 31K of data in a 128K extent, checksumming
the wasted space might cause false positives but it would be
OK because that would still be actual on-disk corruption.
--
Chuck
"You can't read a newspaper if you can't read." --George W. Bush
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]