Subject: Re: raidframe
To: Ben Collver <collver@softhome.net>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 11/08/2000 14:14:51
On Tue, Nov 07, 2000 at 02:54:05PM -0800, Ben Collver wrote:
> Hello,
> 
> My system is using NetBSD 1.5 BETA (i386) and its root and swap partitions
> are within a RAID level 1 array.  After I "shutdown -h now" and boot the
> machine, the RAID parity always starts DIRTY.
> 
> Is this the same problem mentioned in PR8933?  The -d option is now in

yes.

> swapctl.  It would be nice for -d to modify -U for automation.
> 
> After adding "swapctl -d /dev/raid0b" to the stop command in /etc/rc.d/swap1,
> and adding "# KEYWORD: shutdown" to /etc/rc.d/swap1 and /etc/rc.d/mountall
> (so they are run by rc.shutdown), the RAID parity still always starts DIRTY.

Could you compile a kernel with 'options DEBUG' and see what is printed at
shutdown ?

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--