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

Re: Swap on software RAID1 - swap



On Wed, 28 Jul 2004, Alec Berryman wrote:

> I know that raid1 swap will not be faster than two swap partitions of
> equal priority; however, I'm more worried about reliability.

any disk that crashed that had used swap space will hang the system
 
any unused swap space is not an issue and will not hang the system

do yo know when the system is using which of the two swap and
when it crashed 

if you use raid'd swap space, you can protect against the one disk dying
with swap data on it ... 

more importantly.. you'd want to know within a few minutes if and when
your raid disk died so you can fix it asap before the 2nd disk goes poof

definitive answers always have [spoken/unspoken] assumptions ...

c ya
alvin

> If there are two swap partitions on separate drives, and if one drive
> fails, I'll lose whatever was swapped out of memory to that drive.
> Will that cause a problem; will the operating system expect the
> swapped memory to be there, and possibly hang if it's not?  The Debian
> rootraid HOWTO (http://alioth.debian.org/projects/rootraiddoc/)
> suggests that it might; I'm asking for more definite confirmation.
> 



Reply to: