Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Jul 2013 13:10:25 +1200
From:      Berend de Boer <berend@pobox.com>
To:        freebsd-fs@FreeBSD.org
Subject:   EBS snapshot backups from a FreeBSD zfs file system: zpool freeze?
Message-ID:  <87li5o5tz2.wl%berend@pobox.com>

next in thread | raw e-mail | index | archive | help
--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87li5o5tz2.wl%berend>