Subject: Re: RAIDFrame One or Many
To: Andrew Gillham <gillham@vaultron.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-users
Date: 04/16/2003 12:50:54
On Tue, Apr 15, 2003 at 03:52:01PM -0700, Andrew Gillham wrote:
> On Tue, Apr 15, 2003 at 10:58:36PM +0200, Manuel Bouyer wrote:
> >
> > However, because of a problem with swap on raidframe, I would make one raid
> > for a+b and a second for everything else (this is how I setup my sustems
> > these days). The problem is that the swap partition isn't closed on
> > halt/reboot, so the raid is dirty on next boot and it rebuilds parity.
> > Using a separate, smaller raid for swap will make the parity rebuild
> > short enouth to not be too annoying.
> I've been using the /etc/rc.conf option to turn swap off at reboot.
> 
> swapoff=NO              # Remove block-type swap partitions upon shutdown
> 
> This seems to work fine on my one raid volume system.

Yes, it works if you use shutdown. But halt or reboot don't run the
shutdown scripts.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     NetBSD: 24 ans d'experience feront toujours la difference
--