This shows you the differences between two versions of the page.
list_harddrive_information [2011/06/18 10:18] root |
list_harddrive_information [2011/06/18 10:27] (current) root |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== List harddrive serial number ====== | + | ====== List harddrive information ====== |
+ | |||
+ | ===== List harddrive serial number ===== | ||
This command is only applicable for ccis Hardware Raid Controller (Smart Array controller from HP) | This command is only applicable for ccis Hardware Raid Controller (Smart Array controller from HP) | ||
Line 13: | Line 15: | ||
You might have to adjust device number and disk reference (c0d0) to suit your needs. | You might have to adjust device number and disk reference (c0d0) to suit your needs. | ||
- | Display harddrive temperature for sda | + | ===== List harddrive information for sda ===== |
- | smartctl -d ata -A /dev/sda | grep -i temperature | + | smartctl -a /dev/sda |
- | + | ||
+ | Grep for the needed information eg. temperature, Model, Serial Number | ||
+ | |||
+ | ===== Display harddive temperature for sda ===== | ||
Another way to display harddrive temperature for sda | Another way to display harddrive temperature for sda | ||
hddtemp /dev/sda | hddtemp /dev/sda | ||
Requires hddtemp RPM package | Requires hddtemp RPM package |