Linux: How to delay hddtemp service start at boot until all hdd are visible?

Posted by Atis on Super User See other posts from Super User or by Atis
Published on 2012-09-20T03:06:26Z Indexed on 2012/09/20 3:40 UTC
Read the original article Hit count: 485

Filed under:
|
|

I live in a hot and humid environment, therefore I monitor the hdd temperature using hddtemp and gkrellm. There is an LSI9211 8i sata/sas controller in my computer. I have drives connected to both my motherboard and the LSI. hddtemp monitors only the drives directly connected to my motherboard after booting the system, therefore gkrellm displays the temperature of those drvies only.

Logging in and restarting hddtemp before starting gkrellm fixes my issue, i.e. drives connected to the LSI controller are also visible. It seems that the drives connected to the LSI controller become visible only after hddtemp is started in the boot sequence. I think delaying it would help.

How can I delay the starting of hddtemp till all drives are visible? I prefer a way to check if drives are visible to the delay of a specific amount of seconds.

© Super User or respective owner

Related posts about boot

Related posts about temperature