Disk Spindown Script + Check Status

Scale Skript:

https://github.com/ngandrass/truenas-spindown-timer#tested-truenas--freenas-versions

CLI:

# Shows last status. IDLE_A,_B standby, IDLE_Z=spindown
for drive in /dev/sd?; do smartctl --nocheck standby -i $drive | grep '^Power mode was:'; echo $drive; done

# Smart Attribute ausgeben
smartctl -a /dev/sda



Revision #4
Created 2023-07-27 17:27:53 UTC by Dung
Updated 2023-07-31 10:45:39 UTC by Dung