Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.
HDD Spindown Timer

HDD Spindown Timer 1.2

Disk spindown has always been an issue for various FreeNAS users. This script utilizes iostat to detect I/O operations (reads, writes) on each disk. If a disk didn't receive reads or writes for a given period of time it is considered idle and gets spun down.

This excludes periodic reads of S.M.A.R.T. data performed by the smartctl service which therefore enables users to have S.M.A.R.T. reporting turned on while still being able to automatically spin down disks. The script also is immune to the periodic disk temperature reads in newer versions of FreeNAS.

Key Features
  • Periodic S.M.A.R.T. reads don't reset the idle timers
  • Configurable idle timeout and poll interval
  • Support for ATA and SCSI devices
  • Per-disk idle timer / Independent spindown
  • Ignoring of specific drives (e.g. SSD with system dataset)
  • Runnable via Tasks as Post-Init Script, configurable trough FreeNAS GUI
  • Allows script placement on encrypted pool
Please note that this work was heavily inspired by:

For more detailed information, installation and usage instructions as well as the most recent release checkout the repository on GitHub:
First release
Last update
0.00 star(s) 0 ratings

Latest updates

  1. Version 1.2 (2019-07-12) released

    Version 1.2 (2019-07-12) Add experimental support for SCSI drives Use camcontrol epc instead of...
  2. Version 1.1 (2019-07-09) released

    Version 1.1 (2019-07-09) Add detection of "da" prefixed devices (Thanks to @bilditup1) For...