linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problems with device-mapper on top of RAID-5 and RAID-6
@ 2006-06-02 15:10 Dr. Uwe Meyer-Gruhl
  2006-06-05 20:40 ` Nix
  0 siblings, 1 reply; 2+ messages in thread
From: Dr. Uwe Meyer-Gruhl @ 2006-06-02 15:10 UTC (permalink / raw)
  To: linux-raid

Hi List,


just to draw your attention to some discussion starting out here:

http://thread.gmane.org/gmane.linux.kernel.device-mapper.dm-crypt/1576/focus=1576

and going on here:

http://thread.gmane.org/gmane.linux.kernel.device-mapper.dm-crypt/1617/focus=1617

To recap, what has been found so far is:

1. There are problems with the combination of RAID and device mapper 
(e.g. for encrypted filesystems). The thread started off with this 
observation.
2. There are filesystem corruptions with heavy loads (i.e. copying big 
files or many files to the filesystem). The bug usually takes long to 
reproduce.
3. Problems occur with any filesystem type (ext3, reiser4 et. al.).
4. Problems occur with RAID-5 and RAID-6. Both are O.K. without dm-crypt.
5. Problems are unaffected by different ciphers under dm-crypt (at least 
AES, Serpent and Twofish expose the bug). dm-linear is reported to have 
failed, too. So, we suspect that neither dm-crypt nor ciphers are the 
culprit here, but rather the device mapper core functionality or RAID 
subsystem.
6. Bug seems to exist in at least kernel 2.6.13 to 2.6.16 (2.6.17 not 
yet tested, earlier versions may be affected).

There have been discussions going on about his from earlier kernel 
versions, like here:

http://lwn.net/Articles/150583/

Neil's suggestion indicates that there may be a race condition stacking 
md and dm over each other, but I have not yet tested that patch. I once 
had problems stacking cryptoloop over RAID-6, so it might really be a 
stacking problem. We don't know yet if LVM over RAID is affected as well.

This bug is very critical and should be fixed as soon as possible, IMHO.



Uwe

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problems with device-mapper on top of RAID-5 and RAID-6
  2006-06-02 15:10 Problems with device-mapper on top of RAID-5 and RAID-6 Dr. Uwe Meyer-Gruhl
@ 2006-06-05 20:40 ` Nix
  0 siblings, 0 replies; 2+ messages in thread
From: Nix @ 2006-06-05 20:40 UTC (permalink / raw)
  To: Dr. Uwe Meyer-Gruhl; +Cc: linux-raid

On 2 Jun 2006, Uwe Meyer-Gruhl uttered the following:
> Neil's suggestion indicates that there may be a race condition
> stacking md and dm over each other, but I have not yet tested that
> patch. I once had problems stacking cryptoloop over RAID-6, so it
> might really be a stacking problem. We don't know yet if LVM over RAID
> is affected as well.

I've been running LVM on RAID (spanning two RAID-5 arrays) for some time
now and have had no trouble (that I know of: a check just completed OK,
so the RAID layer at least is consistent). The arrays have both IDE and
SCSI (sym53c875) components.

Of course this is a subtle and intermittent problem so this is hardly
a green light :/

-- 
`Voting for any American political party is fundamentally
 incomprehensible.' --- Vadik

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-06-05 20:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-02 15:10 Problems with device-mapper on top of RAID-5 and RAID-6 Dr. Uwe Meyer-Gruhl
2006-06-05 20:40 ` Nix

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).