I recently installed Ubuntu Mate on my Raspberry pi 4 4GB model. I followed the steps to set up the pi4 to boot from usb nvme ssd drive and it works great.
Any attempts to read the SMART info is limited. Smartmontools and nvme-cli tools do not seem to like the fact teh nvme ssd is usb attached and not native on a local m.2 connector.
The system mounts the drives as /dev/sda1 and 2 not as /dev/nvmexxxx so does this cause "smart" commands to not work completely? What am I missing in order to get the full info out of my usb nvme m2 ssd drive??
Here is the output of one command:
terlp@terlp-desktop:~$ sudo smartctl -x /dev/sda2
smartctl 7.1 2019-12-30 r5022 [aarch64-linux-5.4.0-1015-raspi] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: XPG GAMM
Product: IX S11 Pro
Revision: 0208
Compliance: SPC-4
User Capacity: 256,060,514,304 bytes [256 GB]
Logical block size: 512 bytes
Physical block size: 4096 bytes
LU is fully provisioned
Rotation Rate: Solid State Device
Logical Unit id: 0x3044564198838160
Serial number: DD564198838A6
Device type: disk
Local Time is: Wed Aug 12 14:20:56 2020 EDT
SMART support is: Unavailable - device lacks SMART capability.
Read Cache is: Enabled
Writeback Cache is: Enabled
=== START OF READ SMART DATA SECTION ===
Current Drive Temperature: 0 C
Drive Trip Temperature: 0 C
Error Counter logging not supported
Device does not support Self Test logging
Device does not support Background scan results logging
terlp@terlp-desktop:~$