Why is that? It is ok for the 2nd drive which is external usb ssd.

- 794

- 739
- 4
- 10
- 26
-
2Probably your SSD does not support S.M.A.R.T. – mook765 Apr 28 '17 at 08:06
-
The problem is the USB adapter. – Apr 28 '17 at 15:21
-
1its a built it nvme ssd in lenovo x1 yoga laptop the other is external ssd drive which is fine and can run a SMART. But yeah the one that is grayed out is the main OS partition and is mounted – user240891 Apr 29 '17 at 16:50
4 Answers
From How can I check the SMART status of a SSD or HDD on current versions of Ubuntu 14.04 through 18.10?:
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
0%

- 102,282
-
5installing this did not fix the disabled options in the gnome app disks (ubuntu 21.04) – Tim Richardson Jul 15 '21 at 23:21
-
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.

- 36,023
- 25
- 98
- 183
Not all USB adapters support SMART. I have 2: one of them supports it, the other one not. Both of them USB3

- 353
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 smartctl
.

- 46,324
- 5
- 88
- 152
-
1OP is on Ubuntu 16.04 (at time of writing question in 2017). Will the new version install on an old LTS? Also is there a link to product description with screenshots? – WinEunuuchs2Unix Nov 25 '19 at 12:49
-
@WinEunuuchs2Unix, Good catch about the version :-) I am not sure if the new version installs on an old LTS. But the test can be done from a newer Ubuntu version running live (without installing nvme-cli). Still Disks has it greyed out for nvme. -- What product description are you asking for (the nvme or the connecting chain PCI-e card, motherboard)? – sudodus Nov 25 '19 at 13:00