May 15, 201016 yr Say Joe, can you fix unMenu not to spin up non-array drives when a page is refreshed. That's shouldn't be happening. Let me see what it is doing... It should not be spinning up drives. It should be using hdparm -C first to see if they are sleeping, and if they are, not trying to get more statistics. At least, that is what I think it supposed to be doing. Let me investigate.
May 15, 201016 yr Say Joe, can you fix unMenu not to spin up non-array drives when a page is refreshed. That's shouldn't be happening. Are you referring to the refresh of MyMain? or the unMENU "Main" page? There are two different sets of code involved. Both pages seem to check the spin-up status before attempting to read the disk temperature by using the smartctl command. It is this that will spin up a sleeping drive. I know for sure that the "Main" page uses this logic: if "hdparm -C" returns output containing the word "standby", the smartctl command to get the temperature is not run. (the disk is sleeping) if it does not contain the word "standby" then "smartctl -d ata -A /dev/XXX" is run to get the temperature. (the disk is not sleeping) Joe L.
May 15, 201016 yr Author I believe I was getting the problem from both pages.... I'll do some more checking today when I get a minute. Cheers Joe!
Archived
This topic is now archived and is closed to further replies.