From owner-freebsd-stable@freebsd.org Fri Jun 3 08:40:58 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E04B7B6504A for ; Fri, 3 Jun 2016 08:40:58 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id CC45A11B9 for ; Fri, 3 Jun 2016 08:40:58 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: by mailman.ysv.freebsd.org (Postfix) id C7E60B65049; Fri, 3 Jun 2016 08:40:58 +0000 (UTC) Delivered-To: stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C7899B65048 for ; Fri, 3 Jun 2016 08:40:58 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from elf.hq.norma.perm.ru (unknown [IPv6:2a00:7540:1::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.norma.perm.ru", Issuer "Vivat-Trade UNIX Root CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 42AFF11B5 for ; Fri, 3 Jun 2016 08:40:57 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from bsdrookie.norma.com. (pc846408.norma.com [IPv6:fd00::73d] (may be forged)) by elf.hq.norma.perm.ru (8.15.2/8.15.2) with ESMTPS id u538esNo012897 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 3 Jun 2016 13:40:54 +0500 (YEKT) (envelope-from emz@norma.perm.ru) Subject: Re: HAST, zfs and local mirroring To: stable@freebsd.org References: <20160601132300.GA75625@zxy.spb.ru> <574FDC63.6090100@norma.perm.ru> <20160602145028.GC75625@zxy.spb.ru> From: "Eugene M. Zheganin" Message-ID: <57514296.7090906@norma.perm.ru> Date: Fri, 3 Jun 2016 13:40:54 +0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: <20160602145028.GC75625@zxy.spb.ru> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jun 2016 08:40:59 -0000 Hi. On 02.06.16 19:50, Slawa Olhovchenkov wrote: > I am suggesting next setup: > > node0: > own pool zroot0: mirror-0: local_disk0 > remote-iscsi_disk1/1 > local_disk1: exported by iscsi as remote-iscsi_disk0/1 to node1 > > node1: > own pool zroot1: mirror-0: local_disk0 > remote-iscsi_disk0/1 > local_disk1: exported by iscsi as remote-iscsi_disk1/1 to node0 > > > No HAST. > Disks synced by ZFS over iSCSI. But this way I will get two independent zfs pools (or I still didn't get it), one half of each will be stored on another machine. And I need something different - a continuously replicated disk resource, that would be available on both machines in case either will crash. Cluster filesystem would be fine, but as far as I know there's no such thing on FreeBSD, so I accept it will be unavailable on slave while mounted as read-write on the master. HAST looks like a thing thats fits my requirement, only that I wank it to be redundant inside each host too, and all the documentation shows examples without local redundancy. Thanks. Eugene.