From owner-freebsd-fs@FreeBSD.ORG Mon Jul 5 12:36:17 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87B0E106564A; Mon, 5 Jul 2010 12:36:17 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9AF8F8FC0C; Mon, 5 Jul 2010 12:36:16 +0000 (UTC) Received: by wyb34 with SMTP id 34so3600772wyb.13 for ; Mon, 05 Jul 2010 05:36:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject :organization:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=T8D4v1ga1TelHHbTvlGIwD0e0tW/zpCxTQvyztGRKUE=; b=H8LgX4+y0p2VkwNYyQyz46KqVNTvjiH7ZqMYTxZu9ackEgBRkv8CrnBxzYxzhQLrma VkGjLlgUtoMFBaj+SyZIgFBU86xb8BunR95yjEUKPTqh4vuljf5LIQ8/R3qiuHkjBl++ GlcRzhwRnJZcSPQMh/xDmQ0cOtn9kqo9/MDJk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=wOAmFAqJfeljOoM5PbRKBXDaTnZ7Qas3BmWm55nIZYiHyaxwetFDo2y1UWvBtjzZ+A 3n+NH6dCfS+j/x/D1lRgRILU3KM1Z8QDTtDjCmZkMaHPKK0gucsSaFENu6UNfex/TTZm iwLCxiWwN7F2hFSFDaFI1RrXSqft11wzPYSB4= Received: by 10.227.129.136 with SMTP id o8mr3384099wbs.21.1278333368995; Mon, 05 Jul 2010 05:36:08 -0700 (PDT) Received: from localhost (ua1.etadirect.net [91.198.140.16]) by mx.google.com with ESMTPS id i25sm31922492wbi.10.2010.07.05.05.36.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 05 Jul 2010 05:36:06 -0700 (PDT) From: Mikolaj Golub To: "hiroshi\@soupacific.com" Organization: TOA Ukraine 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> Date: Mon, 05 Jul 2010 15:36:02 +0300 In-Reply-To: <4C31C0E3.8080200@soupacific.com> (hiroshi@soupacific.com's message of "Mon, 05 Jul 2010 20:24:19 +0900") Message-ID: <86ocemyukt.fsf@zhuzha.ua1> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-fs@freebsd.org, Pawel Jakub Dawidek Subject: Re: HAST and CARP X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 12:36:17 -0000 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