How do I perform a S.M.A.R.T. check on NVME boot disk?

I’d like to perform a S.M.A.R.T. check on my new NVME boot disk. However, under Storage > Disks > choosing the disk > Manual Test I get the message that this disk does support S.M.A.R.T. tests.

I’m pretty sure that this is not true as I performed several tests after I purchased it.

So, what are my options? Would the reason be that boot disks for some reason cannot be scanned?

It is due to how devices are named.

In linux /dev/sda is a block device, and /dev/sg0 is the related controller (character-device). NVMe disks do not have the same split. /dev/nvme0 is not the equivalent block device for an NVME slot, but rather the controller (character device). Instead try using /dev/nvme0n1.

This may be a bug in TrueNAS - that it that the middleware is not using the correct device name for NVME disks.