How can I check the SMART status of a drive under 14.04 and beyond? I've seen Checking HD SMART status on a fresh install but it doesn't seem to apply under 14.04 and later.
hard drive - How can I check the SMART status of a SSD or HDD on ...
Install Gnome Disk Utility and check tests for wear-leveling-count and SMART Data or any similar. The higher the reported percentage, the more worn your SSD is, which means you are more likely to encounter problems. Install using: apt-get install gnome-disk-utility Launch via command line sudo palimpsest or via the application menu under the name Disk Utility.
Since SSD drives are designed to use completely different parameters than HDDs, most SMART utilities do not report SSD data correctly. The smartmontools package for Linux contains a utility to scan for SSDs which will report drive health. Install the smartmontools package from the command line: sudo apt install smartmontools Then use the smartctl tool with the following command where X is the letter of the SSD you want to test (in your case it would be /dev/nvme0n1p1 instead of /dev/sdX ...
Disks To check for bad sectors check the SMART data, probably the best accessible by launching the Disks utility (Palimpsest). Even if you don't see any bad blocks there, launch a self-test to be sure. The program is bundled in the gnome-disk-utility package. Run gksudo gnome-disks Or in Ubuntu 16.04 version (3.18): Badblocks You can also use badblocks sudo badblocks -sv /dev/sda to just check, or to check and fix first write the result to a temporary file: sudo badblocks -sv /dev/sda > bad ...