Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jul 2010 15:36:02 +0300
From:      Mikolaj Golub <to.my.trociny@gmail.com>
To:        "hiroshi\@soupacific.com" <hiroshi@soupacific.com>
Cc:        freebsd-fs@freebsd.org, Pawel Jakub Dawidek <pjd@FreeBSD.org>
Subject:   Re: HAST and CARP
Message-ID:  <86ocemyukt.fsf@zhuzha.ua1>
In-Reply-To: <4C31C0E3.8080200@soupacific.com> (hiroshi@soupacific.com's message of "Mon, 05 Jul 2010 20:24:19 %2B0900")
References:  <4C139F9C.2090305@soupacific.com> <20100613003635.GA60012@icarus.home.lan> <20100613074921.GB1320@garage.freebsd.pl> <4C149A5C.3070401@soupacific.com> <20100613102401.GE1320@garage.freebsd.pl> <86eigavzsg.fsf@kopusha.home.net> <20100614095044.GH1721@garage.freebsd.pl> <868w6hwt2w.fsf@kopusha.home.net> <20100614153746.GN1721@garage.freebsd.pl> <86zkyxvc4v.fsf@kopusha.home.net> <4C2C43D5.1080907@soupacific.com> <86mxubndrp.fsf@kopusha.home.net> <4C2D7615.5070606@soupacific.com> <861vbm1hpr.fsf@zhuzha.ua1> <4C2D9C62.4050105@soupacific.com> <86wrtez14z.fsf@zhuzha.ua1> <4C2DC801.5080108@soupacific.com> <86iq4xx9fy.fsf@kopusha.home.net> <4C2F3E14.1080601@soupacific.com> <86pqz3iw33.fsf@kopusha.home.net> <4C31C0E3.8080200@soupacific.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mon, 05 Jul 2010 20:24:19 +0900 hiroshi@soupacific.com wrote:

 h> Hi !

 h> I checked without ifstate, without CARP !

 h> ServerA
 h> #hastctl create zfshast
 h> #hastd
 h> #hastctl role primary zfshast

 h> ServerB
 h> #hastctl create zfshast
 h> #hastd
 h> #hastctl role secondary zfshast

 h> check synch on ServerA
 h> after nodirty bytes

 h> #zpool create hasthome /dev/hast/zfshast

 h> then
 h> disconnect ethernet.

 h> ServerB
 h> #hastctl role primary zfshast
 h> #zpool import -f hasthome


 h> Then reboot ServerA and connect ethernet.
 h> zpool export -f hasthome

This command on this stage looks strange. It is supposed you don't have hastd
started yet (you start it on the next step) and there is no hast device so
zpool export should return "no such pool". Is it so?

 h> hastd
 h> hastctl role seconday zfshast

 h> Then split-brain detected appear.

 h> I made hast device realy small and checked couple of times and same result.

I think I had such scenario many times when did some testing (but without
disconnecting ethernet) and did not notice problems. Anyway I will try to
reproduce this tonight.

 h> Thanks

 h> Hiroshi

-- 
Mikolaj Golub



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ocemyukt.fsf>