PhiloEpisteme
Guru
- Joined
- Oct 18, 2018
- Messages
- 969
Hey folks,
Apologies if there is a thread already related to this, I was unable to find it in my searches. My basic issue is that I am seemingly unable to run the short and long tests on my Samsung 970 EVO drives despite their website listing these drives as supporting SMART.
This is a test system I put together out of parts I had lying around plus a few purchases I plan to use for other things. I intend to get more familiar with FreeNAS on this system prior to using a more appropriate MOBO and adding more drives and vdevs.
Build FreeNAS-11.1-U6
Platform Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
Memory 16196MB
Motherboard Asus ROG STRIX H370-I GAMING
Drives
2x Samsung SSD 970 EVO 250GB
1x Western Digital SSD WDC WDS120G2G0A-00JH30 120GB
2x Seagate Constellation DHH ST3000NM0033-9ZM178 3TB
Pools
Boot Pool
vdev: Mirrored 2x Samsung 970s
Boot Pool
vdev: WD SSD
Storage Pool
vdev: Mirrored 2x Seagate Drives
I have two boot pools because my first boot device, the WD SSD, reported the following error in the UI
I then reinstalled the same version of FreeNAS on the mirrored 2x Samsung 970s. This was a great bit of practice reimporting encrypted storage pools and importing configuration.
One of the drives in the Samsung pool lists the same error at boot time.
As part of my learning process I wanted to go through system burn in, this was a great opportunity. I rebooted the system and loaded the OS off of the single WD SSD. This is where things got a bit strange. Put simply, I cannot seem to get the short or long SMART tests to work on the Samsung drives. Samsung's site lists them as having SMART support but
How I tried to run the tests.
Use smartctl -h to get a usage summary
nvd drives seem to not be supported by smartctl. If I use -d nvme I get a hint though
I looked and sure enough, there exists a /dev/nvme0 and /dev/nvme1 device despite these drives being listed as nvd from geom. I used
Okay great, so I try the tests.
This output is markedly different from what I see if I run the same command on say one of the SSDs or HDDs.
Further, I cannot seem to find any test results for either the short or long tests on either nvme drive.
So, how do I run SMART tests on these drives? And why does geom report them as nvd0 and nvd1 yet smartctl only is able to display information about nvme0 and nvme1?
I truncated some of the output for readability, happy to provide fuller logs if they prove useful.
Apologies if there is a thread already related to this, I was unable to find it in my searches. My basic issue is that I am seemingly unable to run the short and long tests on my Samsung 970 EVO drives despite their website listing these drives as supporting SMART.
This is a test system I put together out of parts I had lying around plus a few purchases I plan to use for other things. I intend to get more familiar with FreeNAS on this system prior to using a more appropriate MOBO and adding more drives and vdevs.
Build FreeNAS-11.1-U6
Platform Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
Memory 16196MB
Motherboard Asus ROG STRIX H370-I GAMING
Drives
2x Samsung SSD 970 EVO 250GB
1x Western Digital SSD WDC WDS120G2G0A-00JH30 120GB
2x Seagate Constellation DHH ST3000NM0033-9ZM178 3TB
Pools
Boot Pool
vdev: Mirrored 2x Samsung 970s
Boot Pool
vdev: WD SSD
Storage Pool
vdev: Mirrored 2x Seagate Drives
I have two boot pools because my first boot device, the WD SSD, reported the following error in the UI
Code:
The boot volume state is DEGRADED: One or more devices has experienced an error resulting in data corruption. Applications may be affected.
I then reinstalled the same version of FreeNAS on the mirrored 2x Samsung 970s. This was a great bit of practice reimporting encrypted storage pools and importing configuration.
One of the drives in the Samsung pool lists the same error at boot time.
As part of my learning process I wanted to go through system burn in, this was a great opportunity. I rebooted the system and loaded the OS off of the single WD SSD. This is where things got a bit strange. Put simply, I cannot seem to get the short or long SMART tests to work on the Samsung drives. Samsung's site lists them as having SMART support but
smartctl -i <device>
does not list it.How I tried to run the tests.
Code:
$ geom disk list Geom name: nvd0 Providers: 1. Name: nvd0 Mediasize: 250059350016 (233G) <truncated> Geom name: nvd1 Providers: 1. Name: nvd1 Mediasize: 250059350016 (233G) <truncated> Geom name: ada0 Providers: 1. Name: ada0 Mediasize: 120040980480 (112G) <truncated> Geom name: ada1 Providers: 1. Name: ada1 Mediasize: 3000592982016 (2.7T) <truncated> Geom name: ada2 Providers: 1. Name: ada2 Mediasize: 3000592982016 (2.7T) <truncated> $ sudo smartctl -t short /dev/nvd0 Password: smartctl 6.6 2017-11-05 r4594 [FreeBSD 11.1-STABLE amd64] (local build) Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org /dev/nvd0: Unable to detect device type Please specify device type with the -d option.
Use smartctl -h to get a usage summary
nvd drives seem to not be supported by smartctl. If I use -d nvme I get a hint though
Code:
$ sudo smartctl -t short -d nvme /dev/nvd0 smartctl 6.6 2017-11-05 r4594 [FreeBSD 11.1-STABLE amd64] (local build) Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org Smartctl open device: /dev/nvd0 failed: NVMe controller controller/namespace ids must begin with '/dev/nvme'
I looked and sure enough, there exists a /dev/nvme0 and /dev/nvme1 device despite these drives being listed as nvd from geom. I used
smartctl -i /dev/nvme0
to make sure that this is the device I expect, and sure enough I see Model Number: Samsung SSD 970 EVO 250GBOkay great, so I try the tests.
Code:
$ sudo smartctl -t short /dev/nvme0 NVMe device successfully opened Use 'smartctl -a' (or '-x') to print SMART (and more) information
This output is markedly different from what I see if I run the same command on say one of the SSDs or HDDs.
Code:
$ sudo smartctl -t short /dev/ada0 === START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION === Sending command: "Execute SMART Short self-test routine immediately in off-line mode". Drive command "Execute SMART Short self-test routine immediately in off-line mode" successful. Testing has begun. Please wait 2 minutes for test to complete. Test will complete after Wed Nov 7 20:54:13 2018 Use smartctl -X to abort test.
Further, I cannot seem to find any test results for either the short or long tests on either nvme drive.
So, how do I run SMART tests on these drives? And why does geom report them as nvd0 and nvd1 yet smartctl only is able to display information about nvme0 and nvme1?
I truncated some of the output for readability, happy to provide fuller logs if they prove useful.