feat: add udev serial detection, comprehensive logging, and SAT fallback for SMART health checks on RAID disks

Install udev package and mount /run/udev:/host-run-udev:ro for udev by-id symlink access. Add raid_log_state global to track RAID status changes and hardware_log_once set to prevent duplicate hardware warnings. Update scan_datastore_storage() with info/error logging for scan lifecycle and disk usage. Add _read_command() debug/warning/error logging for all subprocess calls with command text
This commit is contained in:
2026-08-16 12:18:40 +02:00
parent 10eb3a4191
commit 02a5db61be
3 changed files with 51 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
FROM python:3.13-slim
RUN apt-get update \
&& apt-get install -y --no-install-recommends ffmpeg mdadm util-linux smartmontools \
&& apt-get install -y --no-install-recommends ffmpeg mdadm util-linux smartmontools udev \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .