Strange "gmirror status"
Paolo Tealdi
paolo.tealdi at polito.it
Wed Mar 17 14:18:56 UTC 2010
Dear all,
I have a FreeBSD server 6.4 with a mirror (geom mirror) on two disk
ATA disk (ad2 and ad3) that had some problems : ad2 apparently for a
bus problem, detached himself breaking the mirror.
The system continued to work only on ad3.
After some days i moved all the disks (also system disk) to another
computer. After booting, the server automatically recognized the
mirror recreating it from ad2 disk ( that with old data :-( ).
While recreating the mirror i successfully managed to restore all the
data (it's only a slave mirror).
This is the output of the command "gmirror status" during the mirror
rebuilding
# gmirror status
Name Status Components
mirror/dati FUNCTIONAL ad2
ad3 xx%
(I don't really remember the exact status definition but i'm sure it
wasn't "DEGRADED")
when finished the rebuilding (6-7 hours after) the gmirror output
immediately changed in
# gmirror status
Name Status Components
mirror/dati DEGRADED ad2
ad3
Now, after a reboot, in the system log i see
Mar 17 13:44:44 aristarco kernel: GEOM_MIRROR: Device dati created
(id=1310146198).
Mar 17 13:44:44 aristarco kernel: GEOM_MIRROR: Device dati: provider
ad2 detected.
Mar 17 13:44:44 aristarco kernel: GEOM_MIRROR: Device dati: provider
ad2 activated.
Mar 17 13:44:44 aristarco kernel: GEOM_MIRROR: Device dati: provider
mirror/dati launched.
Mar 17 13:44:44 aristarco kernel: GEOM_MIRROR: Device dati: provider
ad3 detected.
Mar 17 13:44:44 aristarco kernel: GEOM_MIRROR: Device dati: provider
ad3 activated.
Mar 17 13:44:44 aristarco kernel: Trying to mount root from ufs:/dev/ad0s1a
but the gmirror status (DEGRADED) is not changed.
When i write something to the disk, the iostat program is displaying
that all the two disk are working and the mirror seems to work.
Why the status is not become "COMPLETE" ?
Best regards,
Paolo Tealdi
Ing. Paolo Tealdi Servizi Informatici per le Biblioteche
Politecnico Torino Phone : +39-011-0906714 , FAX : +39-011-0906799
C.so Duca degli Abruzzi, 24 - 10129 Torino - ITALY Email :
paolo.tealdi(At)polito.it
Skype : tealdi.paolo
More information about the freebsd-geom
mailing list