Date: Sun, 25 Dec 2011 11:27:19 +0100 From: Marco van Tol <marco@tols.org> To: FreeBSD FS <freebsd-fs@freebsd.org> Subject: Restoring received properties on a received filesystem. Message-ID: <20111225102719.GA44906@tolstoy.tols.org>
next in thread | raw e-mail | index | archive | help
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!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111225102719.GA44906>