From owner-freebsd-stable@freebsd.org Wed Jun 1 13:23:08 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 D030FB60F93 for ; Wed, 1 Jun 2016 13:23:08 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id BF3FF1E48 for ; Wed, 1 Jun 2016 13:23:08 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: by mailman.ysv.freebsd.org (Postfix) id BE9F0B60F92; Wed, 1 Jun 2016 13:23:08 +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 BE4D2B60F91 for ; Wed, 1 Jun 2016 13:23:08 +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 85D951E47 for ; Wed, 1 Jun 2016 13:23:08 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1b866u-00064c-DD; Wed, 01 Jun 2016 16:23:00 +0300 Date: Wed, 1 Jun 2016 16:23:00 +0300 From: Slawa Olhovchenkov To: "Eugene M. Zheganin" Cc: stable@freebsd.org Subject: Re: HAST, zfs and local mirroring Message-ID: <20160601132300.GA75625@zxy.spb.ru> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: Wed, 01 Jun 2016 13:23:08 -0000 On Tue, May 31, 2016 at 11:18:32PM +0500, Eugene M. Zheganin wrote: > Hi. > > I wat to start using HAST, I have two nodes and a pair of disk on each > node. So I want to use HASt in an environment where each HAST resource > would be mirrored. What is the preferred approach if I want to use ZFS > on an end-device to avoid exsessive fscking, and, in the same time, I > want to have some redundancy on a block level ? I see two possibility: > HAST on a zvol of a mirrored pool, and a ZFS on a hast. But recently I > heard that nested zfs (like zfs on zvol) is clamed unsupported. > Futhermore, I have zfs on a geli on a zvol, and this solution proved > itself to be very affected to livelocking - when disk i/o on a such fs > is above some treshold, system is locking, and the only way out is to > reset it. Should I chose geom_mirror to provide a device for HAST and > the build ZFS on it ? 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.