From: Clark Smith on
I have a collection of external USB hard drives that spin down if
they have not been accessed in some time. The thing is, they seem to do
it after different idle times.

Is there a simple way to find out the idle time for a USB hard
drive that triggers the spindown? I mean, other than doing it stopwatch
in hand for each individual drive, while having full I/O control on each
drive - which might not always be possible anyway.
From: J G Miller on
On Sun, 25 Jul 2010 15:27:44 +0000, Clark Smith wrote:
>
> Is there a simple way to find out the idle time for a USB hard
> drive that triggers the spindown?

Neither hdparm nor smartcl appear to return information on the
setting for the set standdby time.

However,


man hdparm

-S Put the drive into idle (low-power) mode, and also
set the standby (spindown) timeout for the drive.


If supported, you can set the idle time to a reasonably long period
(4 minutes) with

hdparm -S 240 /dev/sd<disk_letter>

NB maximum value is 255 seconds.