API disk queries spin up standby Seagate HDDs (array summary does not) — Unraid 7.4.0

Aperta
#2,156 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
api, backend

Direzione di ricerca

Start with the disks list query and the disk(id:) query, which the report shows triggering SMART reads on the Seagate drives while the array summary does not. Check the syslog pattern emhttpd: read SMART and compare it with a smartctl -n standby check before probing. Done means the drives in standby stay asleep after these queries, and the WD parity still returns its temperature as null without waking up.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

Environment

  • Unraid OS 7.4.0, built-in API, API key with VIEWER role only
  • Array: 1x WD60EFAX (parity), 3x WD20EFAX, 2x Seagate ST2000VN0001-1SF174 (disk4 / disk5)
  • Both Seagates, the parity and disk1 are on an ASM1166 (AHCI); the other disks on Intel SATA

Steps to reproduce

  1. Main > Spin Down (all array disks in standby, confirmed in syslog)
  2. Run one API query at a time, checking syslog after each

Results

  • array summary (state, capacity, health): no disk wakes up
  • disks list (only id / device / name requested): both Seagates spin up,
    syslog shows emhttpd: read SMART /dev/sdg then read SMART /dev/sdh ~6 s later
  • disk(id:) for ONE Seagate: BOTH Seagates spin up (same log pattern),
    and a real temperature is returned
  • disk(id:) for the WD parity: temperature returned as null, WD stays asleep
  • The WebGUI Main page does not wake any disk

Reproduced several times. The WD drives on the same ASM1166 controller stay
in standby, so it looks like the API probes every disk in a way that wakes
these Seagates instead of checking the power state first (e.g. smartctl -n standby).

Expected
Disk queries should not spin up drives in standby, as the 7.3.0 release notes
state for WebGUI/API requests.

Context
Found while using an MCP client (unraid-mcp) for read-only monitoring.
Power-sensitive setup: array activity is limited to a nightly window.

Lingua principale
TypeScript
Stelle
123
Fork
25
Merge medio
2g 16h
PR unite (30g)
9

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di unraid/api

Tutte le issue di unraid/api

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.