geom_mirror delayed synchronizing question

Christian Laursen xi at borderworlds.dk
Wed Dec 27 09:29:32 PST 2006


"R. B. Riddick" <arne_woerner at yahoo.com> writes:

> --- Christian Laursen <xi at borderworlds.dk> wrote:
>> What is missing is automatic synchronization after running this
>> command. If I manualle run "gmirror rebuild name prov" on the stale
>> arrays, synchronization starts, but I need this to happen
>> automatically.
>> 
>> The small changes I have made so far: 
>> http://borderworlds.dk/~xi/gmirror.diff
>> 
>> Any hints on how to write the code to find the relevant mirrors and
>> initiate the rebuild would be much appreciated.
>> 
> Wasnt that feature already implemented?
> "graid5 configure -a" and "... -n"?

No, -a and -n enables and disables autosynchronization. I want
autosynchronization but with a delay.

> I would be glad if it was possible for gmirror to detect an idle
> gmirror-device... If it is idle, requests r issued more frequent and if the
> device experiences concurrent requests (e. g. from fsck), gmirror does no or
> hardly any sync requests...

That would probably work too.

-- 
Christian Laursen


More information about the freebsd-geom mailing list