Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jul 2010 17:46:45 +0300
From:      Mikolaj Golub <to.my.trociny@gmail.com>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: HAST and CARP
Message-ID:  <86fwzyyoiy.fsf@zhuzha.ua1>
In-Reply-To: <20100705143410.GA1782@garage.freebsd.pl> (Pawel Jakub Dawidek's message of "Mon, 5 Jul 2010 16:34:10 %2B0200")
References:  <4C2F3E14.1080601@soupacific.com> <86pqz3iw33.fsf@kopusha.home.net> <4C31C0E3.8080200@soupacific.com> <20100705143410.GA1782@garage.freebsd.pl>

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

On Mon, 5 Jul 2010 16:34:10 +0200 Pawel Jakub Dawidek wrote:

 PJD> On Mon, Jul 05, 2010 at 08:24:19PM +0900, hiroshi@soupacific.com wrote:
 >> Hi !
 >> 
 >> I checked without ifstate, without CARP !
 >> 
 >> ServerA
 >> #hastctl create zfshast
 >> #hastd
 >> #hastctl role primary zfshast
 >> 
 >> ServerB
 >> #hastctl create zfshast
 >> #hastd
 >> #hastctl role secondary zfshast
 >> 
 >> check synch on ServerA
 >> after nodirty bytes
 >> 
 >> #zpool create hasthome /dev/hast/zfshast
 >> 
 >> then
 >> disconnect ethernet.

 PJD> Split-brain happens when two nodes think they are masters. This is
 PJD> exactly what happens when you disconnect ethernet. In other words you
 PJD> asked for split-brain and you got it.

Ah! When reading hiroshi@'s description I missed that ServerB was set as
primary before ServerA was rebooted (thus it was still primary). So there is
no need in reproducing this :-).

-- 
Mikolaj Golub



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