Subject: Re: RAID & swap
To: Greg Oster <email@example.com>
From: Manuel Bouyer <firstname.lastname@example.org>
Date: 04/07/2000 17:25:04
On Fri, Apr 07, 2000 at 09:13:44AM -0600, Greg Oster wrote:
> Hmm.... I thought there was some other bits missing yet... unless I was just
> trying to get too fancy...
> Maybe a 'swapctl -d /dev/raid0b' in /etc/rc.shutdown (or whatever the
> equivalent is these days) is sufficient??? (I seem to recall that it wouldn't
> be, but I don't recall exactly why...)
The problem is that 1) when I type 'halt' rc.shutdown is not called
and 2) at this point you're not sure to have enouth RAM to turn off the
swap. The only way to be sure is to forcibily turn it off in the kernel
once all processes have died.
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr