Date: Mon, 5 Jul 2010 16:34:10 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: "hiroshi@soupacific.com" <hiroshi@soupacific.com> Cc: freebsd-fs@freebsd.org Subject: Re: HAST and CARP Message-ID: <20100705143410.GA1782@garage.freebsd.pl> In-Reply-To: <4C31C0E3.8080200@soupacific.com> References: <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
--liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 05, 2010 at 08:24:19PM +0900, hiroshi@soupacific.com wrote: > Hi ! >=20 > I checked without ifstate, without CARP ! >=20 > ServerA > #hastctl create zfshast > #hastd > #hastctl role primary zfshast >=20 > ServerB > #hastctl create zfshast > #hastd > #hastctl role secondary zfshast >=20 > check synch on ServerA > after nodirty bytes >=20 > #zpool create hasthome /dev/hast/zfshast >=20 > then > disconnect ethernet. Split-brain happens when two nodes think they are masters. This is exactly what happens when you disconnect ethernet. In other words you asked for split-brain and you got it. The rule is that at any given time there should at most one master. If you have two masters at some point you will cause split-brain. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --liOOAslEiF7prFVr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwx7WEACgkQForvXbEpPzREIACfail4pOzs0kqryrlG6KmL0Flh WFQAoNSo+iOfSOOXjVJxgDL7jm0mmq+Q =t1Gt -----END PGP SIGNATURE----- --liOOAslEiF7prFVr--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100705143410.GA1782>