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

Đang mở
#2,156 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
api, backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
123
Fork
25
Merge trung bình
2 ngày 16 giờ
Pull request đã merge (30 ngày)
9

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của unraid/api

Tất cả issue của unraid/api

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.