S.M.A.R.T. Drive Health Monitoring

MinIO AIStor provides S.M.A.R.T. (Self-Monitoring, Analysis and Reporting Technology) disk health monitoring for proactive detection of drive failures. SMART monitoring collects health telemetry directly from NVMe and SATA drives using native Linux ioctl calls with no external dependencies.

Enabling SMART metrics

Prometheus metrics (v3)

SMART metrics are available at the /system/drive/smart collector path. See Metrics v3 Reference for the full metric listing.

MetricDescription
minio_system_drive_smart_statusHealth status (0=unknown, 1=healthy, 2=warning, 3=critical, 4=collection_error)
minio_system_drive_smart_temperature_celsiusDrive temperature in Celsius
minio_system_drive_smart_power_on_hoursTotal power-on hours
minio_system_drive_smart_power_cyclesPower cycle count
minio_system_drive_smart_failure_riskEstimated annual failure rate (0.0-1.0+)
minio_system_drive_smart_available_spare_percentNVMe available spare capacity
minio_system_drive_smart_percentage_usedNVMe percentage of endurance used
minio_system_drive_smart_media_errorsNVMe media error count
minio_system_drive_smart_reallocated_sectorsSATA reallocated sector count
minio_system_drive_smart_pending_sectorsSATA pending sector count
minio_system_drive_smart_offline_uncorrectableSATA offline uncorrectable sectors

The metrics above include the labels drive, pool_index, set_index, drive_index, and server.

MegaRAID physical drive metrics

Deployments behind a MegaRAID controller also expose per-physical-drive metrics on the same collector path.

MetricDescription
minio_system_drive_smart_megaraid_pd_statePhysical drive firmware state
minio_system_drive_smart_megaraid_pd_media_errorsPhysical drive media error count
minio_system_drive_smart_megaraid_pd_other_errorsPhysical drive other error count
minio_system_drive_smart_megaraid_pd_predictive_failuresPhysical drive predictive failure count

These metrics identify the drive by its controller position rather than its mount path, so they carry the labels controller, enclosure, slot, and server instead of the ones listed above.

minio_system_drive_smart_megaraid_pd_state reports the controller’s firmware state for the drive as a number:

ValueStateValueState
0Unconfigured good17Failed
1Unconfigured bad20Rebuild
2Hot spare24Online
16Offline32Copyback
64System

Alert on 1, 16, and 17. Those are distinct conditions rather than a single failure state, and the metric’s own help text groups them together.

Admin API (v4)

Request SMART data by adding ?smart=true to the drives query endpoint:

GET /minio/admin/v4/query/drives?smart=true

SMART data is returned in the metrics.smart field of each drive resource.

Health status classification

Drives are classified into three health states:

StatusDescriptionAction
healthyNo concerning indicatorsNone, drive operating normally
warningEarly signs of potential issuesPlan replacement within weeks/months
criticalHigh probability of imminent failureReplace immediately

Monitored attributes

NVMe drives

AttributeCritical thresholdDescription
Critical WarningAny bit setController-reported critical condition
Available SpareBelow thresholdRemaining spare capacity percentage
Percentage Used> 100%Endurance consumed (can exceed 100%)
Media Errors> 0Uncorrectable media errors

SATA/SAS drives

AttributeWarningCriticalAnnual failure rate
Reallocated Sectors (ID 5)1-10> 102.5% - 30%+
Current Pending Sectors (ID 197)1-5> 53.5% - 25%+
Offline Uncorrectable (ID 198)1> 15% - 35%+
Spin Retry Count (ID 10)-> 015%+
Command Timeout (ID 188)1-100> 100Variable

Thresholds are based on Google and Backblaze large-scale drive failure studies.

Failure risk score

The failureRisk field provides an estimated annual failure rate (AFR) as a decimal:

  • 0.0 - Baseline failure rate (healthy drive)
  • 0.025 - 2.5% annual failure probability
  • 0.30 - 30% annual failure probability (critical)

This enables automated alerting and replacement scheduling based on quantified risk.

Permissions

SMART data collection requires elevated privileges:

  • Root access, or
  • Linux capabilities: CAP_SYS_ADMIN and CAP_DAC_OVERRIDE

If permissions are insufficient, SMART data is omitted from responses without failing the request.

Distributed collection

In multi-node deployments, SMART data is collected from each node via the internal RPC framework. The coordinator node aggregates responses, providing cluster-wide visibility through a single API call.

Best practices

  1. Enable SMART in monitoring dashboards - Track temperature and health trends over time.
  2. Alert on warning status - Plan proactive replacements before failure occurs.
  3. Alert immediately on critical - Drives may fail within days or weeks.
  4. Monitor temperature - Sustained high temperatures accelerate wear.
  5. Track reallocated sectors trend - An increasing count indicates active degradation.

Troubleshooting

SMART data missing for some drives

  • Verify the MinIO AIStor process has the required capabilities.
  • Check that the drive supports SMART (virtual or cloud drives may not).
  • Ensure the drive is NVMe or SATA. SAS drives use a different protocol.

Temperature shows 0

  • NVMe: Temperature sensor not implemented on the controller.
  • SATA: Drive does not report the temperature attribute.

High failure risk but drive seems fine

SMART predicts probability, not certainty. Even healthy-seeming drives with bad sectors have elevated failure rates. Treat as an early warning, not a false positive.

On this page