Date: Fri, 21 Jul 2006 17:15:52 +0400 From: Anton Nikiforov <anton@nikiforov.ru> To: freebsd-stable@freebsd.org Subject: gmirror problems Message-ID: <44C0D388.3040205@nikiforov.ru>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Dear All,
I have the following gmirror configuration:
server1
ggated
ggatec create -u 10 -o rw 192.168.100.110 /dev/da1s1d
gmirror label -v -b split -s 2048 geom1 /dev/da1s1d /dev/ggate10d
ggatec create -u 11 -o rw 192.168.100.110 /dev/da1s1e
gmirror label -v -b split -s 2048 geom2 /dev/da1s1e /dev/ggate11
ggatec create -u 12 -o rw 192.168.100.110 /dev/da1s1f
gmirror label -v -b split -s 2048 geom3 /dev/da1s1f /dev/ggate12
ggatec create -u 13 -o rw 192.168.100.110 /dev/da1s1g
gmirror label -v -b split -s 2048 geom4 /dev/da1s1g /dev/ggate13
ggatec create -u 14 -o rw 192.168.100.110 /dev/da1s1h
gmirror label -v -b split -s 2048 geom5 /dev/da1s1h /dev/ggate14
server 2
ggated
When I'm starting from scratch. (currently by manually running all
commands/daemons)
Everything is fine, until I'm trying to mount gmirrored device from
server2. What I'm doing listed below
1. Unmounting all file systems
2. stooping all devices (all, but i need only one to start it on another
host)
3. stopping daemons
4. Starting daemon on server1
5. Trying to create ggatec device on server2 with the same command, but
with IP of server1
getting error: ggatec: ggatec: ioctl(/dev/ggctl): Invalid argument.
ggatec: Exiting.
6. looking into gmirror status device list i have all devices in
DEGRADED state on server 2 (there was no devices in the list while
everything was up)
7. longing into gmirror status device list i have all devices in
COMPLETE state and next time gmirror hangs forever.
Could you please help me or direct to the right manual?
I have found a lot of sources of how to setup (and I'm done with this). But what should i do with failure? How to mount disk on another node or start it after failure?
And one more question: is there any way to get gmirror to re mirror devices before carp interfaces become up? I want to get data mirrored before moving services from backup firewall to main one (in case main was failed)
And one more thing..... after some manipulations with gmirror devices i have server crushed while booting kernel. At the moment it initialize GEOM_MIRROR device - kernel panics.
When i remove the disk that was containing gmirror devices - server just booted normally. But insertion of that disk back and running camcontol rescan all - bring it back to panic... so, i cannot use this disk anymore (i know, that i can rewrite it's last sector on machine without GEOM compiled into the kernel)
--
Best regards,
Anton Nikiforov
[-- Attachment #2 --]
0 *H
010 + 0 *H
00G>b=ӛ1
رh0
*H
0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
060720055133Z
070720055133Z0D10UThawte Freemail Member1!0 *H
anton@nikiforov.ru0"0
*H
0
.ˮlu$y%C\d>%t"!d#
Xdl=<̙9WL=za>Q&<
Y
]Kv(ևR syeezT|䱒 yd_h8eH #_ڱP~Ptw0>.nf[\bf?Ģn{"FQ̩nK#)ۣA(ti /0-0U0anton@nikiforov.ru0U0 0
*H
)k~iBV0076%xM;$FU"7٭|vo%V8=VW5mJGF!ޏ%L9TޒsHܸ00G>b=ӛ1
رh0
*H
0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
060720055133Z
070720055133Z0D10UThawte Freemail Member1!0 *H
anton@nikiforov.ru0"0
*H
0
.ˮlu$y%C\d>%t"!d#
Xdl=<̙9WL=za>Q&<
Y
]Kv(ևR syeezT|䱒 yd_h8eH #_ڱP~Ptw0>.nf[\bf?Ģn{"FQ̩nK#)ۣA(ti /0-0U0anton@nikiforov.ru0U0 0
*H
)k~iBV0076%xM;$FU"7٭|vo%V8=VW5mJGF!ޏ%L9TޒsHܸ0?0
0
*H
010 UZA10UWestern Cape10U Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0) *H
personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
*H
0 Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr` 00U0 0CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
*H
HP.
fgCL!6-6/P p<ab:~ t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1d0`0v0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA>b=ӛ1
رh0 + 0 *H
1 *H
0 *H
1
060721131552Z0# *H
1)U8>%ԄCF%0R *H
1E0C0
*H
0*H
0
*H
@0+0
*H
(0 +71x0v0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA>b=ӛ1
رh0*H
1xv0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA>b=ӛ1
رh0
*H
<9Tyd/99^þQĘ%gJM1S Ko`D*Qo"A4qCưU8n>d:ݝJ7WρW+F2(4o7J"~p8XK8LZdZ~%,gE.8s`kL`<<]'r:8-5
t:C+v"/xNwqGߖ$|"Vth)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44C0D388.3040205>
