Subject: Re: raid-1 problem
To: Greg Oster <oster@cs.usask.ca>
From: Wojciech Puchar <wojtek@wojtek.3miasto.net>
List: netbsd-users
Date: 08/08/2001 19:49:07
> > > > start.
> > > >
> > > > what's wrong?!
> > >
> > > I need to know what version of NetBSD before I can speculate...  do you hav
> > e
> >
> > / on raid0a and swap on raid0b
>
> So the problem is that swap doesn't get unconfigured, and thus raid0 never
> gets shutdown cleanly.  Some options are:
>  1) move the swap to it's own RAID set.  It still won't get shutdown properly,
> but will take less time to rebuild, and you won't have critical filesystems
> on a non-redundant RAID set after a shutdown.
>
>  2) Put a line like:
>
> # KEYWORD: shutdown
>
> in /etc/rc.d/swap1 .  That way when you do a shutdown, the system will
> (hopefully) be able to unconfigure the swap, which should allow the RAID set

this is simplest and nicest solution. will root filesystem unmount
automatically by kernel?


> to unconfigure cleanly.  (Hmm.. there might be something else needed here,
> but it's been a while since I last thought about this problem..)