Refering to this video specificly
TrueNAS: Full Setup Guide for Setting Up Portainer, Containers and Tailscale
At 2.28 specificly, he talks about how to reduce the power consumption of the NAS HDDs, when not in use
However, during the rest of the video, I found no later reference to this
Any ideas to which he could be refering?
Theres the Option to auto-standby disks after X time when not in use, but there’s a few caveats to this.
I recommend you read the linked resources there.
Generally I would recommend to look into nightly shutdowns and automatic startup via Wake on LAN or IPMI rather than disk standby.
The only way to keep HDDs spun down is on a pool where nothing is happening. VMs, Containers or system dataset for TrueNAS will always have disk activity if only for writing logs.
You can optimize idle time by delaying the writes via zfs_txg_timeout and overengineer the cache for reads. But that doesn’t really help with spin down, but for keeping disks more in low-power idle state, this will work very well. This also applies to SSDs as good power-states keep them <50mW.
You don’t use ZFS if you want to spin-down your drives
Hmm hdparm -y /dev/sd** ?