Serious bug in vinum?

Lukas Ertl le at FreeBSD.org
Tue Mar 30 04:37:57 PST 2004


On Fri, 26 Mar 2004, Joao Carlos Mendes Luis wrote:

>     I think this should be like:
>
>         if (plex->state > plex_corrupt) {                  /* something accessible, */
>
>     Or, in other words, volume state is up only if plex state is degraded
> or better.

You are right, this is a bug, but the solution is not that easy.  There
are scenarios where - even when a striped plex has failed - the volume
itself plus all its data is valid, so simply setting it down isn't the
'right' way to do it.

The correct solution, of course, is to check if the data is valid before
changing the volume state, but turn might turn out to be a very complex
check.

cheers,
le

-- 
Lukas Ertl                           http://mailbox.univie.ac.at/~le/
le at FreeBSD.org                       http://people.freebsd.org/~le/


More information about the freebsd-bugs mailing list