From owner-freebsd-fs@FreeBSD.ORG Sun Dec 25 10:27:23 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D02BE10657C8 for ; Sun, 25 Dec 2011 10:27:23 +0000 (UTC) (envelope-from marco@tolstoy.tols.org) Received: from tolstoy.tols.org (tolstoy.tols.org [IPv6:2a02:898:0:20::57:1]) by mx1.freebsd.org (Postfix) with ESMTP id 558178FC14 for ; Sun, 25 Dec 2011 10:27:23 +0000 (UTC) Received: from tolstoy.tols.org (localhost [127.0.0.1]) by tolstoy.tols.org (8.14.4/8.14.4) with ESMTP id pBPARJff045147 for ; Sun, 25 Dec 2011 10:27:19 GMT (envelope-from marco@tolstoy.tols.org) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.97.3 at tolstoy.tols.org Received: (from marco@localhost) by tolstoy.tols.org (8.14.4/8.14.4/Submit) id pBPARJPL045146 for freebsd-fs@freebsd.org; Sun, 25 Dec 2011 11:27:19 +0100 (CET) (envelope-from marco) Date: Sun, 25 Dec 2011 11:27:19 +0100 From: Marco van Tol To: FreeBSD FS Message-ID: <20111225102719.GA44906@tolstoy.tols.org> Mail-Followup-To: FreeBSD FS Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tolstoy.tols.org Subject: Restoring received properties on a received filesystem. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Dec 2011 10:27:23 -0000 Hi there, I was experimenting was zfs send and receive, and noticed when including all properties in the transfer the mountpoint happily comes along as well. Ofcourse. This could give issues when receiving the filesysyem not into its own zpool, because mountpoint settings can collide and give some surprises on reboots. But then I found out that if you change a setting on the receiving side, it will not get overwritten by future receives, which is good. :-) Then I started wondering how to figure out received properties on the receiving side after overriding them. This email from 2009 seems relevant. http://mail.opensolaris.org/pipermail/opensolaris-arc/2009-September/018315.html In that mail there is mention about "zfs get -s received", which is accepted on the commandline, but doesn't display the received property separatedly from what is currently in effect. Also there is mention of "zfs inherit -S", which I have tested to work, and which is great. It would be good to include it in the freebsd zfs manual page, as it is a very usefull zfs inherit flag. So, long story short: - Is there a way to see received properties on a filesystem after they have been locally overrided on FreeBSD? - Can the -S flag to inherit be included in the manual page? Thanks, and merry christmas! Marco System: FreeBSD 8.2-STABLE #13: Sat Dec 24 01:54:44 CET 2011 ZFS Pool Version: 28 ZFS filesystem version: 4 on the received FS, 5 for the rest -- Als de redding het hoogst is, is de nood nabij!