I am able to set both APM and spindown times using the command:
hdparm -S 246 -B 128 /dev/sda
Unfortunately I can only find the APM value in the information output:
hdparm -I /dev/sda | grep Advanced
How can I see the spindown time value? I suspect my disc it is ignoring my value. I would like to see it. Tried smartctl but with no luck, help.
Update: It turned out tuned is very aggressive. When I turned it down, my discs does not spin down. It was setting something there.
There does not seem to be a way to query that value with hdparm, however you can see if the drive is in a standby or active state...
The option
-B 128
inhibits spindown, so your -S option is useless. Have a look atman hdparm
. Spindown is only possible with -B parameters of 127 and less.If you have a Seagate disk which support Extended Power Controls (EPC), I assume mostly enterprise class, you can use the tool
SeaChest
First get the Seagate disk handle:
Result:
Then get the standby time:
Result:
(Don't mind my experimental Idle_C and Standby_Z values which is very low)
You can get the tool from Seagate
The above example is from a Seagate Enterprise Capacity 2.5" 1TB SATA (ST1000NX0343). Tried the same on a Seagate BarraCuda Pro 2.5" 1TB SATA (ST1000LM049) and it didn't work, as it apparently doesn't support EPC.