Disk health is always unknown #4

Closed
opened 2026-10-14 08:58:53 +00:00 by christianmanivong · 0 comments
Owner

openmediavault.py ~200-205 runs smartctl -iA and looks for PASSED/FAILED. -i and -A never print the overall verdict; that needs -H. Also ~238-245: if disk_name in line matches sda in sdaa, and /proc/mdstat is read once per disk.

Prio P3: a failing disk is never reported.

`openmediavault.py` ~200-205 runs `smartctl -iA` and looks for `PASSED`/`FAILED`. `-i` and `-A` never print the overall verdict; that needs `-H`. Also ~238-245: `if disk_name in line` matches `sda` in `sdaa`, and `/proc/mdstat` is read once per disk. Prio P3: a failing disk is never reported.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: NAPALM/napalm-openmediavault#4