Bacula-users

Re: [Bacula-users] Verify differences: SHA1 sum doesn't match but it should

2010-08-30 04:02:47
Subject: Re: [Bacula-users] Verify differences: SHA1 sum doesn't match but it should
From: Henrik Johansen <henrik AT scannet DOT dk>
To: Paul Mather <paul AT gromit.dlib.vt DOT edu>
Date: Mon, 30 Aug 2010 09:59:43 +0200
'Paul Mather' wrote:
>On Aug 28, 2010, at 7:12 AM, Steve Costaras wrote:
>
>Could be due to a transient error (transmission or wild/torn read at
>time of calculation).  I see this a lot with integrity checking of
>files here (50TiB of storage).
>
>Only way to get around this now is to do a known-good sha1/md5 hash of
>data (2-3 reads of the file make sure that they all match and that the
>file is not corrupted) save that as a baseline and then when doing
>reads/compares if one fails do another re-read and see if the first one
>was in error and compare that with your baseline.  This is one reason
>why I'm switching to the new generation of sas drives that have ioecc
>checks on READS not just writes to help cut down on some of this.
>
>Corruption does occur as well and is more probable with the higher the
>capacity of the drive.  Ideally you would have a drive that would do
>ioecc on reads, plus using T10 PI extensions (DIX/DIF) from drive to
>controller up to your file system layer.  It won't always prevent it by
>itself but would allow if you have a raid setup to do some self-healing
>when a drive reports a non transient (i.e. corrupted sector of data).
>
>However the T10 PI extensions are only on sas/fc drives (520/528 byte
>blocks) and so far as I can tell only the new LSI hba's support a small
>subset of this (no hardware raid controllers I can find) and have not
>seen any support up to the OS/filesystem level.  SATA is not included
>at all as the T13 group opted not to include it in the spec.
>
>You could also stick with your current hardware and use a file system
>that emphasises end-to-end data integrity like ZFS.  ZFS checksums at
>many levels, and has a "don't trust the hardware" mentality.  It can
>detect silent data corruption and automatically self-heal where
>redundancy permits.
>
>ZFS also supports pool scrubbing---akin to the "patrol reading" of many
>RAID controllers---for proactive detection of silent data corruption.
>With drive capacities becoming very large, the probability of an
>unrecoverable read becomes very high.  This becomes very significant
>even in redundant storage systems because a drive failure necessitates
>a lengthy rebuild period during which the storage array lacks any
>redundancy (in the case of RAID-5).  It is for this reason that RAID-6
>(ZFS raidz2) is becoming de rigeur for many-terabyte arrays using large
>drives, and, specifically, the reason ZFS garnered its triple-parity
>raidz3 pool type (in ZFS pool version 17).

Have you ever tried scrubbing a 40+ TB pool ?

>I believe Btrfs intends to bring many ZFS features to Linux.
>
>Cheers,
>
>Paul.

>------------------------------------------------------------------------------
>Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
>Be part of this innovative community and reach millions of netbook users
>worldwide. Take advantage of special opportunities to increase revenue and
>speed time-to-market. Join now, and jumpstart your future.
>http://p.sf.net/sfu/intel-atom-d2d

>_______________________________________________
>Bacula-users mailing list
>Bacula-users AT lists.sourceforge DOT net
>https://lists.sourceforge.net/lists/listinfo/bacula-users


-- 
Med venlig hilsen / Best Regards

Henrik Johansen
henrik AT scannet DOT dk
Tlf. 75 53 35 00

ScanNet Group
A/S ScanNet 

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users