From owner-freebsd-fs@FreeBSD.ORG Wed Jul 3 01:27:00 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A469AB74 for ; Wed, 3 Jul 2013 01:27:00 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pb0-x22e.google.com (mail-pb0-x22e.google.com [IPv6:2607:f8b0:400e:c01::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 83CA71154 for ; Wed, 3 Jul 2013 01:27:00 +0000 (UTC) Received: by mail-pb0-f46.google.com with SMTP id rq2so6763220pbb.19 for ; Tue, 02 Jul 2013 18:27:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=zOVDq6ypzrixNqQ6V62PG4kKRwoBDvWY2rUik7Hgx4Y=; b=nMU4xJEc0u2DaUCa/lXLYoFQmd29C4nztazsl+p1pSSwhPQ6I8kK9rvp9RCg4bpp+A GrsOtud0t9o91aOagRQr3br9D8n7arlEbRJK7rqXz1XGtZAa3Q9lDyf031KWbh0oC583 iQzeJPk9F2ukImPnaoaWGlI+BM45/7nXfZrc+3/YCkVdph9i4C61WPfZBaD+a3eQwflX uijm/rH1Z527fOhSAPnl59BxuBQzh08d8DnqfGFeWT1PyVsgqj0suW8jVUUuUpShG0lo MRxRGwz+2JqBU/+l1e54RuN0M/36r4CuJVxB6ROwbpT4sHDDGbFqVfe4PhbNAA8Qrvud 0sdQ== MIME-Version: 1.0 X-Received: by 10.66.159.105 with SMTP id xb9mr278972pab.146.1372814819981; Tue, 02 Jul 2013 18:26:59 -0700 (PDT) Received: by 10.70.88.74 with HTTP; Tue, 2 Jul 2013 18:26:59 -0700 (PDT) In-Reply-To: <87li5o5tz2.wl%berend@pobox.com> References: <87li5o5tz2.wl%berend@pobox.com> Date: Tue, 2 Jul 2013 20:26:59 -0500 Message-ID: Subject: Re: EBS snapshot backups from a FreeBSD zfs file system: zpool freeze? From: Adam Vande More To: Berend de Boer Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-fs 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:27:00 -0000 On Tue, Jul 2, 2013 at 8:10 PM, 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. > What is wrong with a simple ZFS snapshot and running the backup against it? I assume that's how most of us are doing it. -- Adam Vande More