Subject: Re: raid-1 problem
To: Wojciech Puchar <wojtek@wojtek.3miasto.net>
From: Greg Oster <oster@cs.usask.ca>
List: netbsd-users
Date: 08/08/2001 11:51:32
Wojciech Puchar writes:
> > > > > 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 proper
> ly,
> > 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 se
> t
>
> this is simplest and nicest solution. will root filesystem unmount
> automatically by kernel?
Yup, it should.
> > to unconfigure cleanly. (Hmm.. there might be something else needed here,
> > but it's been a while since I last thought about this problem..)
Later...
Greg Oster