Why is that? It is ok for the 2nd drive which is external usb ssd.
SMART option greyed out
This can happen with NVMe SSD's. You need to install NVMe SSD specific SMART tools:
sudo apt install nvme-cli
Then run the program to report health of drive:
$ sudo nvme smart-log /dev/nvme0 Smart Log for NVME device:nvme0 namespace-id:ffffffff critical_warning : 0 temperature : 40 C available_spare : 100% available_spare_threshold : 10% percentage_used : 0% data_units_read : 28,167,888 data_units_written : 19,397,424 host_read_commands : 561,183,142 host_write_commands : 171,788,833 controller_busy_time : 1,354 power_cycles : 2,385 power_on_hours : 1,363 unsafe_shutdowns : 133 media_errors : 0 num_err_log_entries : 608 Warning Temperature Time : 0 Critical Composite Temperature Time : 0 Temperature Sensor 1 : 40 C Temperature Sensor 2 : 51 C
The most important data point is:
percentage_used : 0%
When it hits 100% it is time worry about replacing your drive. That said this drive is two years old and still at
NVME Support was added to smartmontools starting from version 6.5. Please note, that currently NVMe support is considered as experimental.
You can check your current version with the command
apt-cache policy smartmontools
The latest version for 16.04 LTS in the repositories ATM is 6.4+svn4214-1 which doesn't have this feature. However it appears that the versions available for artful, bionic and cosmic do have it. Newer packages can often be found here. Alternatively, you can install from source or try a daily build.
For more details on the current status of NVMe support in
smartmontools check the wiki.
Info on USB SMART support in
smartmontools can be found here.
In my computer I have
an nvme drive
Lubuntu 18.04.x LTS with
Disks version 3.28.3 - the "S.M.A.R.T. data self test" is greyed out.
smartmontools version 6.5+svn4324-1 - the "SMART overall-health self-assessment test" works.
So I suggest that you install the package
smartmontools and use the tool