
Only available on ATA drives, and it usually takes several minutes. Conveyance: Intended as a quick test to identify damage incurred during transporting of the device from the drive manufacturer to the computer manufacturer.This test usually takes several hours, depending on the read/write speed of the drive and its size. Long/extended: A longer and more thorough version of the short self-test, scanning the entire disk surface with no time limit.Checks the list of pending sectors that may have read errors, and it usually takes under two minutes. Scans small parts of the drive's surface (area is vendor-specific and there is a time limit on the test). Mechanical test includes seeking and servo on data tracks. Electrical tests might include a test of buffer RAM, a read/write circuitry test, or a test of the read/write head elements. Short: Checks the electrical and mechanical performance as well as the read performance of the disk.Note that sometime between 18.10 and 20.04 the menu option has moved from the "hamburger menu" to the 3 vertical dots menu as shown below. Select the drive of interest then click on the menu button at the upper right corner and choose SMART Data & self tests
CHECK SSD HEALTH LINUX INSTALL
If you have been curious about it, try any of the above ways to find it.Launch the Disks Utility (If you don't have it already, you can install Disks via the Software Center or open a terminal and issue the command sudo apt-get install gnome-disk-utility.

In this article, we have discussed the ways to check if the disk is HDD or SSD in a Linux operating system like Ubuntu 20.04 LTS server. With the above command, if the drive is SSD then the output will be as shown below.Īnd, if the drive is HDD then the output will be as shown below. $ sudo smartctl -a /dev/sda | grep 'Rotation Rate'

$ sudo systemctl start smartdĪs the smartd service is running, run the command as shown below to check if you are using HDD or SSD. If it is not active by default, you can start it with the command as shown below. Now check if the smartd service is running or not with the following command. So to install such a tool on ubuntu 20.04 LTS server, you can run the command as shown below. As the smart monitoring tool is such a package which consists of the unique command line tool called smartctl. This is the smart way to check the disk type if it is SSD or HDD. Checking with the use of monitoring tool- smartctl Here, the value is also 1 which means the disk type is Hard disk drive(HDD). If the value is 0 then it is an SSD.Īnother example of checking if the disk is rotational, run the command as shown below. Here, the value is 1 which means the disk type is Hard disk drive(HDD). For further details, run the command as shown below. To check that value, you have to print the value of /sys/block/ sdX/queue/rotational. If it is rotational then the value must be 1, if not then it is 0. To verify if you are using an SSD or HDD, you have to check if it is rotational or not. Hard disk drive (HDD) works with the rotation of the disk while SSD does not have such rotational disk.

Here, you can see 1 on the above screenshot for the ROTA value of sda, vda which means it is HDD. To be clear, if the ROTA value is 1, then your disk type is HDD and if the ROTA value is 0 then it is SSD.

Then to check the disk types, run the following command by using lsblk as shown below. If the lsblk command is not found on your Linux distribution like Ubuntu 20.04 then you can install it with the command below. It is due to the rotational feature of the disk. To check the disk type if it is SSD or HDD in Linux, we can use lsblk command. In this article, we are going to discuss the ways to check if it is an SSD or HDD on Ubuntu 20.04 LTS server. The Linux operating system can automatically detect SSD since the kernel 2.6.29 was introduced. There are different methods to verify and check if you are using an SSD or HDD. If so, checking the type of disk drive is quite easy on Linux. At some moment, you must have been curious to know if you are using Solid State Drive (SSD) or Hard Disk Drive (HDD) on your Laptop/pC.
