Subject: Re: practical RAIDframe questions
To: Geert Hendrickx <ghen@telenet.be>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 01/26/2006 23:40:37
On Thu, Jan 26, 2006 at 11:07:55PM +0100, Geert Hendrickx wrote:
> On Thu, Jan 26, 2006 at 09:10:02PM +0100, Manuel Bouyer wrote:
> > I setup 2 raid sets: one for root+swap and one for the rest. This way,
> > after a reboot because of the swap partition the root+swap raid1 will be
> > dirtly and have parity rebuilt, but as it's small it's not an issue.
> >
> > [...]
> > 
> > For reliability I recommend swap on raid. Using a small raid for swap
> > makes the parity issue a non-issue :)
> 
> But setting swapoff=YES in /etc/rc.conf solves this issue too, doesn't it?

Not if you use reboot/halt instead of shutdown.
And I suspect swapoff=YES may not always work if the system has lots
of swap used.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--