The script was successfully tested on the latest TrueNAS-13.0-U3.1 release :) Additionally the README was updated to include instructions on the implications of System Dataset placement. See: https://github.com/ngandrass/truenas-spindown-timer/#system-dataset-placement
Changelog Added support for TrueNAS SCALE using hdparm instead of camcontrol. The script automatically detects the environment it is run in. AcknowledgementsThanks to @derWalter, @Hafnernuss and everyone from the following thread that contributed information: https://www.truenas.com/community/threads/prevent-frequent-reads-from-waking-up-hdds.93176/ Further thanks to @Nex-Carter for providing access to a TrueNAS SCALE system for testing
The script was successfully tested on the latest TrueNAS-12.0-U8.1 release :)
This project was renamed from freenas-spindown-timer to truenas-spindown-timer. Repository URLs changed accordingly. Information within the README.md got an update. The script was successfully tested on the latest TrueNAS-12.0-U8 release :)
Include an option to shutdown the system after all monitored drives are idle for a specified number of seconds. Thanks to @hschwane For more details see: https://github.com/ngandrass/freenas-spindown-timer
The script was successfully tested on the latest TrueNAS-12.0-U7 release :)
The script was successfully tested on the latest TrueNAS-12.0-U6.1 release :)
The script was successfully tested on the latest TrueNAS-12.0-U6 release :)
The script was successfully tested on the latest TrueNAS-12.0-U5.1 release :)
The script was successfully tested on the latest TrueNAS-12.0-U5 release :)