I assume you want to undo the local setting, allowing the received value to
take effect.

"zfs inherit -S <prop>" should do it.  I'm not sure why that is not
documented in the manpage.  It would be great if someone could do that :-)

--matt

On Fri, Dec 5, 2014 at 11:57 AM, Paul B. Henson via illumos-zfs <
z...@lists.illumos.org> wrote:

> We are running into https://www.illumos.org/issues/4986 (receiving
> replication stream fails if any snapshot exceeds refquota), and as a
> workaround temporarily set the refquota on the slave system to a larger
> value to allow the snapshot to be received.
>
> Now, the question is, how to make it once again track the property received
> from the master? On other filesystems, the source of the quota is shown as
> "received":
>
> # zfs get refquota export/group/cs
> NAME             PROPERTY  VALUE     SOURCE
> export/group/cs  refquota  250M      received
>
> Once it is locally set, understandably it is shown as "local":
>
> # zfs get refquota export/group/enrollment
>
> NAME                     PROPERTY  VALUE     SOURCE
> export/group/enrollment  refquota  none      local
>
> So this file system no longer tracks the received property, as local
> overrides received. Normally to restore a property to default, you'd use
> inherit, but no go:
>
> # zfs inherit quota export/group/enrollment
> 'quota' property cannot be inherited
> use 'zfs set quota=none' to clear
>
> And the recommendation to set the quota to none still leaves it marked as
> "local", not "default".
>
> Any thoughts?
>
> Also, anybody looking at fixing bug 4986 :)?
>
> Thanks...
>
>
>
>
> -------------------------------------------
> illumos-zfs
> Archives: https://www.listbox.com/member/archive/182191/=now
> RSS Feed:
> https://www.listbox.com/member/archive/rss/182191/21635000-ebd1d460
> Modify Your Subscription:
> https://www.listbox.com/member/?member_id=21635000&id_secret=21635000-73dc201a
> Powered by Listbox: http://www.listbox.com
>
_______________________________________________
developer mailing list
developer@open-zfs.org
http://lists.open-zfs.org/mailman/listinfo/developer

Reply via email to