Expand description
Stratis D-Bus integration for pool-aware replication and snapshots. Stratis D-Bus integration for pool-aware replication.
Queries stratisd via the system D-Bus to resolve pool/filesystem metadata, monitor pool capacity, create/prune filesystem snapshots, and provide rich storage telemetry for the Governor and metrics subsystem.
stratisd D-Bus API: org.storage.stratis3 on the system bus.
Reference: https://stratis-storage.github.io/DBusAPIReference.pdf
Structs§
- Pool
Capacity - Pool capacity summary.
- Stratis
Pool Info - Rich Stratis pool metadata resolved from D-Bus.
- Stratis
Snapshot - A Stratis filesystem snapshot entry.
Enums§
- Stratis
Error - Stratis-related errors.
Functions§
- create_
stratis_ snapshot - Create a Stratis filesystem snapshot via D-Bus.
- enumerate_
stratis_ snapshots - Enumerate all Stratis filesystem snapshots in a pool.
- is_
stratisd_ available - Check if stratisd is available on the system D-Bus.
- prune_
stratis_ snapshots - Prune old foxing-created Stratis snapshots, keeping the N most recent.
Only prunes snapshots whose name starts with
prefix. Tagged snapshots (name contains user-defined tags) are never pruned. - query_
pool_ capacity - Query pool physical capacity.
- resolve_
stratis_ target - Resolve a mount path or devnode to its Stratis pool and filesystem via D-Bus.