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):
sudo smartctl -i /dev/sdX
You can a short test on the SSD with this command:
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):
sudo smartctl -i /dev/sdX
You can a short test on the SSD with this command:
sudo smartctl -t short -a /dev/sdX
Or also a long test with this command:
sudo smartctl -t long -a /dev/sdX