
On Sat, Feb 11, 2012 at 12:14:03AM +0000, James Harper wrote:
yep, but -w defeats the purpose of setting the drive's sleep timeout.
So... don't use the -w option, and hddtemp won't wake up the drives to ask them their temperature. Get your reading from another sensor if that happens, eg:
well, duh. i already pointed out that you can configure the drives to sleep when idle or you can monitor the temperature, but not both (technically, you can configure exactly that but it's pointless because reading the temp wakes the drive) at the moment, i'm not doing either because I haven't yet reflashed my SAS card to IT mode (cant do it in my current m/b, i have to put the card in some other m/b and i haven't got around to it yet), and sleeping drives time out and get kicked out of my ZFS pools. I disabled hddtemp (and my munin script for it) when i started playing with drive sleeping, and haven't cared enough to re-enable it. it hasn't been hot enough this summer to bother :)
It is a little puzzling as to why an ATA drive needs to be spun up to take a temperature reading though... maybe the sensor is inside the enclosure and requires some airflow to ensure an accurate reading?
yeah, well that was what the PS in my post was about. it's a huge WTF! craig -- craig sanders <cas@taz.net.au> BOFH excuse #412: Radial Telemetry Infiltration