On Wed, Jun 17, 2009 at 03:05:47PM +0200, Toni Mueller wrote:
> Hi,
> 
> On Wed, 17.06.2009 at 10:52:05 +0200, Stefan Unterweger <ste...@rg-me.it> 
> wrote:
> > I am considering patching rc(8) and commenting out the `raidctl
> > -P all` line, and running it via cron(8) at "@reboot", but this
> > seems like a hack to me. So before I venture that way, I'd rather
> > make sure I didn't overlook a switch or option or anything of the
> > like that would make `raidctl -P` return immediately while
> > continuing the rewriting in the background, so that rc would
> > continue it's work.
> 
> I'm not sure that I understand you correctly, and don't want to make a
> statement about the merit of having raidctl running in the background
> while already operating again, but what about having
> 
> raidctl -P all &
> 
> in /etc/rc?

IIRC that works just fine if you are willing to take the
risk of getting a broken raid in the event of a crash
/ power outage during the backgrounded parity re-write.

> 
> -- 
> Kind regards,
> --Toni++

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB

Reply via email to