On Thursday April 27, [EMAIL PROTECTED] wrote:
> Neil Brown wrote:
> > The '-f' is meant to make this work.  However it seems there is a bug.
> > 
> > Could you please test this patch?  It isn't exactly the right fix, but
> > it definitely won't hurt.
> 
> Thanks, Neil, I'll give this a go when I get home tonight.
> 
> Is there any way to start an array without kicking off a rebuild ?

echo 1 > /sys/module/md_mod/parameters/start_ro 

If you do this, then arrays will be read-only when they are started,
and so will not do a rebuild.  The first write request to the array
(e.g. if you mount a filesystem) will cause a switch to read/write and
any required rebuild will start. 

echo 0 > ....
will revert the effect.

This requires a reasonably recent kernel.

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to