Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Dec 2011 12:54:11 +0000
From:      Johannes Totz <johannes@jo-t.de>
To:        freebsd-fs@freebsd.org
Subject:   Re: Restoring received properties on a received filesystem.
Message-ID:  <jd76dj$foe$1@dough.gmane.org>
In-Reply-To: <20111225102719.GA44906@tolstoy.tols.org>
References:  <20111225102719.GA44906@tolstoy.tols.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 25/12/2011 10:27, Marco van Tol wrote:
> 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.

Check out zfs receive -u, it doesn't mount the receiving filesystem. 
zpool import -N doesn't mount your importing backup-pool.


> 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
>





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?jd76dj$foe$1>