MinioDiskSpaceUsage #
Minio available free space is low (< 10%)
Alert Rule
alert: MinioDiskSpaceUsage
annotations:
description: |-
Minio available free space is low (< 10%)
VALUE = {{ $value }}
LABELS = {{ $labels }}
runbook: https://srerun.github.io/prometheus-alerts/runbooks/minio-internal/miniodiskspaceusage/
summary: Minio disk space usage (instance {{ $labels.instance }})
expr: disk_storage_available / disk_storage_total * 100 < 10
for: 0m
labels:
severity: warning
Here is a sample runbook for the MinioDiskSpaceUsage alert:
Meaning #
The MinioDiskSpaceUsage alert is triggered when the available free space on a Minio disk falls below 10%. This alert is critical as it may impact the performance and availability of Minio services.
Impact #
The impact of this alert includes:
- Minio services may become unresponsive or fail to write data
- Data loss or corruption may occur due to insufficient disk space
- Increased latency or errors may be experienced by users and applications relying on Minio services
Diagnosis #
To diagnose the issue, follow these steps:
- Check the Minio disk usage metrics to identify the specific disk with low available free space
- Verify the total disk capacity and available free space using the
disk_storage_total
anddisk_storage_available
metrics - Review recent changes to Minio configuration, usage patterns, or data ingestion rates that may have contributed to the low disk space
- Check the Minio logs for any error messages related to disk space or I/O operations
Mitigation #
To mitigate the issue, follow these steps:
- Immediately add more disk space to the affected Minio instance to prevent service disruptions
- Identify and remove any unnecessary data or files to free up disk space
- Consider implementing data retention policies or data lifecycle management practices to prevent future disk space issues
- Monitor Minio disk usage metrics closely to ensure the issue does not recur
- Consider implementing automated disk space monitoring and alerting to detect potential issues before they become critical