gmirror flags?

Thomas freebsdlists at bsdunix.ch
Thu Oct 12 00:30:00 PDT 2006


Hi Charles

Charles Sprickman schrieb:
> Howdy,
> 
> I found gmirror as I slowly work my way from 4.x to 6.x.  So far I'm
> finding it really easy to setup and use, and the abuse I've subjected my
> first test machine to has convinced me it's pretty resilient.  Great
> work, Pawel!
> 
> One thing I'm not finding documented that's got me a little puzzled is
> the "Flags" field in the "gmirror list" output.  I dug around in the
> source a bit, but I'm not fluent enough to find the answer there...
> 
> I noticed that on a newly-created, or newly-booted array that all
> providers are marked "DIRTY".  After some time that changes to "NONE".
> 
> What does "DIRTY" mean in this context?

Pawel Jakub Dawidek once wrote:

"It means, that your mirror is open for writing. It is not bad:) Using
this flag allows gmirror to detect if it was closed in clean way, ie.
there was no power failure, etc. In case of an power failure, mirror is
synchronized."

Cheers,
Thomas


More information about the freebsd-geom mailing list