Date: Wed, 17 Mar 2010 14:18:50 +0100 From: Paolo Tealdi <paolo.tealdi@polito.it> To: freebsd-geom@freebsd.org Subject: Strange "gmirror status" Message-ID: <auto-000033828018@eracle.polito.it>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?auto-000033828018>