From owner-freebsd-fs@FreeBSD.ORG Wed Jul 3 01:11:01 2013 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E16BD73E for ; Wed, 3 Jul 2013 01:11:00 +0000 (UTC) (envelope-from berend@pobox.com) Received: from smtp.pobox.com (b-pb-sasl-quonix.pobox.com [208.72.237.35]) by mx1.freebsd.org (Postfix) with ESMTP id A082E1097 for ; Wed, 3 Jul 2013 01:10:59 +0000 (UTC) Received: from smtp.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id D5C761F2A7 for ; Wed, 3 Jul 2013 01:10:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=date :message-id:from:to:subject:mime-version:content-type :content-transfer-encoding; s=sasl; bh=pNGIL73M6guCWU6hPLeqfzt75 OI=; b=guww5N/vLkqCby9+a9XfpXaM5IvjFhvokS01rF1Pw4qMXEhZC4wIOaWez W71L6Ro2llwFURreCGdTVB2AcEo9DpV8AszRnBLMrnBp++5y41vJ12rY9ovZpbTF CNAR7LRIT6l9INws5pe8i+i51Qy07B58nxJFYrYjSqxxwq/xRo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=date:message-id :from:to:subject:mime-version:content-type :content-transfer-encoding; q=dns; s=sasl; b=LQUZqYcim+dQ0Fe30wB vF8zaJ1YOh/7EpbO3HmG3UPz2anef5aafQr176wK5BNeXFlX8/8qIbRvZIbzGDIk TkqAO8zU63Qf7ZwTbB1g9Gj+JUN0R+ByrwFJdIaaRDa6NSQEmOfr3Cm4zAhZIG/w LwhdDXjsTBnKSBQ6l5WexuWI= Received: from b-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id CB1741F2A6 for ; Wed, 3 Jul 2013 01:10:28 +0000 (UTC) Received: from bmach.nederware.nl (unknown [27.252.247.84]) by b-sasl-quonix.pobox.com (Postfix) with ESMTPA id 438F21F2A2 for ; Wed, 3 Jul 2013 01:10:28 +0000 (UTC) Received: from quadrio.nederware.nl (quadrio.nederware.nl [192.168.33.13]) by bmach.nederware.nl (Postfix) with ESMTP id 52F625C7C for ; Wed, 3 Jul 2013 13:10:21 +1200 (NZST) Received: from quadrio.nederware.nl (quadrio.nederware.nl [127.0.0.1]) by quadrio.nederware.nl (Postfix) with ESMTP id EAAEF4A11BF3 for ; Wed, 3 Jul 2013 13:10:25 +1200 (NZST) Date: Wed, 03 Jul 2013 13:10:25 +1200 Message-ID: <87li5o5tz2.wl%berend@pobox.com> From: Berend de Boer To: freebsd-fs@FreeBSD.org Subject: EBS snapshot backups from a FreeBSD zfs file system: zpool freeze? User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 EasyPG/1.0.0 Emacs/24.3 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) Organization: Xplain Technology Ltd MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Wed_Jul__3_13:10:25_2013-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit X-Pobox-Relay-ID: 59484966-E37D-11E2-822C-E84251E3A03C-48001098!b-pb-sasl-quonix.pobox.com X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jul 2013 01:11:01 -0000 --pgp-sign-Multipart_Wed_Jul__3_13:10:25_2013-1 Content-Type: text/plain; charset=US-ASCII Hi All, I'm experimenting with building a FreeBSD NFS server on Amazon AWS EC2. I've created a zpool with 5 disks in a raidz2 configuration. How can I make a consistent backup of this using EBS? On Linux' file systems I can freeze a file system, start the backup of all disks, and unfreeze. This freeze usually only takes 100ms or so. ZFS on FreeBSD does not appear to have such an option. I.e. what I'm looking for is basically a hardware based snapshot. ZFS should simply be suspended at a recoverable point for a few hundred ms. A similar question from 2010 is here: http://thr3ads.net/zfs-discuss/2010/11/580781-how-to-quiesce-and-unquiesc-zfs-and-zpool-for-array-hardware-snapshots Absent a "zfs freeze" it seems using FreeBSD/zfs on AWS with EBS is going to be impossible. Unfortunately that means back to Linux sigh. -- All the best, Berend de Boer ------------------------------------------------------ Awesome Drupal hosting: https://www.xplainhosting.com/ --pgp-sign-Multipart_Wed_Jul__3_13:10:25_2013-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit Content-Description: OpenPGP Digital Signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABCAAGBQJR03oBAAoJEKOfeD48G3g5rswQALCq24ztGoQeajSHsqvjD0X+ pEzGlIWQEzL90+JDzcB/0+S2Ba5DAhe1li4ff4EzuRp9hdH4goY7uR3oRUG5pgqO fETd4bcKKgqFVSnj6tshxscz42ysGT8M+NygrxJW6MjWbSuTTegcbE1o2pW+b9rf 8rPTD/BTkE5GRXk3WcdEk7fDXEZDXfb9jpW8DL83N2gaYj0itzpsyIKsnoD+AM4T 2Nfy7YYvriOvzKUijyUjxF7Yxv9gVjDhbiPGDxMn+kb7ISO+E0fvZBoZ6I8tS1WA 59oLC6qsUkk7BDV5UeFZxWcDZB96HF6hpq+4bcG3loqrk9pmWY6z+Zm71T02/PVW o564xSmAaiJpAP6HwGy+VjyBHjWtgH/G/2DUzMvjz8VMffH76lcSj0DB16KJ+yg7 /A2X/0xqKaxJVLxNEfwBfBNWJZyrAikOAAQkhnu87vyK2GVsZkqEGWOwmqqRvQv7 d0+LUAq6mv40K3Q/mqe8cgLcniMaLD5bAskAyUVyAa/Fj/0bYBxyRXLozv+FA72X VN/TM1YSL4WNC6QRUI8UbqYhH5AcelKo5xEV70xEdU9U7JiVd54ZFRY7rUaZjWf+ CmHDDuYTie+fK+1MWLdaT34xafDrzX/dbh2S2Hual6ly5lBovt3KrY59Tyu2oBhJ MLri85lCr6Gy+sxX+r2l =7vVs -----END PGP SIGNATURE----- --pgp-sign-Multipart_Wed_Jul__3_13:10:25_2013-1--