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

Abierto
#2,156 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
typescript
Área
api, backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
123
Forks
25
Merge medio
2 d 16 h
PR fusionados (30 d)
9

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de unraid/api

Todos los issues de unraid/api

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.