NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: raidframe: Parity is dirty after every reboot



On Jul 4,  7:31pm, salo%Xtrmntr.org@localhost (Lubomir Sedlacik) wrote:
-- Subject: Re: raidframe: Parity is dirty after every reboot

| On Tue, Jul 01, 2008 at 04:54:10PM +0000, Christos Zoulas wrote:
| > In article <g4di0c$1t93$1%nermal.rz1.convenimus.net@localhost>, Christian 
Baer
| > <christian.baer%uni-dortmund.de@localhost> wrote:
| > >Greg Oster wrote:
| > >
| > >> My guess is your cgd isn't getting unconfigured during shutdown...
| > >
| > >Your guess seems to be right. I didn't really think that it gets
| > >missed during shutdown, but you guys gave me the idea.
| > >
| > >If I umount the file system und unconfigure the cgd before rebooting,
| > >everything is fine; the parity is clean. If I just do a shutdown
| > >without unconfiguring the cgd on foot, I have a dirty parity.
| > >
| > >Any chance this will be added any time soon into the shutdown script?
| > 
| > Does this help?
| 
| It can't possibly help, see below.
| 
| > Index: cgd
| > ===================================================================
| > RCS file: /cvsroot/src/etc/rc.d/cgd,v
| > retrieving revision 1.5
| > diff -u -u -r1.5 cgd
| > --- cgd 2 Mar 2005 19:09:22 -0000       1.5
| > +++ cgd 1 Jul 2008 16:53:38 -0000
| > @@ -20,5 +20,13 @@
| >         fi
| >  }
| >  
| > +cgd_stop()
| > +{
| > +       if [ -f /etc/cgd/cgd.conf ]; then
| > +               echo "Unconfiguring CGD devices."
| > +               cgdconfig -C
| 
| ITYM,             cgdconfig -U

Right :-)

christos


Home | Main Index | Thread Index | Old Index