Posts tagged ‘smartmontools’

Find out serial / model number & vendor info for SATA and IDE disks

tux.png

How can i find out hard drive information in linux box? Easy.  Install smartmontools on linux box. On Debian & Ubuntu follow the instructions :

apt-get install smartmontools

vim /etc/defaults/smartmontools

Uncomment the follwing line

# uncomment to start smartd on system startup
start_smartd=yes

start the service, /etc/init.d/smartmontools start

smartctl -i /dev/hda or dev/sda (Gives you information about harddrive model no, serial no/ vendor details)

If its showing any errors like this “SMART support is: Unavailable”

Run this smartctl -i -d /dev/hda or /dev/sda (This should work).

To know detailed information about harddrive smartctl –all /dev/hda

check man smartctl to know more.