[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No swap on my Debian Sid system



On Mon, Jan 23, 2006 at 09:49:21AM +0000, A J Stiles wrote:
> If you're using md for RAID-1, then the best way to have your swap partitions 
> is to have one partition on each drive, *outside* the RAID array, and use 
> them as separate swap partitions.  There's little to no point in slowing down 
> the system by RAIDing the contents of the swapfile -- under almost any 
> circumstance in which that might be desirable, there will be worse and more 
> immediate problems.  With the kind of hardware RAID that appears as a single 
> SCSI drive, you obviously can't avoid RAIDing swap; but at least it isn't 
> such a performance hit.

Given raid is meant to avoid data loss, having swap not on raid makes
the system more likely to crash on disk failure, and hence loose data.
Just plain simple insanity to not put swap on raid.  Very minimal
slowdown anyhow, and much less slowdown than a crashed system.

Len Sorensen



Reply to: