lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20060804114125.GA10814@irc.pl>
Date:	Fri, 4 Aug 2006 13:41:25 +0200
From:	Tomasz Torcz <zdzichu@....pl>
To:	linux-kernel@...r.kernel.org
Subject: Re: Checksumming blocks? [was Re: the " 'official' point of view" expressed by kernelnewbies.org regarding reiser4 inclusion]

On Thu, Aug 03, 2006 at 07:25:19PM -0400, Russell Leighton wrote:
> 
> If the software (filesystem like ZFS or database like Berkeley DB)  
> finds a mismatch for a checksum on a block read, then what?
> 
> Is there a recovery mechanism, or do you just be happy you know there is 
> a problem (and go to backup)?

  ZFS readsthis block again from different mirror, and if checksum is
right -- returns good data to userspace and rewrites failed block with
good data.

  Note, that there could be multiple mirrors, either physically (like
RAID1) or logically (blocks could be mirrored on different areas of the
same disk; some files can be protected with multiple mirrors, some left
unprotected without mirrors).

-- 
Tomasz Torcz                        To co nierealne -- tutaj jest normalne.
zdzichu@....-nie.spam-.pl          Ziomale na życie mają tu patenty specjalne.


Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ