[CentOS] Software RAID in CentOS (EL)

Tue Apr 19 18:17:40 UTC 2005
Paul <subsolar at subsolar.org>

On Tue, 2005-04-19 at 08:15 -0700, Francois Caen wrote:
> On 4/19/05, Joshua Baker-LePain <jlb17 at duke.edu> wrote:
> > If you want the system to survive losing a disk (i.e. it stays up until
> > you shut it down to swap the disk (if you don't have hot swap)), you
> > must RAID all partitions, including swap.  In a ks.cfg, it looks something
> > like this:
> The reason I don't softraid1 my swaps is that the default behavior is
> striping a-la-raid0 if you have multiple swaps. At least that's my
> understanding of it.
> You guys bring up a good point in case of drive failure. I never
> tested it. Do you guys know what happens if the swaps are not
> softraid1? Does the kernel panic or something of the like? Or does it
> survive and just operate on less swapspace?

Well it dies horribly ... out and out locked up for me using RH 7.3 when
a drive that is using un-mirrored swap failed.  After that I decided
mirrored swap was a good thing.