* no journaling and loops on softraid?
@ 2007-03-05 22:55 Dexter Filmore
2007-03-05 23:32 ` Neil Brown
2007-03-07 16:49 ` Bill Davidsen
0 siblings, 2 replies; 3+ messages in thread
From: Dexter Filmore @ 2007-03-05 22:55 UTC (permalink / raw)
To: linux-raid
http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID#Data_Scrubbing
"Warning: Be aware that the combination of RAID5 and loop-devices will most
likely cause severe filesystem damage, especially when using ext3 and
ReiserFS. Some users suggest that XFS is not affected by this, but this has
not been entirely confirmed. See kernel bug 6242 for updates on this bug.
Note: There are also reports that Journaled Filesystems are problematic on all
Software-RAID levels. No kernel bugs have been submitted regarding this bug
as of yet. A number of the reports involve using cryptoloops which are known
to cause corruption. See http://forums.gentoo.org/viewtopic-t-412467.html for
more information. This thread should be taken with a grain of salt."
Can someone shed some light on this? I have XFS on my raid and *had* problems
when unpacking large archives with many small files.
Dex
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d--(+)@ s-:+ a- C++++ UL++ P+>++ L+++>++++ E-- W++ N o? K-
w--(---) !O M+ V- PS+ PE Y++ PGP t++(---)@ 5 X+(++) R+(++) tv--(+)@
b++(+++) DI+++ D- G++ e* h>++ r* y?
------END GEEK CODE BLOCK------
http://www.stop1984.com
http://www.againsttcpa.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: no journaling and loops on softraid?
2007-03-05 22:55 no journaling and loops on softraid? Dexter Filmore
@ 2007-03-05 23:32 ` Neil Brown
2007-03-07 16:49 ` Bill Davidsen
1 sibling, 0 replies; 3+ messages in thread
From: Neil Brown @ 2007-03-05 23:32 UTC (permalink / raw)
To: Dexter Filmore; +Cc: linux-raid
On Monday March 5, Dexter.Filmore@gmx.de wrote:
> http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID#Data_Scrubbing
>
> "Warning: Be aware that the combination of RAID5 and loop-devices will most
> likely cause severe filesystem damage, especially when using ext3 and
> ReiserFS. Some users suggest that XFS is not affected by this, but this has
> not been entirely confirmed. See kernel bug 6242 for updates on this bug.
>
> Note: There are also reports that Journaled Filesystems are problematic on all
> Software-RAID levels. No kernel bugs have been submitted regarding this bug
> as of yet. A number of the reports involve using cryptoloops which are known
> to cause corruption. See http://forums.gentoo.org/viewtopic-t-412467.html for
> more information. This thread should be taken with a grain of salt."
>
> Can someone shed some light on this? I have XFS on my raid and *had* problems
> when unpacking large archives with many small files.
>
Bugs that get mentioned on wiki's but never reported to maintainers
are unlikely to get fixed......
Back in 2.2 days ext3 over md/raid had problems if the raid was
rebuilding, but that was fixed in 2.4.
More recently there was an incompatibility between raid5 and dm-crypt
that could cause corruption, but that has been fixed on both sides
(there are two ways to report errors for a block-device request.
raid5 was setting only one of them and dm-crypt was listening only to
the other - there were "I don't have resources at the moment" errors
for read-ahead requests).
If you have problems with XFS on raid, I suggest you report it to the
XFS and RAID mailing lists - see the MAINTAINERS file for both.
NeilBrown
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: no journaling and loops on softraid?
2007-03-05 22:55 no journaling and loops on softraid? Dexter Filmore
2007-03-05 23:32 ` Neil Brown
@ 2007-03-07 16:49 ` Bill Davidsen
1 sibling, 0 replies; 3+ messages in thread
From: Bill Davidsen @ 2007-03-07 16:49 UTC (permalink / raw)
To: Dexter Filmore; +Cc: linux-raid
Dexter Filmore wrote:
> http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID#Data_Scrubbing
>
> "Warning: Be aware that the combination of RAID5 and loop-devices will most
> likely cause severe filesystem damage, especially when using ext3 and
> ReiserFS. Some users suggest that XFS is not affected by this, but this has
> not been entirely confirmed. See kernel bug 6242 for updates on this bug.
>
> Note: There are also reports that Journaled Filesystems are problematic on all
> Software-RAID levels. No kernel bugs have been submitted regarding this bug
> as of yet. A number of the reports involve using cryptoloops which are known
> to cause corruption. See http://forums.gentoo.org/viewtopic-t-412467.html for
> more information. This thread should be taken with a grain of salt."
>
> Can someone shed some light on this? I have XFS on my raid and *had* problems
> when unpacking large archives with many small files.
>
To start, the report mentions a number of unrelated layers, evms,
dm-crypt, and some total misinformation, claiming that evms is needed to
allow growing of raid. I can't speak to XFS over RAID, I've seen report
of XFS problems on native partitions, and just don't have enough
information to have a good opinion.
But I have been running ext3 over RAID1 and RAID5 for years, and just
haven't seen the problems you mention, or anything else which concerns
me. There were recovery issues in early kernels, but I have no reason to
think that there's any basic problem at this point. Reports of problems
often outlive the problem, and problems with multiple layers of device
manipulation you increase the chance of failure, because a chain is as
strong as the weakest link, and decrease the chances if identifying
which layer is actually a problem. If you have any hardware issues, you
now depend on every layer not only handling them, but passing them up
and down layers.
I have put lvm over raid, but even that would be an issue to debug. I
would simplify if I had your problem.
--
bill davidsen <davidsen@tmr.com>
CTO TMR Associates, Inc
Doing interesting things with small computers since 1979
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-03-07 16:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-05 22:55 no journaling and loops on softraid? Dexter Filmore
2007-03-05 23:32 ` Neil Brown
2007-03-07 16:49 ` Bill Davidsen
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).