From owner-freebsd-questions@freebsd.org Wed Dec 14 16:14:19 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 68C65C66D5D for ; Wed, 14 Dec 2016 16:14:19 +0000 (UTC) (envelope-from julien@perdition.city) Received: from relay-b03.edpnet.be (relay-b03.edpnet.be [212.71.1.220]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "edpnet.email", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F34BE16BF for ; Wed, 14 Dec 2016 16:14:18 +0000 (UTC) (envelope-from julien@perdition.city) X-ASG-Debug-ID: 1481731002-0a881841951f20b70001-jLrpzn Received: from mordor.lan ([213.219.148.14]) by relay-b03.edpnet.be with ESMTP id G2xt6Qm4vMg4UONW (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 14 Dec 2016 16:56:43 +0100 (CET) X-Barracuda-Envelope-From: julien@perdition.city X-Barracuda-Effective-Source-IP: UNKNOWN[213.219.148.14] X-Barracuda-Apparent-Source-IP: 213.219.148.14 Date: Wed, 14 Dec 2016 16:56:42 +0100 From: Julien Cigar To: Mike Tancsa Cc: freebsd-questions Subject: Re: Installing FreeBSD on size limited ZFS partition Message-ID: <20161214155642.GZ2353@mordor.lan> X-ASG-Orig-Subj: Re: Installing FreeBSD on size limited ZFS partition References: <1bc50da5-d92e-a06d-ddbb-d95b23ffdc24@sentex.net> <20161214153613.GY2353@mordor.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kUmJ0kIGcKOYePjT" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.1 (2016-10-04) X-Barracuda-Connect: UNKNOWN[213.219.148.14] X-Barracuda-Start-Time: 1481731002 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://212.71.1.220:443/cgi-mod/mark.cgi X-Barracuda-Scan-Msg-Size: 1577 X-Virus-Scanned: by bsmtpd at edpnet.be X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.5000 1.0000 0.0000 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=6.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.35160 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 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 16:14:19 -0000 --kUmJ0kIGcKOYePjT Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 14, 2016 at 10:41:41AM -0500, Mike Tancsa wrote: > On 12/14/2016 10:36 AM, Julien Cigar wrote: > >=20 > > I have something like this here and did more or less the following: > > https://blog.grem.de/sysadmin/Shrinking-ZFS-Pool-2014-05-29-21-00.html >=20 > Thanks, I was hoping to do it right from the install, but I have done it > this way too. >=20 > >=20 > > Also, you should not use HAST with ZFS >=20 > How come ? It seems to work well enough on the last box I setup this > way ? Whats the better way ? 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". =20 If it can help this is what I use for my failover script:=20 https://gist.github.com/silenius/cb10171498071bdbf6040e30a0cab5c2 (it relies extensively on CARP, so be sure to choose good NICs) >=20 >=20 >=20 >=20 > ---Mike >=20 >=20 >=20 > --=20 > ------------------- > 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/ --=20 Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --kUmJ0kIGcKOYePjT Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE7vn2l0to0nV7EWolsrs3EKIEI8AFAlhRa7YACgkQsrs3EKIE I8Djbg//b87B/BPKRloj5xIBYw2UhUCrcCMZpkHRt5/+mk2rAGTTzH7bqtQZHavX 5b34M5ZbUDwhiNXjL7px6etjTfsvP8sIfc+dDF7I/2ZGFSTaGZ/4pQSEyKql26yV l4HOlHjeCK8+rEU3Hhfxs12bPhd0UX/XmvO19uTzryybmdIND++geXAJbZnooXHo ZtP2smMokiaKMJLVXQtNWkx/cOYl4JJaT9bg9c/Lyw3vb/a7v91btalMl8PHwT7t FkaaqUoG3upVrOk6V1BnEjksU1rvfM9KKIqDRBEma8DTT9dqYaLgv9F2i86jpMmk 8K0afiCFPnXBCgU1XFX5t6a5nHTgcV/rOM4612Ry+4uQbKC+TfQZOCY2nIviwNm9 ct6DcObTzuCSEtyEEN4Gc3C7kZ3MmSl90pa8i6JNW87gY0AftEKIHZM+hwQ2AERC lNyWCVz/RcCuDgI7bvT4FgN3z2lFNVDdgkOEgaAIOBkaQQ0Z4R5iSoMFX2DntTL/ WJncBy8jTrY5X/0V1p9FTO0fej/LfMm6MKSNz8kbj7meAtwd9jQU80mZP6UB5iAZ XfZbs2asSz/rhVgGdTg5T3l9LWXCruUs/DUsJVZAhgGEaYbnjdlB0ZEv6QqkQRQO 4uGTzcHdC7oc4nuQpqwyD14ssPB85sZsFMsBMWuYRtagl7ciVhI= =ISc+ -----END PGP SIGNATURE----- --kUmJ0kIGcKOYePjT--