Disk Health Monitoring
Starting with Longhorn v1.11.0, disk health monitoring metrics are available for both the V1 and V2 data engines. These metrics provide insights into disk health status.
Note:
- Health data is collected periodically (every 10 minutes) by Longhorn’s disk monitor.
- Some virtualized or cloud environments (e.g., AWS EBS) may not expose full SMART data, resulting in zero values for certain attributes.
- Available health attributes may vary depending on the underlying disk type and hardware.
- The full set of collected health data is available in the
nodes.longhorn.ioCustom Resources (CRs).
smartctl).smartctl).Note:
Health data is sourced differently depending on disk type:
- V1 disks and V2 AIO disks: via SMART
- V2 NVMe disks: via SPDK
Available attributes and formats may vary by disk type and hardware. For details:
- SMART attributes: smartmontools documentation
- SPDK NVMe health data: bdev_nvme_get_controller_health_info JSON-RPC.
The longhorn_disk_health_attribute_raw metric exposes raw attribute values with the following labels:
attribute: Name of the attributeattribute_id: Attribute ID, when provided by the collection method.disk: Longhorn disk identifier.node: Name of the node.Note:
SMART data may not be available on all platforms (particularly cloud providers). If SMART is not supported, health metrics will appear as
0.
© 2019-2025 Longhorn Authors | Documentation Distributed under CC-BY-4.0
© 2025 The Linux Foundation. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.