Title
#general
Andreas Piening

Andreas Piening

05/31/2022, 8:23 AM
Is there any way to query for
ZFS
related data? I could think of many really valuable queries: • Get latest / biggest snapshots per volume • Check for volumes without a snapshot within the last 24 hours • Check if the
autotrim
option is enabled on all SSD based pools • Get block utilization for the volumes of a pool
s

seph

05/31/2022, 2:05 PM
Kolide Launcher ships a table that’s a wrapper over the zfs tools. May or may not handle what you want. I don’t know if zfs has a stable c or c++ api though.