Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Jul 2013 14:21:40 +0800
From:      David Xu <davidxu@freebsd.org>
To:        Berend de Boer <berend@pobox.com>
Cc:        freebsd-fs@FreeBSD.org
Subject:   Re: EBS snapshot backups from a FreeBSD zfs file system: zpool freeze?
Message-ID:  <51D3C2F4.8010907@freebsd.org>
In-Reply-To: <87li5o5tz2.wl%berend@pobox.com>
References:  <87li5o5tz2.wl%berend@pobox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2013/07/03 09:10, Berend de Boer wrote:
> 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/
>

What you need is a tool to create snapshot on EBS server, and let EBS
server to transfer the snapshot image to anonther EBS server, it is
nothing to do with FreeBSD. EBS server which is based on Linux can
create snapshot at block level, AFAIK its device mapper is capabilities
of creating a snapshot for a disk volume, FreeBSD's geom lacks of such a 
class. But it is nothing to do with your needs, it is only needed on
EBS server.

Regards,
David Xu





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51D3C2F4.8010907>