smartctl : Disk information Print E-mail
(1 vote, average: 5.00 out of 5)
Written by geekyB   
Monday, 22 December 2008 15:50
smartctl is a Linux command that controls the Self-Monitoring, Analysis and Reporting Technology (SMART) system built into many ATA-3 and later ATA, IDE and SCSI-3 hard drives. The purpose of SMART is to monitor the reliability of the hard drive and predict drive failures, and to carry out different types of drive self-tests. "smartctl" can be used to know various information about the disks in your Linux system.


Device information : To know about the model, make and serial number of the disk, use "smartctl -a"

[root@geekyB ~]# smartctl -a /dev/sdb
smartctl version 5.36 [x86_64-redhat-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Device: FUJITSU  MYB2008RX        Version: D406
Serial number: BS03P88888R6
Device type: disk
Transport protocol: SAS
Local Time is: Mon Dec 22 07:43:09
Device supports SMART and is Enabled
Temperature Warning Disabled or Not Supported
..


Know your disk speed : To know the speed of disk in your system, you need "sg3_utils" package to be installed. sginfo command gives you the disk speed and some other additional information.

[root@geekyB ~]# sginfo -a /dev/sdb | grep "Rotational Rate"
Rotational Rate                    10025
[root@geekyB ~]#

Last Updated on Monday, 22 December 2008 15:57