From owner-freebsd-questions@FreeBSD.ORG Wed Jun 30 09:07:58 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6458A1065672 for ; Wed, 30 Jun 2010 09:07:58 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id DAD3D8FC1C for ; Wed, 30 Jun 2010 09:07:57 +0000 (UTC) Received: by fxm13 with SMTP id 13so258562fxm.13 for ; Wed, 30 Jun 2010 02:07:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=MfbQ9u+j+cFNgkHOnEpsj2/uYhCB0LjKrtqXj69dRzM=; b=ckR452F/ITj2FqFCKXrlPU4Ai+efOeEbnwf9TBQTT+RgCMWTrMoXwlLod4i98sUUHh IYq3xHfYeuArMJ0f2GmYKwGienITEl0bBBMK8mX4mgIMm2Vw+eWMotsgX5HY7TZNWp8G 4JmBwBiF9xJ4JQLqnSNcdvXnpkEdkYuwuaEvs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=RfR+Frvp0UnKHz4BWetrDKAOgDQwLcDLO1BbJXboYOjlXtvSQVIwkz3NHeWMxVWCLo 5RcZmZ8KK7DGQQqIcyimy1fifQYnJ6aqoiiF7IZ7CEvQCHkcJCBjagmSiLaYflak7BER Z80PK9qEerHlBMHtZENCX7C8xZiI4aGUha7vQ= MIME-Version: 1.0 Received: by 10.239.188.131 with SMTP id p3mr517085hbh.131.1277888868926; Wed, 30 Jun 2010 02:07:48 -0700 (PDT) Received: by 10.239.161.199 with HTTP; Wed, 30 Jun 2010 02:07:48 -0700 (PDT) In-Reply-To: <20100629183321.GA12571@cons.org> References: <20100629183321.GA12571@cons.org> Date: Wed, 30 Jun 2010 10:07:48 +0100 Message-ID: From: krad To: Martin Cracauer Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: ZFS snapshot question - can I separate out some area later? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2010 09:07:58 -0000 On 29 June 2010 19:33, Martin Cracauer wrote: > I created a raidz ZFS that is mounted on /mnt/backup > > It has subdirectories (not ZFS filesystems or volumes) like: > /mnt/backup/wavehh > /mnt/backup/joker > [etc] > > I started taking snapshots long ago, and the snapshots are of > backup@, that means top level. > NAME USED AVAIL REFER MOUNTPOINT > backup@firstwithunk 6.85G - 455G - > backup@20090922 3.75G - 452G - > backup@20091022 999M - 480G - > backup@200910223 2.63G - 482G - > backup@20100209 9.10G - 522G - > backup@20100210 2.86G - 543G - > backup@20100603 26.6K - 513G - > > Now, I want to store data there that is *not* part of future snapshots > taken in that set. Instead the new directory should have it's own set > of snapshots, at different times. > > Is that something I can still do? Given that I currently snapshotted > at top level? > > If I just `zfs create`d > /mnt/backup/recordings > and start storing data there, will that be outside the other areas's > snapshots? I tried doing this but I can't snapshot in there: > ~(wings)10# zfs snapshot backup/recordings@test1 > cannot create snapshot 'backup/recordings@test1': dataset is busy > > %% > > To clarify more, the structure now looks like this > 1) /mnt/backup/wavehh # just subdir > 2) /mnt/backup/joker # just subdir > 3) /mnt/backup/newstuff # `zfs create`d filesystem or volume > > So I want 1 and 2 in the future snapshots of "backup", and newstuff > should have it's own set of snapshots. > > Am I out of luck after having started to snapshot at top level? > > Martin > -- > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > Martin Cracauer http://www.cons.org/cracauer/ > FreeBSD - where you want to go, today. http://www.freebsd.org/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > something else must be going on as what you are doing is valid $ mkfile 1G test $ zpool create test $PWD/test $ zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT system 145G 85.1G 59.9G 58% ONLINE - test 1016M 72K 1016M 0% ONLINE - zdump 372G 189G 183G 50% ONLINE - $ zfs snapshot test@a $ mkdir /test/a /test/b /test/c $ zfs snapshot test@b $ zfs create test/d $ touch /test/a/a /test/b/a /test/c/a /test/d/a $ zfs snapshot test/d@a $ zfs list -t snapshot | grep test test@a 16K - 18K - test@b 20K - 22K - test/d@a 0 - 18K -