Ubuntu

How to Check SSD in Ubuntu

The SSD or Solid-State Device is a super-fast storage device with amazing read and write speeds. It is way better than traditional Hard Drives. There are two types of SSDs, and they are the latest generation: NVMEs or old SATA SSDs.

Any system’s performance is directly dependent on the storage device’s performance. And when the storage’s performance is not good, you will face a slow loading speed on your system.

How are you going to check your SSD’s health? Well, we got you covered because today we are going to show you how to check your SSD’s health in Ubuntu.

There are two methods to do so:

  1. Through Graphical User Interface (GUI)
  2. Through Terminal

First, we will go through GUI in which we will be using the Disks application. You can launch the Disks by pressing the Windows key on your keyboard and then typing Disks in the search and then clicking on the Disks application.

Step 1: Now, when it is launched you will have to click on the SSD whose health you want to check on the left side of the launched application.

Step 2: Now, you will see the 3 dots on the upper right side, click it and you will see a drop-down, select Smart Data & Self Tests.

Step 3: Now, we will see another window and there you will see the status of your SSD.

We will be going with the Terminal in which we will be using the following commands to check the status of our NVME SSD.

Step 1: First, we will have to install the NVME-CLI using the following command:

sudo apt-get install nvme-cli

Once the terminal has finished installation, we will move to the next step

Step 2: We will now list all disks using this command:

sudo nvme list

Step 3: We will now see the details of our NVME SSD using the following command:

sudo nvme smart-log /dev/nvme0

Note: “nvme0” is the name of my disk so choose yours accordingly.

Step 4: We will now see the status using this command:

sudo watch -n 1 nvme smart-log /dev/nvme0

This will now show the health of our NVME SSD, and we can check the temperatures using the following command:

sudo nvme smart-log /dev/nvme0 | grep "^temperature"

Conclusion

A healthy storage system means a healthy system with fast loading speeds, and we are supposed to keep a lookout so that we can get the desired performance. After reading the guide and following all steps accordingly, you can easily see the health status of your SSD.

We used both GUI and Terminal and you can use either one of them depending on your taste.

About the author

Karim Buzdar

Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various web sites. He blogs at LinuxWays.