Skip to content

How to remove leftover junk from testing, experimenting .. that ends up in "zfs get all somefs" #142

Answered by Scrin
hput asked this question in Q&A
Discussion options

You must be logged in to vote

From the ZFS docs:

You can use the zfs inherit command to clear a property value, thus causing the value to be inherited from the parent dataset.

so in your case:

zfs inherit autobackup:snap1 p1

will clear the "local" source of the property (last column in your output), causing it to inherit the value instead, and if there is nowhere to inherit from (a parent dataset or a default), it will be simply cleared

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@hput
Comment options

@psy0rz
Comment options

@Scrin
Comment options

@hput
Comment options

Answer selected by psy0rz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants