From owner-freebsd-stable@freebsd.org Fri Jun 3 10:36:28 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 A46AAB686A8 for ; Fri, 3 Jun 2016 10:36:28 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 92887103B for ; Fri, 3 Jun 2016 10:36:28 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: by mailman.ysv.freebsd.org (Postfix) id 91DC3B686A7; Fri, 3 Jun 2016 10:36:28 +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 91872B686A6 for ; Fri, 3 Jun 2016 10:36:28 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 551231039 for ; Fri, 3 Jun 2016 10:36:28 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1b8mSo-000Njj-HZ; Fri, 03 Jun 2016 13:36:26 +0300 Date: Fri, 3 Jun 2016 13:36:26 +0300 From: Slawa Olhovchenkov To: "Eugene M. Zheganin" Cc: stable@freebsd.org Subject: Re: HAST, zfs and local mirroring Message-ID: <20160603103626.GE75625@zxy.spb.ru> References: <20160601132300.GA75625@zxy.spb.ru> <574FDC63.6090100@norma.perm.ru> <20160602145028.GC75625@zxy.spb.ru> <57514843.6010003@norma.perm.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <57514843.6010003@norma.perm.ru> User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false 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 10:36:28 -0000 On Fri, Jun 03, 2016 at 02:05:07PM +0500, Eugene M. Zheganin wrote: > 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 > You message lead me to a though that I could use iSCSI to replicate the > zfs pool from node1 to both iSCSI-provided disk on a node2 in a 4-way > mirror, right ? Are there any obvious obstacles to this, that I don't > see, considering the bandwith will be enough ? No, just regular mirror. And yes, two independed pool. 10G link prefered. 1G link acts like old HDD, about 70MB/s transfer. Every transit switch degrade performance.