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

オープン
#2,156 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
api, backend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
123
フォーク
25
平均マージ
2日 16時間
マージ済み PR(30日)
9

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

unraid/api のほかの issue

unraid/api の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。