Currently, most hard disks have SMART functions. SMART is short for SelfMonitoringAnalysisAndReportingTechnology. However, to enable the SMART function, you must enable it in the BIOS. After enabling it, you can use various SMART tools to check the hard disk status, there are also many SMART tools in Ubuntu, such as smartctl. You need to install the smartmontools package: $ sud.
Currently, most hard drives have SMART functions. SMART is short for Self Monitoring Analysis And Reporting Technology. To enable SMART functions, you must enable it in BIOS, after enabling the tool, you can use a variety of SMART tools to check the hard disk status. Of course, there are also a number of SMART tools in Ubuntu, such as smartctl. You need to install the smartmontools package:
$ Sudo apt-get install smartmontools
After the installation is complete, you can use the smartctl command to view the basic information of the hard disk:
$ Sudo smartctl-I/dev/sda // hda for IDE Hard Disk
The SMART basic information of the first SATA (or SCSI) hard disk will be returned, as shown below:
We can see whether the hard disk model, serial number, firmware version, and SMART functions are supported and enabled. Such use and interface is only plain text and readable, to obtain more information, more parameters are required. Therefore, someone writes a gnome gui application based on smartctl, called GSmartControl, this graphic tool can help us better obtain the hard disk SMART information.
GSmartControl has not been added to the Ubuntu source, we need to download the author's packaged Deb package: http://www.linuxidc.com/Linux/2009-02/18508.htm
You can double-click the Deb package under GNOME or use the dpkg-I command to install the package. After installation, You can see "GSmartControl" under "application"> "System Tools ", after the disk is started, a list of recognized hard disks is displayed, as shown in: