Explore information related to how to check ssd or hdd in ubuntu
Methods to Check SSD or HDD in Ubuntu 20.04 LTS Linux server
This article covers the different methods to check if the disk is HDD or SSD in a Linux operating system like Ubuntu 20.04 LTS server. In fact, Checking SSD/HDD health in Linux will help you to identify failed drives and they can be replaced before any data loss occurs. Therefore, If you are a system administrator and responsible for managing Linux systems in Datacenter, then, it is recommended to check the health of the SSD and HDD drives regularly.
Checking SSD/HDD health in Linux will help you to identify failed drives and they can be replaced before any data loss occurs.
How to use SMART monitoring tools in Linux ?
Smart monitoring tools is a control and monitoring utility for SATA, SCSI hard drives and solid state drive. The tool comes with a command called 'smartctl'.
Use yum to check which package provides smartctl command:
# yum provides smartctl
The output will suggest that smartmontools is the package that distributes smartctl command.
To Install smartmontools, run:
# yum install smartmontools
Use smartctl command:
# smartctl -a /dev/sda