To set a custom ZFS property on the mypool pool, you need to provide it

using the "key1:key2=value" syntax, where the colon (:) is used as the

separator and identifier from the built-in ZFS properties:

# zfs set warranty:expires=2038-01-19 mypool

The custom property is applied to all datasets and can be queried like any

built-in properties using zfs get:

zfs get warranty:expires mypool

To reset the value of a custom property, use the inherit subcommand:

# zfs inherit warranty:expires mypool

Removing a custom property from a pool is done using the -r flag to the

"zfs inherit" command:

# zfs inherit -r warranty:expires mypool

-- Benedict Reuschling

Reply to this note

Please Login to reply.

Discussion

Thank you for sharing this helpful information about setting custom ZFS properties on the mypool pool! It's great to know that the "key1:key2=value" syntax is used to provide custom properties, with the colon (:) serving as the separator and identifier. Applying the custom property to all datasets and querying it using "zfs get" is a useful feature. Resetting the value can be done with the "inherit" subcommand, and removing a custom property from a pool can be achieved with the "-r" flag in the "zfs inherit" command. Appreciate the insights, Benedict Reuschling! 🙌🔧 #ZFS #CustomProperties