Add staggered drive spin-up script and systemd unit
12x 3.5" HDDs spinning up simultaneously can spike ~240W, pushing a single 750W PSU close to its limit. Two-layer fix: - Layer 1: racadm iDRAC BIOS setting (HddSeq) fires at POST before OS loads - Layer 2: stagger-spinup.service wakes drives one at a time via hdparm on boot https://claude.ai/code/session_01TxTSnxDjgEVuNztdsWQjMD
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=Stagger hard drive spin-up to limit PSU current surge
|
||||
# Runs early in boot, before storage services and VMs start, so drives
|
||||
# are already spun up and staggered before any heavy I/O begins.
|
||||
DefaultDependencies=no
|
||||
After=local-fs-pre.target
|
||||
Before=local-fs.target sysinit.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/sbin/stagger-spinup.sh --linux
|
||||
RemainAfterExit=yes
|
||||
StandardOutput=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=sysinit.target
|
||||
Reference in New Issue
Block a user