Will hd-idle work with RAID HDDs attached via PCI?

I’m using the Mini PCI-E to SATA 3 Expansion Card for Hard Drive - Green to connect to SATA drives to the Omnia.

Will hd-idle work with RAID HDDs attached via PCI or just external USB drives?

It will work with both USB and SATA drives…

root@turris:~# cat /etc/config/hd-idle

config hd-idle 'disky’
option idle_time_unit 'minutes’
option idle_time_interval '10’
option enabled ‘1’

root@turris:~#

It doesn’t appear that hd-idle is working with both HDDs (sda and sdb):

# ps | grep hd-idle
  547 root       708 S    /usr/bin/hd-idle -a sda -i 600
  633 root      1092 R    grep hd-idle

The configuration file (which I edited manually to add the second disk):

# cat /etc/config/hd-idle

config hd-idle
	option idle_time_unit 'minutes'
	option idle_time_interval '10'
	option enabled '1'
	option disk 'sda'

config hd-idle
	option idle_time_unit 'minutes'
	option idle_time_interval '10'
	option enabled '1'
	option disk 'sdb'

I restarted the service, but that didn’t make a difference.

Is there something else that I need to do?

That’s right:

# cat /etc/config/hd-idle

config hd-idle
	option idle_time_unit 'minutes'
	option idle_time_interval '10'
	option enabled '1'

What’s the best way to determine if the disks are spinning or not?

** edit **

# smartctl --nocheck standby -i /dev/sdb
smartctl 6.5 2016-05-07 r4318 [armv7l-linux-4.4.59-627f0117679bc72ef5e58881035f567a-4] (localbuild)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda LP
Device Model:     ST32000542AS
Serial Number:    XXXXXXXXXXX
LU WWN Device Id: YYYYYYYYYY
Firmware Version: CC34
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    5900 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Mon Jun 26 06:55:31 2017 CDT

==> WARNING: A firmware update for this drive may be available,
see the following Seagate web pages:
http://knowledge.seagate.com/articles/en_US/FAQ/207931en
http://knowledge.seagate.com/articles/en_US/FAQ/213915en

SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Power mode is:    ACTIVE or IDLE

Same for /dev/sda.

** /edit **

Also, should this affect the fan? Will it always spin?

Is there a way to disable lines in this type of file? It seems like the # (pound, hash, hashtag) doesn’t always work.