Disks fail over time, that's just the way things are. In one of my servers I have two mirrors. A disk (ad4) failed on my machine,and suddenly one of the mirrors doesn't work:
I removed ad4, and thought that ad6 should still work
This is what a dumpe says:
Ok, I'll try to activate it manually:
It looks ok, but in /var/log/messages I see this:
And how do I get it activated again?
Code:
root@kg-fil# uname -a
FreeBSD kg-fil.kg4.no 6.2-STABLE FreeBSD 6.2-STABLE #20: Mon Mar 12 23:04:49 CET 2007 root@kg-fil.kg4.no:/usr/obj/usr/src/sys/FIL60 amd64
Code:
root@kg-fil# gmirror status
Name Status Components
mirror/backup COMPLETE ad8
ad10
Code:
root@kg-fil# gmirror dump ad6
Metadata on ad6:
magic: GEOM::MIRROR
version: 3
name: storage
mid: 1178038186
did: 1420251553
all: 2
genid: 0
syncid: 14
priority: 1
slice: 4096
balance: split
mediasize: 250058267648
sectorsize: 512
syncoffset: 0
mflags: NONE
dflags: SYNCHRONIZING
hcprovider:
provsize: 250059350016
MD5 hash: 8c76b66abfce70ce511c61ae6febef83
Code:
root@kg-fil# gmirror activate -v storage ad6
Provider ad6 activated.
Done.
Why did GEOM destroy my mirror?Jun 1 23:03:04 kg-fil kernel: GEOM_MIRROR: Device storage created (id=1178038186).
Jun 1 23:03:04 kg-fil kernel: GEOM_MIRROR: Device storage: provider ad6 detected.
Jun 1 23:03:08 kg-fil kernel: GEOM_MIRROR: Force device storage start due to timeout.
Jun 1 23:03:08 kg-fil kernel: GEOM_MIRROR: Device storage destroyed.
And how do I get it activated again?