From owner-freebsd-stable@freebsd.org Thu Jun 2 07:12:42 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 99066B63AAE for ; Thu, 2 Jun 2016 07:12:42 +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 876661E94 for ; Thu, 2 Jun 2016 07:12:42 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: by mailman.ysv.freebsd.org (Postfix) id 86C47B63AAC; Thu, 2 Jun 2016 07:12:42 +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 86663B63AA9 for ; Thu, 2 Jun 2016 07:12:42 +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 0802B1E93 for ; Thu, 2 Jun 2016 07:12:41 +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 u527CZcq056404 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 2 Jun 2016 12:12:38 +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> From: "Eugene M. Zheganin" Message-ID: <574FDC63.6090100@norma.perm.ru> Date: Thu, 2 Jun 2016 12:12:35 +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: <20160601132300.GA75625@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: Thu, 02 Jun 2016 07:12:42 -0000 Hi. On 01.06.16 18:23, Slawa Olhovchenkov wrote: > > Only FS support changed data bypass FS layer is Files-11 ODS-2 level, > may be hardware support required. > > Can you use ZFS mirror with one vdev local and other vdev by iSCSI? > Every node using separate ZFS pool in this case. If you mean that I should distribute the HAST one-disk device via iSCSI and then use it as a half of zfs mirrored pool on each node, then I should ask how the pool will decide which half is more recent - local or iSCSI, after I will import it and the kernel will found that it's vdevs differs a lot ? And why should I prefere this overcomplicated scheme over the geom_mirror, which seems rather simple when comparing. Seems like I can point HAST to /dev/mirror/whatever device, right ? Thanks. Eugene.