Categories: 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.

Sponsored

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:

Sponsored
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.

Ubuntu Server Admin

Recent Posts

Web Engineering: Celebrating Our Third Annual Hack Week

The Web Engineering team is thrilled to announce the successful conclusion of our third annual…

1 day ago

🚀 Deploy Flowise + Kubernetes + Helm on Ubuntu VPS (10-Step Guide)

Here’s a step-by-step guide to deploy FlowiseAI (commonly just Flowise) on a Ubuntu VPS using…

2 days ago

Azure VM utils now included in Ubuntu: boosting cloud workloads

Ubuntu images on Microsoft Azure have recently started shipping with the open source package azure-vm-utils…

2 days ago

Edge Networking gets smarter: AI and 5G in action

Organizations everywhere are pushing AI and networks closer to the edge. With that expansion comes…

2 days ago

When Your Hash Becomes a String: Hunting Ruby’s Million-to-One Memory Bug

Every developer who maintains Ruby gems knows that sinking feeling when a user reports an…

4 days ago