Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Oct 2005 20:23:09 +0200
From:      Alban Hertroys <dalroi@solfertje.student.utwente.nl>
To:        freebsd-questions@freebsd.org
Subject:   gmirror insert question
Message-ID:  <46261f3744cda084a8b6ce2082b64862@solfertje.student.utwente.nl>

next in thread | raw e-mail | index | archive | help
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.




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