From owner-freebsd-fs@FreeBSD.ORG Wed Oct 29 19:18:52 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 14CF8D84 for ; Wed, 29 Oct 2014 19:18:52 +0000 (UTC) Received: from mail.jrv.org (rrcs-24-73-246-106.sw.biz.rr.com [24.73.246.106]) by mx1.freebsd.org (Postfix) with ESMTP id DBA30900 for ; Wed, 29 Oct 2014 19:18:51 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.jrv.org (Postfix) with ESMTP id 91E811BDBE8; Wed, 29 Oct 2014 14:13:05 -0500 (CDT) Received: from mail.jrv.org ([127.0.0.1]) by localhost (zimbra64.housenet.jrv [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Dikx1qKcJVFY; Wed, 29 Oct 2014 14:12:55 -0500 (CDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.jrv.org (Postfix) with ESMTP id A90851BDBE1; Wed, 29 Oct 2014 14:12:55 -0500 (CDT) X-Virus-Scanned: amavisd-new at zimbra64.housenet.jrv Received: from mail.jrv.org ([127.0.0.1]) by localhost (zimbra64.housenet.jrv [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id GwydYXvSCHxA; Wed, 29 Oct 2014 14:12:55 -0500 (CDT) Received: from [192.168.138.128] (BMX.housenet.jrv [192.168.3.140]) by mail.jrv.org (Postfix) with ESMTPSA id 80F371BDBDE; Wed, 29 Oct 2014 14:12:55 -0500 (CDT) Message-ID: <54513C4D.4010203@jrv.org> Date: Wed, 29 Oct 2014 13:13:17 -0600 From: "James R. Van Artsdalen" User-Agent: Mozilla/5.0 (Windows NT 5.0; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Johannes Totz Subject: Re: Snapshots and what not to snapshot References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2014 19:18:52 -0000 On 10/29/2014 12:08 PM, Johannes Totz wrote: > On 11/10/2014 22:38, Dmitry Morozovsky wrote: >> you have some tree of ZFS file systems, like >> >> pool/path/r >> pool/path/jails >> pool/path/jails/j1 >> pool/path/jails/j1/obj >> snapshots and ZFS replication is done against the ZFS namespace, not the unix namespace. Organize your filesystems in the ZFS tree based on how you want to replicate/snapshot them, then use the ZFS mountpoint property to put them in the unix namespace where you want them to appear. For example the basic approach I use for client systems is a ZFS namespace like POOL/UNIX for FreeBSD, POOL/BUSINESS for shared company data, POOL/BACKUP for client system backup blobs, POOL/REPLICANT for the replication workspace to use in keeping hot-spare servers updated, etc. Note that the root of the ZFS tree is empty, and that the root of the unix tree is elsewhere. I often keep more than one bootable unix system root in a pool (for maintenance). PS. Don't forget the zpool bootfs property.