From owner-freebsd-questions@freebsd.org Wed Dec 14 19:07:24 2016 Return-Path: Delivered-To: freebsd-questions@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 41EA2C80819 for ; Wed, 14 Dec 2016 19:07:24 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [IPv6:2607:f3e0:80:80::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DB9F26C8 for ; Wed, 14 Dec 2016 19:07:23 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (lava.sentex.ca [IPv6:2607:f3e0:0:5::11]) by smarthost2.sentex.ca (8.15.2/8.15.2) with ESMTPS id uBEJ7LNb078481 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 14 Dec 2016 14:07:22 -0500 (EST) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:c5ab:271e:71df:7352] ([IPv6:2607:f3e0:0:4:c5ab:271e:71df:7352]) by lava.sentex.ca (8.15.2/8.14.9) with ESMTP id uBEJ7EG0026888; Wed, 14 Dec 2016 14:07:14 -0500 (EST) (envelope-from mike@sentex.net) Subject: Re: Installing FreeBSD on size limited ZFS partition To: Julien Cigar References: <1bc50da5-d92e-a06d-ddbb-d95b23ffdc24@sentex.net> <20161214153613.GY2353@mordor.lan> <20161214155642.GZ2353@mordor.lan> Cc: freebsd-questions From: Mike Tancsa Organization: Sentex Communications Message-ID: Date: Wed, 14 Dec 2016 14:07:16 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20161214155642.GZ2353@mordor.lan> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.78 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2016 19:07:24 -0000 On 12/14/2016 10:56 AM, Julien Cigar wrote: > > https://lists.freebsd.org/pipermail/freebsd-fs/2016-July/023498.html > > Whats the better way depends of your needs, if you can afford to lose > "some" data use ZFS replication with something like zrep, otherwise I > would you with ZFS + iSCSI (which is what I use in production here), but > be very careful with "automatic failover". > > If it can help this is what I use for my failover script: > https://gist.github.com/silenius/cb10171498071bdbf6040e30a0cab5c2 > (it relies extensively on CARP, so be sure to choose good NICs) Thanks, I was playing around with zrep, but out of the box its a little limited in that it gets confused if a new zfs volume gets created. If that happens, you have to start from scratch. Also need to hack it to work via netcat instead of ssh (boxes are 10G xover cable). I like the idea of zfs syncs, but was hoping to avoid rolling my own version of zrep. Thanks for the threads, they for sure list some of the caveats of HAST and why I am not a big fan of it either. I too am leary of automatic failovers in this case. ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/