Subject: Re: RAIDframe: why are only "root" raidsets closed on reboot/halt?
To: David Laight <david@l8s.co.uk>
From: Greg Oster <oster@cs.usask.ca>
List: tech-kern
Date: 11/26/2002 13:41:16
David Laight writes:
> > > I note that if I "ccdconfig -U" for "raidctl -u" the stripe first,
> > > parity will stay clean. 
> > 
> > Right.  And this is the part that is missing for the shutdown/reboot.
> > Without doing the "ccdconfig -U" or "raidctl -u" on the stripe, the 
> > underlying components (raid sets themselves) will always remain "in use".
> > That means that their parity bits will never get updated properly on 
> > a shutdown.  Something like the following:
> 
> Is there some merit in looping through the raid and unmount
> actions until no more progress is made?

Probably.  I suspect something can be whipped up for /etc/rc.d/* , 
but I'm not the expert on that stuff :-}

Later...

Greg Oster