gmirror insert question

Alban Hertroys dalroi at solfertje.student.utwente.nl
Thu Oct 13 11:23:14 PDT 2005


I can't seem to get gmirror insert to work. I have these partitions 
/dev/ad8s2d and /dev/ad10s2d that I want to mirror (among others). I 
did as follows (from single user mode):

$ gmirror label -v -b load var /dev/ad8s2d
$ gmirror insert var ad10s2d

But ad10s2d fails to synchronize (error 1), and the mirror stays 
degraded (even though there's only 1 partition in it; isn't that a bit 
odd?).

The exact output is (typed over from the console):

GEOM_MIRROR[1]: Adding disk ad10s2d to var.
GEOM_MIRROR[0]: Provider ad10s2d detected.
GEOM_MIRROR[0]: Device var: rebuilding provider ad10s2d.
GEOM_MIRROR[0]: Synchronization request failed (error=1). 
ad10s2d[WRITE(offset=0, length=131072)]
GEOM_MIRROR[0]: Device var: provider ad10s2d disconnected.
GEOM_MIRROR[0]: Device var: rebuilding provider ad10s2d stopped.
GEOM_MIRROR[1]: Consumer mirror/var destroyed.
GEOM_MIRROR[1]: Consumer ad10sd destroyed.

The same goes for /, /usr and /home. I'd like to get this working. In 
addition I would like to create some striped partitions in a similar 
way; for /tmp, /usr/obj and /usr/ports - I think those'll be run async 
w/o softupdates.

Any help appreciated.

Alban Hertroys                      http://solfertje.student.utwente.nl
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
              This person has performed an illegal operation
              and will be shot down.



More information about the freebsd-questions mailing list