Difference between revisions of "Tutorials and How-tos/Monitor Hard Drive Temperature"

From BubbaWiki
Jump to navigation Jump to search
(Rewrite)
Line 1: Line 1:
The hard drive in your Bubba is the most sensitive part, it is recommended to keep the temperature as low as possible.<br>
Keeping your Bubba's hard disk temperature low can increase its lifespan of your Bubba's hard disk. So it's a good idea to regularly check the hard disk's temperature using the ''hddtemp'' tool. Here is how this done:


All disk drives has built in temperature sensors. One way to check the temperature is to use the application hddtemp.<br>
#Log in to your Bubba server via [[Howto/Access Server via SSH|SSH]]
#Use the <code>su</code> command to become root.
#Install the ''hddtemp'' package using the <code>apt-get install hddtemp</code> command.
#When prompted, specify the desired settings.


1. Log in via SSH and become root.<br>
Once the ''hddtemp'' utility is installed, you can use it to check the hard disk's temperature using the following command:


2. Type the command<br>
  hddtemp /dev/sda
<pre>apt-get install hddtemp
</pre>
You will get a screen asking for some settings. Following the default choices works good.<br>


3. To check the hard drive temp on the internal disk in Bubba, type:<br>
The returned result should look something like that:
<pre>hddtemp /dev/sda
</pre>
You will get the temperature as below:<br>
<pre>/dev/sda: DW CDW0500AASC0-Z0BU 0: 41 C
</pre>
...showing 41 degrees celsius.<br>


<br>
  /dev/sda: DW CDW0500AASD0-S0B9 0: 42°C

Revision as of 13:17, 4 September 2010

Keeping your Bubba's hard disk temperature low can increase its lifespan of your Bubba's hard disk. So it's a good idea to regularly check the hard disk's temperature using the hddtemp tool. Here is how this done:

  1. Log in to your Bubba server via SSH
  2. Use the su command to become root.
  3. Install the hddtemp package using the apt-get install hddtemp command.
  4. When prompted, specify the desired settings.

Once the hddtemp utility is installed, you can use it to check the hard disk's temperature using the following command:

 hddtemp /dev/sda

The returned result should look something like that:

 /dev/sda: DW CDW0500AASD0-S0B9 0: 42°C