Solved Resetting settings to default

Say I want to experiment with one of ZFS settings at the dataset level, and later decide to undo the change. Is there a way to reset it to the default value? I've found no way other than setting it specifically to what value is currently the default. But then zfs get variable_name shows it as local, not as default. If later the default changes as a result of an OS upgrade, all datasets will use the changed setting, except the dataset that had the value locally changed.
 
Code:
     zfs inherit [-rS] property filesystem|volume|snapshot...

         Clears the specified property, causing it to be inherited from an
         ancestor, restored to default if no ancestor has the property set, or
         with the -S option reverted to the received value if one exists.  See
         the "Properties" section for a listing of default values, and details
         on which properties can be inherited.

         -r      Recursively inherit the given property for all children.

         -S      Revert the property to the received value if one exists;
                 otherwise operate as if the -S option was not specified.
 
Back
Top