All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthias Schniedermeyer <ms@citd.de>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] Memory errors and and 3TB RAID5 partition
Date: Wed, 16 Jan 2013 13:00:26 +0100	[thread overview]
Message-ID: <20130116120026.GA16868@citd.de> (raw)
In-Reply-To: <20130116112321.GA6637@tansi.org>

On 16.01.2013 12:23, Arno Wagner wrote:
> Hi Frederico,
> 
> An alternative is to verify each write. Here you have to be careful
> to empty all buffers and caches before doing it. That is what I
> do for large files. 

My M.O. is to make MD5(*) sums of just about every file. So after i move 
files around, i just verify the MD5 sums. The amount of data moved is 
usually (a lot) bigger than available RAM, so i usually forgo clearing 
the cache, otherwise i do a umount/mount-cycle before verifying the MD5 
sums.

I'm doing this since a few years ago when i had trouble with a 
particular USB2<->Sata chip that had a rare tendency to corrupt a 
specific bit-pattern every now and then. Since then i had never any 
trouble with data-corruption.



*:
This case doesn't concern security, so MD5 is "good enough".

-- 

Matthias

  reply	other threads:[~2013-01-16 12:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-16 11:08 [dm-crypt] Memory errors and and 3TB RAID5 partition Federico Foschini
2013-01-16 11:23 ` Arno Wagner
2013-01-16 12:00   ` Matthias Schniedermeyer [this message]
2013-01-16 12:06     ` Federico Foschini
2013-01-16 16:30     ` Karol Babioch
2013-01-16 19:26       ` Matthias Schniedermeyer
2013-01-16 11:24 ` Ralf Ramsauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130116120026.GA16868@citd.de \
    --to=ms@citd.de \
    --cc=dm-crypt@saout.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.