Hello. I have been having issues trying to get my HDDs to spin down properly. I am setting up RAID6 with five 8TB WD Red drives. I have created and initialized the RAID6 array but have not created a file system yet. I believe that before I created the array, the spindown fuction worked without issues during the few tests I ran. After setting up the array, some drives will stay active (3 of them), while the other 2 will go on standby. The ones that stay active or go to standby will vary. This was verified with hdparm -C. The three that stay active and do not spin down per my selected settings (10 mins) will do so if I use hdparm -y. Another test I ran was clicking on the Raid Management menu in OMV after running hdparm -y. When I do so, this will bring the 3 drives that normally will not spin down out of the standby mode, but the ones that normally will go into standby will stay in stanby mode. Clicking on Devices under the SMART menu will bring all drives back from standby.
As a reference, my disk properties are APM 127 (it also happens with an APM of 1), AAM Min/Min, Spindown time of 10 mins, and write-cache enabled. MY OMV system drive is a 32GB USB flash drive.
I have read in the forums that some people have found hd-idle to be a better alternative for consistently getting drives to spin down. I went ahead and installed it per this tutorial (except step d), and it clearly works at getting all drives to spin down at the selected time. However, when the drives come back from standby they will not do so again. I believe that either step d of the tutorial or the tutorial's script in the second post solves this, but I am not sure how to proceed as I am not using the Autoshutdown function. If I need to add either of the two scripts presented, I would appreciate some pointers as to where and how.
Thank you in advance for your assistance.
Edit: The disk properties referenced above were used with hdparm. When I installed hd-idle, all disk properties were disabled except for write-cache.