From owner-freebsd-fs@FreeBSD.ORG Tue Mar 1 13:36:05 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E4261065676 for ; Tue, 1 Mar 2011 13:36:05 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 351288FC14 for ; Tue, 1 Mar 2011 13:36:04 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id AB36E45C9C; Tue, 1 Mar 2011 14:36:02 +0100 (CET) Received: from localhost (89-73-195-149.dynamic.chello.pl [89.73.195.149]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id A303E45C8A; Tue, 1 Mar 2011 14:35:56 +0100 (CET) Date: Tue, 1 Mar 2011 14:35:33 +0100 From: Pawel Jakub Dawidek To: Bill Desjardins Message-ID: <20110301133533.GD2288@garage.freebsd.pl> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sXc4Kmr5FA7axrvy" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT amd64 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.6 required=4.5 tests=BAYES_00,RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-fs@freebsd.org Subject: Re: HAST, zvols, istgt and carp working... X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 13:36:05 -0000 --sXc4Kmr5FA7axrvy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 28, 2011 at 10:35:24PM -0500, Bill Desjardins wrote: [...] > - zfs sparse volumes seem not to be working correctly via hast (???) You have two options: 1. Connect both nodes _before_ doing any writes to HAST provider. This way HAST on first connect won't synchronize any data. In other case it will perform full synchronization which in turn will allocate entire ZVOL. 2. Turn on compression (lzjb) on ZVOLs. This should be very fast and when compression is on all-zeros blocks are turned into holes, so after synchronizing whole thing, you will see space in ZVOL allocated only for real data. > - possible long rebuild time on large zvols? HAST rebuild time depends on the traffic, not components size. > my main question is if using hast to replicate a zvol is a supported > configuration and what are the possible drawbacks? [...] Well, you definiately can do it, but have you considered putting entire pool on HAST device? This way you can have multiple ZVOLs, snapshots and rollbacks. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com --sXc4Kmr5FA7axrvy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk1s9iUACgkQForvXbEpPzTz/wCg3cX8uPxIUnLt+tBHXvlSs2NB 5NoAoMsn12v4AMw3SZ+YWJjLDhJH8Z9p =5H/+ -----END PGP SIGNATURE----- --sXc4Kmr5FA7axrvy--