feat: add datastore view with storage categories, RAID status monitoring, and live recovery tracking
Add scan_datastore_storage() to walk DATASTORE_PATH and categorize media by directory structure (movies/series/anime/kdrama/downloads/other) with size/file counts. Add raid_status() to parse /proc/mdstat and mdadm --detail for RAID level, active/failed devices, and recovery progress. Add /api/datastore endpoint with 15-minute cache for storage scans and live RAID updates. Install mdadm/util-linux/
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
# Media Max
|
||||
|
||||
## Datastore
|
||||
|
||||
Der Datastore-Tab zeigt den read-only Speicherstatus von `/nesflix`, Medienkategorien
|
||||
und den Linux-Software-RAID-Status. Größen-Scans werden standardmäßig 15 Minuten
|
||||
gecacht; RAID-/Recovery-Werte aktualisieren sich live. Konfigurierbar sind
|
||||
`DATASTORE_PATH`, `DATASTORE_HOST_PATH`, `RAID_DEVICE`, `STORAGE_CACHE_SECONDS` und
|
||||
optional `SMART_ENABLED=true` für SMART-Healthwerte.
|
||||
|
||||
## Wichtig: Path-Mapping
|
||||
|
||||
Radarr kann seine Filme z.B. unter `/data/filme` sehen, während der Host sie unter
|
||||
|
||||
Reference in New Issue
Block a user