Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Dec 2006 18:29:30 +0100
From:      Christian Laursen <xi@borderworlds.dk>
To:        "R. B. Riddick" <arne_woerner@yahoo.com>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: geom_mirror delayed synchronizing question
Message-ID:  <ygfk60dw8lh.fsf@dominion.borderworlds.dk>
In-Reply-To: <359629.81860.qm@web30308.mail.mud.yahoo.com> (R. B. Riddick's message of "Wed, 27 Dec 2006 07:45:54 -0800 (PST)")
References:  <359629.81860.qm@web30308.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"R. B. Riddick" <arne_woerner@yahoo.com> writes:

> --- Christian Laursen <xi@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ygfk60dw8lh.fsf>