mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
USB enclosures that reject ATA pass-through (e.g. Seagate Expansion) are invisible to pySMART/DeviceList, so the drive shows no SMART at all on the Controller page. Fall back to smartctl over the SCSI transport, which many such bridges still answer, to report a coarse PASS/FAIL health plus drive identity (model/serial/capacity). The health (-d scsi -H) and identity (-d scsi -i) reads are issued as separate calls: combining them makes smartctl suppress the health line when the identity read reports "SMART support is: Unavailable" (which these bridges do). The entry is marked smart_limited (labelled "(limited)" in both UIs) so a green PASS is not mistaken for full monitoring — these drives expose no attributes or temperature, and some bridges report "OK" statically. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| admin.py | ||
| config.py | ||
| disks.py | ||
| docker_services.py | ||
| fstab.py | ||
| fstab_migration.py | ||
| fstab_yaml.py | ||
| mount_executor.py | ||
| mount_runner.py | ||
| onboarding.py | ||
| readiness.py | ||
| reconciler.py | ||
| samba.py | ||
| scripts.py | ||
| smart.py | ||
| status.py | ||
| status_worker.py | ||
| systemd.py | ||
| wrol_mode.py | ||