I guess this has been asked many times before and has many different possible fixes as I have viewed on Google. I have an external drive bay with two drives in it via USB3. SMART works and manually typing hdparm -y /dev/sdx shuts the drives down and they restart when accessed but neither hd-idle or hdparm -sx /dev/sdx work automatically. Any ideas on how or if this can be done? I would like them to run for 10 or 20 minutes when accessed. Since hdparm -y works I wonder what is the problem with the other commands.
Here is an example -
$sudo -C hdparm /dev/sda:
drive state is: standby
But drive is running.
$ sudo hdparm -y /dev/sdb
/dev/sdb:
issuing standby command
$ sudo hdparm -y /dev/sda
/dev/sda:
issuing standby command
Both drives are stopped.
$ sudo hdparm -C /dev/sda
/dev/sda:
drive state is: standby
$ sudo hdparm -C /dev/sda
/dev/sda:
drive state is: standby
and both still say standby.