Skip to content

Version 2.1.0 (2023-02-19)

Compare
Choose a tag to compare
@ngandrass ngandrass released this 19 Feb 15:36
· 18 commits to master since this release
69ffd7b

This version introduces a new ZFS pool based operation mode. The script is now able to work on both per-disk or on a ZFS pool basis. It was tested to work on TrueNAS CORE and SCALE :)

Check the updated README.md for more details.

Changelog​

  • A new CLI argument was introduced to switch between disk and zpool operation mode: -u <MODE>
  • When no operation mode is explicitly given, the script works in disk mode. This completely ignores zfs pools and works as before.
  • When operation mode is set to zpool by supplying -u zpool, the script now operates on a per-zpool basis. I/O is monitored for the pool as a whole and disks are only spun down if the complete pool was idle for a given number of seconds. ZFS pools are either detected automatically or can be supplied manually (see help text for -i and -m).
  • Drives are referenced by GPTID (CORE) or partuuid (SCALE) in ZFS pool mode.

Acknowledgements​

Thanks to @jojolll and @gpatkinson for helping with testing this release! 😄