Re: [dm-crypt] dm-crypt is broken and causes massive data corruption

From: Alasdair G Kergon
Date: Tue May 09 2006 - 15:05:44 EST


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.

> Various people have noticed this, have lost data and wasted many hours
> trying to find the reason, and still NOTHING is being done about it.

Perhaps that's because it wasn't until last week that the upstream
maintainers heard of these problems?

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.

Alasdair
--
agk@xxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/