Swap in RAID1?

Michael Hipp Michael
Tue Feb 15 17:02:00 PST 2005


Michael Hipp wrote:
> I've seen different answers to this question ...
> 
> Should you have your swap partitions configured inside a RAID1 device or 
> as separate standalone partitions?
> 
> I've been hold that it'll crash anyway if you put swap in RAID and a 
> drive fails. But won't it crash if you have two swaps and one goes away?

Replying to my own post ...

From: http://www.linux-sxs.org/hardware/raid_for_idiots.html by our own David 
Bandel

"Once your new RAID disk has been partitioned and all but the swap partition 
are type Linux raid autodetect (fd), the hard part is done.  N.B. I chose not 
to RAID swap.  However you may if you like.  I kept two separate swap 
partitions, one on each disk, for extra speed.  Your choice, RAID if you like, 
but you'll take a slight performance hit."

Now if I could just find that comment I read somewhere that it'll crash anyway 
even if you put swap in RAID. Seems wrong to me, but I'm still learning.

Michael


More information about the Linux-users mailing list