Use this when monitoring storage pool state, redundancy, rebuilds and fill level.
Pool Health
Pool health monitoring checks the state of storage pools — online, degraded or faulted — redundancy status, rebuild progress, scrub errors and fill level, as with zpool status or Storage Spaces health.
1. Pool health: degraded, faulted, rebuilding.
2. Alert immediately on degraded.
3. Track rebuild progress.
4. Capacity per pool.
5. Scrub results.
pool state → monitor → alert
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Checking only after users complain.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Degraded pools have lost redundancy.
- Rebuild progress must be tracked.
- Pools slow down when very full.
zpool status -x— ZFSceph health— CephGet-StoragePool | ft FriendlyName,HealthStatus— Storage Spaces
ReferenceHow it works1 section · depth on demand
What healthy looks like
| System | Healthy |
|---|---|
| ZFS | state: ONLINE, no errors |
| Ceph | HEALTH_OK, PGs active+clean |
| Storage Spaces | HealthStatus Healthy |
| mdadm | [UU] in /proc/mdstat |
ReferenceImportant terms & boundaries3 sections · depth on demand
In depth
Pool health should alert by itself, not wait for someone to run zpool status
ZFS records kernel events (zevents). zed(8) describes the ZFS Event Daemon: it watches those events and runs zedlets, executables named after the event class they handle. All zedlets share variables from zed.rc.
# zpool status -x
all pools are healthy
# zpool events | tail -5
TIME CLASS
Nov 27 2026 02:14:08.412731001 sysevent.fs.zfs.scrub_start
Nov 27 2026 05:52:41.118230115 sysevent.fs.zfs.scrub_finish
# zpool events -v | less
# systemctl status zfs-zed
# grep -E '^ZED_(EMAIL_ADDR|NOTIFY)' /etc/zfs/zed.d/zed.rc
ZED_EMAIL_ADDR="storage-alerts@example.com"
ZED_NOTIFY_VERBOSE=0
What to monitor
| Signal | Source | Alert when |
|---|---|---|
| Pool state | zpool status -x, zpool list -H -o health | Anything other than ONLINE |
| Device errors | READ/WRITE/CKSUM counters | Any increase |
| Scrub result | scrub_finish event, zpool status scan line | Repaired bytes > 0 or errors |
| Capacity | zpool list -o cap | Above your threshold (often 80 %) |
| Resilver | resilver_start / resilver_finish events | Start (informational), long runtime |
Practical setup
1. Enable and start zfs-zed.
2. Set the notification address in zed.rc (the variable names are in the file itself), and test with a manual scrub.
3. Add zpool status -x to your monitoring system too. ZED reports events; a poller catches the case where ZED itself is not running.
4. Schedule scrubs (systemctl enable zfs-scrub-monthly@tank.timer on many distributions) so latent errors surface.
Documented example, not captured output.
How it works
Pool health reflects the state of the disks and redundancy in a storage pool: healthy, degraded (redundancy reduced), or faulted (data unavailable).
Reference
zpool status -x
ceph health detail
Get-StoragePool | Select FriendlyName,HealthStatus
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Storage Monitoring → Pool Health. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://sysstat.github.io/ · confidence 94%