Page 1 of 1

Drive Temp warning

Posted: November 7th, 2012, 7:29 am
by Aidanb
Hi All,

I have had this working before but have upgraded my drives a 60gb ssd and 2tb hard drive i keep getting this error

Code: Select all

./DriveTempShutdown.sh: line 69: [: too many arguments
./DriveTempShutdown.sh: line 80: [: too many arguments
when i run the command normal i get back

Code: Select all

Drive Warning Limit set to => 50
Drive Shutdown Limit set to => 60


Testing all drives

Drive /dev/sda
194 Temperature_Celsius     0x0022   030   030   000    Old_age   Always       -       30 (Min/Max 30/30)
231 Temperature_Celsius     0x0013   100   100   010    Pre-fail  Always       -       0
Drive /dev/sdb
194 Temperature_Celsius     0x0022   127   121   000    Old_age   Always       -       23


Testing Drive sda
/usr/sbin/smartctl -n standby -a /dev/sda
30 0
./DriveTempShutdown.sh: line 69: [: too many arguments
./DriveTempShutdown.sh: line 80: [: too many arguments
    Temperature of Drive a is OK at => 30 0

Testing Drive sdb
/usr/sbin/smartctl -n standby -a /dev/sdb
23
    Temperature of Drive b is OK at => 23

All Drives are within limits

hope someone can help getting alot of emails lol.

Regards

Aidan