Saturday, February 5, 2022

SMART utility for Linux

One utility to check the SMART data for a local drive within Linux can be installed via the command below:

sudo apt install smartmontools

The -H flag will check the current health of a drive

sudo smartctl -H /dev/sda

The -i flag will display details of the drive

sudo smartctl -i /dev/sda

The --test=short flag will perform a check of the drive

sudo startclt --test=short /dev/sda

The -a flag will display the results of the test

sudo smartctl -a /dev/sda





No comments:

Post a Comment

Note: Only a member of this blog may post a comment.