Skip to content

Accessing zfs information programatically is not working #2908

Closed
@fractalram

Description

@fractalram

I would like to access ZFS related information (pool, dataset configuration information, etc.) programatically from a python (or C) script in order to do some other monitoring/configuration. I tried to install libzfs-python (https://github.com/Xaroth/libzfs-python) on Centos but I cannot seem to find libzfs-dev. I tried installing zfs-devel but I setup of libzfs-python still fails as it cannot resolve a lot of symbols.

What is the best way in which to access pool, dataset and other configuration information programatically without parsing the text output of command line commands?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BuildingIndicates an issue related to building binaries

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions