disk failure with swap RAID-0

Bruno Wolff III bruno at wolff.to
Mon Jan 9 20:46:03 UTC 2006


On Mon, Jan 09, 2006 at 08:03:44 -0600,
  "Christofer C. Bell" <christofer.c.bell at gmail.com> wrote:
> On 1/8/06, Doncho N. Gunchev <gunchev at gmail.com> wrote:
> >
> > The machine will boot fine, just will not have swap at all. Why not use two
> > swap partitions instead of one RAID-0? This way at least one of them will
> > work (if one disk is gone).
> 
> Personally, I agree with avoiding  RAID 0 for any reason (my personal
> preference).  However, I can understand a desire to use it for swap in
> order to force the kernel to use both spindles when swapping,
> increasing the performance of swap.  I don't know if the vm system in
> Linux has improved to the point where it will balance multiple swap
> partitions or not, but it used to be that the kernel would use the
> first swap partition exclusively until it was full before taking
> advantage of the second and subsequent partitions.

I think if you are really concerned about how fast processes swap, you need
to buy more memory, not speed up swapping to disk.




More information about the fedora-list mailing list