GSmart Control – Linux Disk Scanning Tool ii. $ sudo yum install gsmartcontrol #RHEL/CentOS systems There is a GUI front-end for smartctl called gsmartcontrol which can be installed as follows: $ sudo apt-get install gsmartcontrol #Debian/Ubuntu systems Look through the smartctl man page for more usage guidelines: $ man smartctl The following is an example of a smartctl command for reporting hard disk partition health where the option -H helps to show the general partition health condition after a self-test: $ sudo smartctl -H /dev/sda6 $ sudo yum install smartmontools #RHEL/CentOS systems To install smartmontools package, run the applicable command below for your distro: $ sudo apt-get install smartmontools #Debian/Ubuntu systems It is a command line utility which controls and monitors the S.M.A.R.T system. Smartctl is one of the two utilities under the smartmontools package. It collects in-depth information about a supported hard disk and you can get that data using the utilities below. S.M.A.R.T ( Self-Monitoring, Analysis and Reporting Technology) is a system built into nearly all modern ATA/SATA and SCSI/SAS hard disks as well as solid-state disks. Assuming you detect any bad blocks on your hard disk, you can use it together with fsck or e2fsck to instruct the kernel not to use the bad blocks.įor more information on how to check bad blocks using badblock utility, read: How to Check Bad Sectors or Bad Blocks on Hard Disk in Linux. badblockīadblocks is a utility for scanning bad blocks or bad sectors in hard disks. Once you have performed filesystem inconsistency tests, you proceed to carry out physical condition assessments. You can find detailed usage instructions in the fsck man page: $ man fsck Warning: Try out fsck commands on test Linux servers only, unless you know what you’re doing.Īlways unmount a partition first before you can run fsck on it. It is a front-end for several filesystem checkers. fsck – Filesystem Consistency Checkįsck is a system utility used to check and optionally repair a Linux filesystem. In case you notice any unusual behavior from a computer hard disk or a particular partition, one of the first things you can always investigate is filesystem inconsistency or errors and there is no other better utility for performing this other than fsck. In this article, we will review a mix of GUI and terminal based disk scanning utilities for Linux. Suggested Read: How to Repair and Defragment Linux Partitions There mainly two reasons for scanning a computer hard disk: one is to examine it for filesystem inconsistencies or errors that can result from persistent system crashes, improper closure of critical system software and more significantly by destructive programs (such as malware, viruses etc).Īnd another is to analyze its physical condition, where we can check a hard disk for bad sectors resulting from physical damage on the disk surface or failed memory transistor.
0 Comments
Leave a Reply. |