gmirror/gconcat: mkdir causes system reboot

R. B. Riddick arne_woerner at yahoo.com
Mon Jul 31 10:22:43 UTC 2006


--- Pawel Jakub Dawidek <pjd at FreeBSD.org> wrote:
> Gmirror protects against such situations - on power loss or system crash
> it will resynchronize mirrors.
> 
Hmm... The evil is a squirrel...

E. g. the write cache could delay the commit regarding the last sector of the
disc until the data has been written... Then the sudden power loss (or so)
could happen, while one disc updates the data but before the other disc and the
meta data are written. Or not? Or is gmirror like gjournal?

In graid5 I mark the geom_device as clean as soon as the shutdown event occurs.
Is that a good idea? That makes versioning of the various disks obsolete,
doesn't it?

-Arne


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the freebsd-geom mailing list