cross-posted from: https://feddit.de/post/429668

When I run smartctl -Ai -d megaraid,0 /dev/sda I only get the following output:

smartctl 6.5 2016-05-07 r4318 [x86_64-linux-4.19.0+1] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               NVMe
Product:              SAMSUNG MZQLB7T6
Revision:             502Q
Compliance:           SPC-5
User Capacity:        7,681,501,126,656 bytes [7.68 TB]
Logical block size:   512 bytes
LU is resource provisioned, LBPRZ=0
Rotation Rate:        Solid State Device
Logical Unit id:      REDACTED
Serial number:        REDACTED
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Wed Oct 26 REDACTED
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
Current Drive Temperature:     33 C
Drive Trip Temperature:        86 C

I expected to see stuff like Total_Writes_GiB (TBW) or other “Vendor Specific SMART Attributes” I get on other systems, including the SMART log.

How can I get the complete SMART data here? Is it possible to use nvme to show the statistics as it seems to be an NVMe-attached drive? nvme list only shows me the disks not connected through the MegaRAID controller…

  • poVoq
    link
    fedilink
    31 year ago

    Try with -x to get all output. Or look at the other possible parameters with -h

    • Helix 🧬OP
      link
      fedilink
      21 year ago

      I already tried -x, didn’t give me more :( same with -A and basically anything in -l.

      I wonder if the drive actually has more SMART capabilities than the temperature, because I couldn’t find anything in the data sheet either.

      I’ll probably have to call Samsung itself…

      • poVoq
        link
        fedilink
        2
        edit-2
        1 year ago

        Maybe this helps: https://www.thomas-krenn.com/de/wiki/SMART_Werte_von_NVMe_SSDs_auslesen

        Its in German but I assume you can figure it out ;)

        It’s odd though, normally NVMe drives are not on /dev/sdx (edit: I guess because it is connected through SAS?)

        Edit: Maybe that raid-controller is stripping the SMART data? I have seen that happening with other adapters, but for a raid controller that would be a bit odd.

        • Helix 🧬OP
          link
          fedilink
          11 year ago

          Maybe this helps: https://www.thomas-krenn.com/de/wiki/SMART_Werte_von_NVMe_SSDs_auslesen Its in German but I assume you can figure it out ;)

          As a German? Never :p

          Tried that, but sadly the nvme-cli tool doesn’t have an option for MegaRAID controllers.

          It’s odd though, normally NVMe drives are not on /dev/sdx (edit: I guess because it is connected through SAS?)

          Yes, probably because of that. It’s a U.2 disk.

          Maybe that raid-controller is stripping the SMART data?

          Maybe, but how do I stop it from doing that?