From owner-freebsd-questions@FreeBSD.ORG Tue Jun 29 18:33:23 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 11CAE1065689 for ; Tue, 29 Jun 2010 18:33:23 +0000 (UTC) (envelope-from cracauer@koef.zs64.net) Received: from koef.zs64.net (koef.zs64.net [IPv6:2001:470:1f0b:105e::1e6]) by mx1.freebsd.org (Postfix) with ESMTP id CAB068FC25 for ; Tue, 29 Jun 2010 18:33:22 +0000 (UTC) Received: from koef.zs64.net (koef.zs64.net [IPv6:2001:470:1f0b:105e::1e6]) by koef.zs64.net (8.14.4/8.14.4) with ESMTP id o5TIXLst022667 for ; Tue, 29 Jun 2010 20:33:21 +0200 (CEST) (envelope-from cracauer@koef.zs64.net) Received: (from cracauer@localhost) by koef.zs64.net (8.14.4/8.14.4/Submit) id o5TIXL1I022666 for freebsd-questions@freebsd.org; Tue, 29 Jun 2010 14:33:21 -0400 (EDT) (envelope-from cracauer) Date: Tue, 29 Jun 2010 14:33:21 -0400 From: Martin Cracauer To: freebsd-questions@freebsd.org Message-ID: <20100629183321.GA12571@cons.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: 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: Tue, 29 Jun 2010 18:33:23 -0000 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/