[CentOS] Software RAID in CentOS (EL)

Tue Apr 19 15:30:08 UTC 2005
Simone <simone72 at email.it>

Hi, I had raid0 my swap partitions, but in my experience, it causes a 
kernel panic in case of failure of 1 disk. I assume crashing depends on 
what is using that swap space at the moment of failure.
On the other hand, if swap is on raid1, crashing of 1 disk doesn't 
affect the correct functioning of the machine.


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?
>CentOS mailing list
>CentOS at centos.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20050419/9f7e54c3/attachment-0004.html>