How to Check Drive Temperature? – Linux Command
Monitoring the drive temperature may be a crucial side of server management, to confirm that the hardware delivers efficient performance. If the drives temperature exceeds the safe threshold limit, it’s going to end in the drive to crash.Thus keeping a check on the temperature once every week (atleast) and monitoring its fluctuations will facilitate bypass disasters.
You must fire the following command as a root user To check the drive temperature :
smartctl -A /dev/hda
NOTE: In above command we have used hda due to the fact that the test server is configured with the “IDE controllers”, if your server is configured with the “SCSI controllers” device, replace the /dev/hda with the /dev/sda and Run the command.
Also make sure that you are using the individual partition label, for example.
smartctl -A /dev/hda1
OR
smartctl -A /dev/sda1