All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Schmidt <lkml@digadd.de>
To: linux-kernel@vger.kernel.org
Cc: tsteinbr@igd.fraunhofer.de
Subject: Re: [dm-crypt] dm-crypt is broken and causes massive data corruption
Date: Fri, 12 May 2006 01:17:08 +0200	[thread overview]
Message-ID: <4463C5F4.6040805@digadd.de> (raw)
In-Reply-To: <e3vkeh$12h$1@news.cistron.nl>

Paul Slootman wrote:
> Alasdair G Kergon  <agk@redhat.com> wrote:
>> On Mon, May 08, 2006 at 07:20:12PM +0200, Tillmann Steinbrecher wrote:
>>> it's been many months that dm-crypt has been broken, and is known to 
>>> cause massive data corruption.
> 
>> So far there isn't much in the way of controlled experiments, but:
>>
>>  All the reports agree the problem is independent of filesystem.
>>
>>  One thread suggests only filesystem metadata is corrupted, not file
>>  data, and wonders if something's going wrong with (unsupported) write 
>>  barriers.
>>
>>  Another report said dm-crypt over raid5 failed while raid5 
>>  over dm-crypt worked.
> 
> A data point:
> 
> I'm running my /home on reiserfs3 over dm-crypt over lvm over raid5 for
> at least a year now, without any problems. Currently running 2.6.13.4
> (that's my "stable" work system...).

Just so you know,

I'm running dm-crypt on top of raid-5 as well. Kernels ranging from
gentoo's hardened 2.6.11 to 2.6.15.X with gentoo patchset on AMD64. The
raid is running since February 2005 with >1TB and survived a disk
failure with rebuild.
Cipher module was aes, now the asm-accelerated x86_64 version. The
filesystem is ext-3. Survived several hard lockups (damn cheap SATA
controllers hanging if a drive passes out), an LV/filesystem resize, and
feeding with GBytes of data in a row (at max ~30MByte/s to 2-3 files in
parallel).

Just re-checked the filesystem: no metadata information wrong. I
remember I checked the crc of several bigger archives when I had to
replace a drive two month ago, and couldn't find any problems then.

Best regards,
Christian

  parent reply	other threads:[~2006-05-11 23:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-08 17:20 dm-crypt is broken and causes massive data corruption Tillmann Steinbrecher
2006-05-08 17:57 ` [dm-crypt] " Simpson, Brett
2006-05-08 18:27   ` Christophe Saout
2006-05-09 19:04 ` Alasdair G Kergon
2006-05-11 15:15   ` Paul Slootman
2006-05-11 15:42     ` Andrea Gelmini
2006-05-11 23:17     ` Christian Schmidt [this message]
2006-05-12 21:47     ` Dan Merillat

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=4463C5F4.6040805@digadd.de \
    --to=lkml@digadd.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tsteinbr@igd.fraunhofer.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.