gmirror FAILURE - device detached

Miroslav Lachman 000.fbsd at quip.cz
Tue Jul 11 02:36:07 CEST 2006


Miroslav Lachman wrote:
> Frank Tomes wrote:
> 
>>Stalo se nam u dvou serveru cca po pulrocnim bezproblemovem provozu to
>>same. Atacontrol reinit ani reboot nepomohl, bylo nutne disky vymenit
>>za jine. 
> 
> 
> U me nastesti reboot pomohl, ale ted uz se asi 3 hodiny synchronizuje disk.

Tak sice reboot pomohl, ale i kdyz je system nevytizeny (je to cerstve 
nainstalovany stroj, na kterem zatim nebezi zadne verejne sluzby a ted 
se tam ani nic nekompilovalo), zmizel tentokrat prvni disk.

(toto je nezkraceny vypis z messages od bootu az po zmizeni disku - nic 
mezi tim jsem neodstranil)

Jul 10 17:15:18 track kernel: ad4: 238475MB <Seagate ST3250820AS 3.AAC> 
at ata2-master SATA150
Jul 10 17:15:18 track kernel: GEOM_MIRROR: Device gm0 created 
(id=3998145288).
Jul 10 17:15:18 track kernel: GEOM_MIRROR: Device gm0: provider ad4 
detected.
Jul 10 17:15:18 track kernel: ad8: 238475MB <Seagate ST3250820AS 3.AAC> 
at ata4-maste
r SATA150
Jul 10 17:15:18 track kernel: SMP: AP CPU #1 Launched!
Jul 10 17:15:18 track kernel: GEOM_MIRROR: Device gm0: provider ad8 
detected.
Jul 10 17:15:18 track kernel: GEOM_MIRROR: Device gm0: provider ad4 
activated.
Jul 10 17:15:18 track kernel: GEOM_MIRROR: Device gm0: provider 
mirror/gm0 launched.
Jul 10 17:15:18 track kernel: GEOM_MIRROR: Device gm0: rebuilding 
provider ad8.
Jul 10 17:15:18 track kernel: Trying to mount root from 
ufs:/dev/mirror/gm0s1a
Jul 10 17:15:19 track kernel: bge0: link state changed to UP
Jul 10 17:15:21 track ntpd[433]: ntpd 4.2.0-a Sun May  7 03:20:45 UTC 
2006 (1)
Jul 10 17:19:41 track ntpd[433]: kernel time sync disabled 2041
Jul 10 17:27:17 track ntpd[433]: kernel time sync enabled 2001
Jul 10 17:33:00 track su: quip to root on /dev/ttyp1
Jul 10 17:33:39 track su: quip to root on /dev/ttyp2
Jul 10 18:49:02 track sshd[4262]: fatal: Timeout before authentication 
for 217.77.165.37
Jul 10 19:01:38 track su: quip to root on /dev/ttyp4
Jul 10 19:37:06 track su: quip to root on /dev/ttyp4
Jul 10 22:00:10 track kernel: GEOM_MIRROR: Device gm0: rebuilding 
provider ad8 finished.
Jul 10 22:00:10 track kernel: GEOM_MIRROR: Device gm0: provider ad8 
activated.
Jul 11 00:29:51 track kernel: ad4: FAILURE - device detached
Jul 11 00:29:51 track kernel: subdisk4: detached
Jul 11 00:29:51 track kernel: ad4: detached
Jul 11 00:29:51 track kernel: GEOM_MIRROR: Cannot write metadata on ad4 
(device=gm0, error=6).
Jul 11 00:29:51 track kernel: GEOM_MIRROR: Cannot update metadata on 
disk ad4 (error=6).
Jul 11 00:29:51 track kernel: GEOM_MIRROR: Device gm0: provider ad4 
disconnected.


Takze temer 5 hodin trvalo, nez se dokoncila synchronizace disku a dve a 
pul hodiny na to zase zmizel disk.

Po rebootu se disk sice objevil, ale nedoslo k jeho automaticke aktivaci.

Jul 11 01:56:38 track kernel: ad4: 238475MB <Seagate ST3250820AS 3.AAC> 
at ata2-master SATA150
Jul 11 01:56:38 track kernel: GEOM_MIRROR: Device gm0 created 
(id=3998145288).
Jul 11 01:56:38 track kernel: GEOM_MIRROR: Device gm0: provider ad4 
detected.
Jul 11 01:56:38 track kernel: ad8: 238475MB <Seagate ST3250820AS 3.AAC> 
at ata4-master SATA150
Jul 11 01:56:38 track kernel: SMP: AP CPU #1 Launched!
Jul 11 01:56:38 track kernel: GEOM_MIRROR: Device gm0: provider ad8 
detected.
Jul 11 01:56:38 track kernel: GEOM_MIRROR: Component ad4 (device gm0) 
broken, skipping.
Jul 11 01:56:38 track kernel: GEOM_MIRROR: Device gm0: provider ad8 
activated.
Jul 11 01:56:38 track kernel: GEOM_MIRROR: Device gm0: provider 
mirror/gm0 launched.
Jul 11 01:56:38 track kernel: Trying to mount root from 
ufs:/dev/mirror/gm0s1a

Abych prinutil gmirror znovu pouzivat disk, musel jsem nejdrive pouzit 
gmirror forget, gmirror remove a pak gmirror insert.
Ted se bude patrne zase 5 hodin synchronizovat.
Nemuze tento stav mit treba nasvedomi nastaveni radice na rezim AHCI 
(nastaveni v BIOSu - je tam tusim na vyber IDE a AHCI)?

Miroslav Lachman



More information about the Users-l mailing list