8000 drivedb.h: Add TerraMaster D8 Hybrid (0x5432:0x1352) by Elkasitu · Pull Request #338 · smartmontools/smartmontools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

drivedb.h: Add TerraMaster D8 Hybrid (0x5432:0x1352) #338

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Elkasitu
Copy link
@Elkasitu Elkasitu commented May 3, 2025

Tested and working with both SATA and NVMe drives

@Elkasitu Elkasitu force-pushed the terramaster-d8-hybrid-drivedb branch from d302c4d to 1fc420c Compare May 3, 2025 10:13
@chrfranke chrfranke added drivedb Entries to the drivedb.h undecided labels May 3, 2025
@chrfranke
Copy link
Contributor

Tested and working with both SATA and NVMe drives

Please provide sample smartctl -x -a outputs for a SATA and a NVMe drive. For SATA, it is important to check whether 48-bit ATA commands (which are not used by smartctl -a) work properly.

Which -d snt... option works with NVMe drives?

If possible, please try this option with /sat appended to check whether the new NVMe/SATA autodetection works. This requires new smartctl 7.5.

@chrfranke chrfranke changed the title drivedb.h: Add TerraMaster D8 Hybrid drivedb.h: Add TerraMaster D8 Hybrid (0x5432:0x1352) May 3, 2025
@Elkasitu
Copy link
Author
Elkasitu commented May 3, 2025

Tested and working with both SATA and NVMe drives

Please provide sample smartctl -x -a outputs for a SATA and a NVMe drive. For SATA, it is important to check whether 48-bit ATA commands (which are not used by smartctl -a) work properly.

SATA drive
# smartctl -x -a /dev/sda
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.12.12+bpo-amd64] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     HGST Ultrastar He10
Device Model:     HGST HUH721010ALE600
Serial Number:    **redacted**
LU WWN Device Id: **redacted**
Firmware Version: LHGNT384
User Capacity:    10,000,831,348,736 bytes [10.0 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Form Factor:      3.5 inches
Device is:        In smartctl database 7.3/5706
ATA Version is:   ACS-2, ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sat May  3 20:30:33 2025 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Unavailable
APM feature is:   Disabled
Rd look-ahead is: Enabled
Write cache is:   Enabled
DSN feature is:   Unavailable
ATA Security is:  Disabled, NOT FROZEN [SEC1]
Wt Cache Reorder: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82)	Offline data collection activity
					was completed without error.
					Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever
					been run.
Total time to complete Offline
data collection: 		(   93) seconds.
Offline data collection
capabilities: 			 (0x5b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					No Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 (1115) minutes.
SCT capabilities: 	       (0x003d)	SCT Status supported.
					SCT Error Recovery Control supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  1 Raw_Read_Error_Rate     PO-R--   100   100   016    -    0
  2 Throughput_Performance  P-S---   134   134   054    -    96
  3 Spin_Up_Time            POS---   100   100   024    -    0
  4 Start_Stop_Count        -O--C-   100   100   000    -    79
  5 Reallocated_Sector_Ct   PO--CK   100   100   005    -    0
  7 Seek_Error_Rate         PO-R--   100   100   067    -    0
  8 Seek_Time_Performance   P-S---   128   128   020    -    18
  9 Power_On_Hours          -O--C-   093   093   000    -    49337
 10 Spin_Retry_Count        PO--C-   100   100   060    -    0
 12 Power_Cycle_Count       -O--CK   100   100   000    -    79
 22 Helium_Level            PO---K   100   100   025    -    100
192 Power-Off_Retract_Count -O--CK   099   099   000    -    1317
193 Load_Cycle_Count        -O--C-   099   099   000    -    1317
194 Temperature_Celsius     -O----   153   153   000    -    39 (Min/Max 22/41)
196 Reallocated_Event_Count -O--CK   100   100   000    -    0
197 Current_Pending_Sector  -O---K   100   100   000    -    0
198 Offline_Uncorrectable   ---R--   100   100   000    -    0
199 UDMA_CRC_Error_Count    -O-R--   200   200   000    -    0
                            ||||||_ K auto-keep
                            |||||__ C event count
                            ||||___ R error rate
                            |||____ S speed/performance
                            ||_____ O updated online
                            |______ P prefailure warning

General Purpose Log Directory Version 1
SMART           Log Directory Version 1 [multi-sector log support]
Address    Access  R/W   Size  Description
0x00       GPL,SL  R/O      1  Log Directory
0x01           SL  R/O      1  Summary SMART error log
0x02           SL  R/O      1  Comprehensive SMART error log
0x03       GPL     R/O      1  Ext. Comprehensive SMART error log
0x04       GPL     R/O    256  Device Statistics log
0x04       SL      R/O    255  Device Statistics log
0x06           SL  R/O      1  SMART self-test log
0x07       GPL     R/O      1  Extended self-test log
0x08       GPL     R/O      2  Power Conditions log
0x09           SL  R/W      1  Selective self-test log
0x0c       GPL     R/O   5501  Pending Defects log
0x10       GPL     R/O      1  NCQ Command Error log
0x11       GPL     R/O      1  SATA Phy Event Counters log
0x12       GPL     R/O      1  SATA NCQ Non-Data log
0x13       GPL     R/O      1  SATA NCQ Send and Receive log
0x15       GPL     R/W      1  Rebuild Assist log
0x21       GPL     R/O      1  Write stream error log
0x22       GPL     R/O      1  Read stream error log
0x24       GPL     R/O    256  Current Device Internal Status Data log
0x25       GPL     R/O    256  Saved Device Internal Status Data log
0x30       GPL,SL  R/O      9  IDENTIFY DEVICE data log
0x80-0x9f  GPL,SL  R/W     16  Host vendor specific log
0xe0       GPL,SL  R/W      1  SCT Command/Status
0xe1       GPL,SL  R/W      1  SCT Data Transfer

SMART Extended Comprehensive Error Log Version: 1 (1 sectors)
No Errors Logged

SMART Error Log Version: 1
No Errors Logged

SMART Extended Self-test Log Version: 1 (1 sectors)
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     49325         -
# 2  Short offline       Completed without error       00%     49301         -
# 3  Short offline       Completed without error       00%     49277         -
# 4  Short offline       Completed without error       00%     49253         -
# 5  Short offline       Completed without error       00%     49229         -
# 6  Short offline       Completed without error       00%     49193         -
# 7  Short offline       Completed without error       00%     49170         -
# 8  Short offline       Completed without error       00%     49146         -
# 9  Short offline       Completed without error       00%     49132         -
#10  Short offline       Completed without error       00%     49123         -

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     49325         -
# 2  Short offline       Completed without error       00%     49301         -
# 3  Short offline       Completed without error       00%     49277         -
# 4  Short offline       Completed without error       00%     49253         -
# 5  Short offline       Completed without error       00%     49229         -
# 6  Short offline       Completed without error       00%     49193         -
# 7  Short offline       Completed without error       00%     49170         -
# 8  Short offline       Completed without error       00%     49146         -
# 9  Short offline       Completed without error       00%     49132         -
#10  Short offline       Completed without error       00%     49123         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

SCT Status Version:                  3
SCT Version (vendor specific):       256 (0x0100)
Device State:                        Active (0)
Current Temperature:                    39 Celsius
Power Cycle Min/Max Temperature:     22/40 Celsius
Lifetime    Min/Max Temperature:     22/41 Celsius
Under/Over Temperature Limit Count:   0/0

SCT Temperature History Version:     2
Temperature Sampling Period:         1 minute
Temperature Logging Interval:        1 minute
Min/Max recommended Temperature:      0/60 Celsius
Min/Max Temperature Limit:           -40/70 Celsius
Temperature History Size (Index):    128 (34)

Index    Estimated Time   Temperature Celsius
  35    2025-05-03 18:23    38  *******************
 ...    ..( 59 skipped).    ..  *******************
  95    2025-05-03 19:23    38  *******************
  96    2025-05-03 19:24    39  ********************
  97    2025-05-03 19:25    38  *******************
  98    2025-05-03 19:26    38  *******************
  99    2025-05-03 19:27    38  *******************
 100    2025-05-03 19:28    39  ********************
 101    2025-05-03 19:29    38  *******************
 102    2025-05-03 19:30    38  *******************
 103    2025-05-03 19:31    39  ********************
 104    2025-05-03 19:32    38  *******************
 105    2025-05-03 19:33    39  ********************
 ...    ..( 55 skipped).    ..  ********************
  33    2025-05-03 20:29    39  ********************
  34    2025-05-03 20:30    38  *******************

SCT Error Recovery Control:
           Read: Disabled
          Write: Disabled

Device Statistics (GP Log 0x04)
Page  Offset Size        Value Flags Description
0x01  =====  =               =  ===  == General Statistics (rev 1) ==
0x01  0x008  4              79  ---  Lifetime Power-On Resets
0x01  0x010  4           49337  ---  Power-on Hours
0x01  0x018  6     55683408913  ---  Logical Sectors Written
0x01  0x020  6       407087097  ---  Number of Write Commands
0x01  0x028  6   3715059876931  ---  Logical Sectors Read
0x01  0x030  6     30892573380  ---  Number of Read Commands
0x01  0x038  6    177614697300  ---  Date and Time TimeStamp
0x03  =====  =               =  ===  == Rotating Media Statistics (rev 1) ==
0x03  0x008  4             216  ---  Spindle Motor Power-on Hours
0x03  0x010  4             216  ---  Head Flying Hours
0x03  0x018  4            1317  ---  Head Load Events
0x03  0x020  4               0  ---  Number of Reallocated Logical Sectors
0x03  0x028  4        73986062  ---  Read Recovery Attempts
0x03  0x030  4               1  ---  Number of Mechanical Start Failures
0x04  =====  =               =  ===  == General Errors Statistics (rev 1) ==
0x04  0x008  4               0  ---  Number of Reported Uncorrectable Errors
0x04  0x010  4               1  ---  Resets Between Cmd Acceptance and Completion
0x05  =====  =               =  ===  == Temperature Statistics (rev 1) ==
0x05  0x008  1              39  ---  Current Temperature
0x05  0x010  1              38  N--  Average Short Term Temperature
0x05  0x018  1               -  N--  Average Long Term Temperature
0x05  0x020  1              41  ---  Highest Temperature
0x05  0x028  1              22  ---  Lowest Temperature
0x05  0x030  1              40  N--  Highest Average Short Term Temperature
0x05  0x038  1              22  N--  Lowest Average Short Term Temperature
0x05  0x040  1               -  N--  Highest Average Long Term Temperature
0x05  0x048  1               -  N--  Lowest Average Long Term Temperature
0x05  0x050  4               0  ---  Time in Over-Temperature
0x05  0x058  1              60  ---  Specified Maximum Operating Temperature
0x05  0x060  4               0  ---  Time in Under-Temperature
0x05  0x068  1               0  ---  Specified Minimum Operating Temperature
0x06  =====  =               =  ===  == Transport Statistics (rev 1) ==
0x06  0x008  4               3  ---  Number of Hardware Resets
0x06  0x010  4               0  ---  Number of ASR Events
0x06  0x018  4               0  ---  Number of Interface CRC Errors
0xff  =====  =               =  ===  == Vendor Specific Statistics (rev 1) ==
                                |||_ C monitored condition met
                                ||__ D supports DSN
                                |___ N normalized value

Pending Defects log (GP Log 0x0c)
No Defects Logged

SATA Phy Event Counters (GP Log 0x11)
ID      Size     Value  Description
0x0001  2            0  Command failed due to ICRC error
0x0002  2            0  R_ERR response for data FIS
0x0003  2            0  R_ERR response for device-to-host data FIS
0x0004  2            0  R_ERR response for host-to-device data FIS
0x0005  2            0  R_ERR response for non-data FIS
0x0006  2            0  R_ERR response for device-to-host non-data FIS
0x0007  2            0  R_ERR response for host-to-device non-data FIS
0x0008  2            0  Device-to-host non-data FIS retries
0x0009  2            3  Transition from drive PhyRdy to drive PhyNRdy
0x000a  2            3  Device-to-host register FISes sent due to a COMRESET
0x000b  2            0  CRC errors within host-to-device FIS
0x000d  2            0  Non-CRC errors within host-to-device FIS

For NVMe drives, autodetect seems to work (0bda:9210)

NVMe drive
# smartctl -x -a /dev/sdc
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.12.12+bpo-amd64] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:                       FIKWOT FX550 4TB
Serial Number:                      **redacted**
Firmware Version:                   SN21266
PCI Vendor/Subsystem ID:            0x1e4b
IEEE OUI Identifier:                0x0c82d5
Total NVM Capacity:                 4,096,805,658,624 [4.09 TB]
Unallocated NVM Capacity:           0
Controller ID:                      0
NVMe Version:                       1.4
Number of Namespaces:               1
Namespace 1 Size/Capacity:          4,096,805,658,624 [4.09 TB]
Namespace 1 Formatted LBA Size:     512
Namespace 1 IEEE EUI-64:            0c82d5 0244730122
Local Time is:                      Sat May  3 21:14:28 2025 CEST
Firmware Updates (0x16):            3 Slots, no Reset required
Optional Admin Commands (0x0017):   Security Format Frmw_DL Self_Test
Optional NVM Commands (0x001f):     Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat
Log Page Attributes (0x06):         Cmd_Eff_Lg Ext_Get_Lg
Maximum Data Transfer Size:         128 Pages
Warning  Comp. Temp. Threshold:     90 Celsius
Critical Comp. Temp. Threshold:     95 Celsius

Supported Power States
St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat
 0 +     6.50W       -        -    0  0  0  0        0       0
 1 +     5.80W       -        -    1  1  1  1        0       0
 2 +     3.60W       -        -    2  2  2  2        0       0
 3 -   0.7460W       -        -    3  3  3  3     5000   10000
 4 -   0.7260W       -        -    4  4  4  4     8000   45000

Supported LBA Sizes (NSID 0x1)
Id Fmt  Data  Metadt  Rel_Perf
 0 +     512       0         0

=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

SMART/Health Information (NVMe Log 0x02)
Critical Warning:                   0x00
Temperature:                        36 Celsius
Available Spare:                    100%
Available Spare Threshold:          1%
Percentage Used:                    0%
Data Units Read:                    29,011,924 [14.8 TB]
Data Units Written:                 15,550,673 [7.96 TB]
Host Read Commands:                 142,254,976
Host Write Commands:                25,622,391
Controller Busy Time:               736
Power Cycles:                       388
Power On Hours:                     558
Unsafe Shutdowns:                   22
Media and Data Integrity Errors:    0
Error Information Log Entries:      0
Warning  Comp. Temperature Time:    0
Critical Comp. Temperature Time:    0
Temperature Sensor 1:               36 Celsius
Temperature Sensor 2:               29 Celsius
Thermal Temp. 1 Total Time:         1

Warning: NVMe Get Log truncated to 0x200 bytes, 0x200 bytes zero filled
Error Information (NVMe Log 0x01, 16 of 64 entries)
No Errors Logged

Warning: NVMe Get Log truncated to 0x200 bytes, 0x034 bytes zero filled
Self-test Log (NVMe Log 0x06)
Self-test status: No self-test in progress
No Self-tests Logged

Which -d snt... option works with NVMe drives?

-d sntrealtek

If possible, please try this option with /sat appended to check whether the new NVMe/SATA autodetection works. This requires new smartctl 7.5.

Not yet available in my distribution

@chrfranke
Copy link
Contributor

Thanks. Outputs look good. In future posts, please use Markdown syntax for verbatim text.

An drivedb entry for NVMe+SATA bridges could only be added if the USB bridge behaves sane (returns SCSI error, does NOT disconnect the device) if the wrong option is specified. If possible, please test what happens when -d sntrealtek is used with a SATA drive and when -d sat is used with a NVMe drive.

Not yet available in my distribution

CI builds are available at https://builds.smartmontools.org/. Release 7.5 is r5714. The smartctl in usr/local/sbin is self-contained and could be run from any directory.

@Elkasitu
Copy link
Author
Elkasitu commented May 4, 2025
-d sat with an NVMe drive
# smartctl -x -a -d sat /dev/sdc
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.12.12+bpo-amd64] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     FIKWOT FX550 4TB
Serial Number:    **redacted**
Firmware Version: SN21266
Device is:        Not in smartctl database 7.3/5706
ATA Version is:   [No Information Found]
Local Time is:    Sun May  4 19:36:25 2025 CEST
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported.
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't show if SMART is enabled.
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
-d sntrealtek with a SATA drive
# smartctl -x -a -d sntrealtek /dev/sdb
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.12.12+bpo-amd64] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:
Serial Number:
Firmware Version:
PCI Vendor/Subsystem ID:            0x0000
IEEE OUI Identifier:                0x000000
Controller ID:                      0
NVMe Version:                       <1.2
Number of Namespaces:               0
Local Time is:                      Sun May  4 19:41:52 2025 CEST
Firmware Updates (0x00):            0 Slots

Supported Power States
St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat
 0 +     0.00W       -        -    0  0  0  0        0       0

=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

SMART/Health Information (NVMe Log 0x02)
Critical Warning:                   0x00
Temperature:                        -
Available Spare:                    0%
Available Spare Threshold:          0%
Percentage Used:                    0%
Data Units Read:                    0
Data Units Written:                 0
Host Read Commands:                 0
Host Write Commands:                0
Controller Busy Time:               0
Power Cycles:                       0
Power On Hours:                     0
Unsafe Shutdowns:                   0
Media and Data Integrity Errors:    0
Error Information Log Entries:      0

Error Information (NVMe Log 0x01, 1 of 1 entries)
No Errors Logged

Self-tests not supported
-d sntrealtek/sat with an NVMe drive
# ./usr/local/sbin/smartctl -x -a -d sntrealtek/sat /dev/sdc
smartctl 7.5 2025-04-30 r5714 [x86_64-linux-6.12.12+bpo-amd64] (CircleCI)
Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:                       FIKWOT FX550 4TB
Serial Number:                      **redacted**
Firmware Version:                   SN21266
PCI Vendor/Subsystem ID:            0x1e4b
IEEE OUI Identifier:                0x0c82d5
Total NVM Capacity:                 4,096,805,658,624 [4.09 TB]
Unallocated NVM Capacity:           0
Controller ID:                      0
NVMe Version:                       1.4
Number of Namespaces:               1
Namespace 1 Size/Capacity:          4,096,805,658,624 [4.09 TB]
Namespace 1 Formatted LBA Size:     512
Namespace 1 IEEE EUI-64:            0c82d5 0244730122
Local Time is:                      Sun May  4 19:59:23 2025 CEST
Firmware Updates (0x16):            3 Slots, no Reset required
Optional Admin Commands (0x0017):   Security Format Frmw_DL Self_Test
Optional NVM Commands (0x001f):     Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat
Log Page Attributes (0x06):         Cmd_Eff_Lg Ext_Get_Lg
Maximum Data Transfer Size:         128 Pages
Warning  Comp. Temp. Threshold:     90 Celsius
Critical Comp. Temp. Threshold:     95 Celsius

Supported Power States
St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat
 0 +     6.50W       -        -    0  0  0  0        0       0
 1 +     5.80W       -        -    1  1  1  1        0       0
 2 +     3.60W       -        -    2  2  2  2        0       0
 3 -   0.7460W       -        -    3  3  3  3     5000   10000
 4 -   0.7260W       -        -    4  4  4  4     8000   45000

Supported LBA Sizes (NSID 0x1)
Id Fmt  Data  Metadt  Rel_Perf
 0 +     512       0         0

=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

SMART/Health Information (NVMe Log 0x02, NSID 0xffffffff)
Critical Warning:                   0x00
Temperature:                        36 Celsius
Available Spare:                    100%
Available Spare Threshold:          1%
Percentage Used:                    0%
Data Units Read:                    29,011,924 [14.8 TB]
Data Units Written:                 15,550,673 [7.96 TB]
Host Read Commands:                 142,254,976
Host Write Commands:                25,622,391
Controller Busy Time:               736
Power Cycles:                       390
Power On Hours:                     558
Unsafe Shutdowns:                   22
Media and Data Integrity Errors:    0
Error Information Log Entries:      0
Warning  Comp. Temperature Time:    0
Critical Comp. Temperature Time:    0
Temperature Sensor 1:               36 Celsius
Temperature Sensor 2:               30 Celsius
Thermal Temp. 1 Total Time:         1

Warning: NVMe Get Log truncated to 0x200 bytes, 0x200 bytes zero filled
Error Information (NVMe Log 0x01, 16 of 64 entries)
No Errors Logged

Warning: NVMe Get Log truncated to 0x200 bytes, 0x034 bytes zero filled
Self-test Log (NVMe Log 0x06, NSID 0xffffffff)
Self-test status: No self-test in progress
No Self-tests Logged
-d sntrealtek/sat with a SATA drive
# ./usr/local/sbin/smartctl -x -a -d sntrealtek/sat /dev/sdb
smartctl 7.5 2025-04-30 r5714 [x86_64-linux-6.12.12+bpo-amd64] (CircleCI)
Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:
Serial Number:
Firmware Version:
PCI Vendor/Subsystem ID:            0x0000
IEEE OUI Identifier:                0x000000
Controller ID:                      0
NVMe Version:                       <1.2
Number of Namespaces:               0
Local Time is:                      Sun May  4 20:01:44 2025 CEST
Firmware Updates (0x00):            0 Slots

Supported Power States
St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat
 0 +     0.00W       -        -    0  0  0  0        0       0

=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

SMART/Health Information (NVMe Log 0x02, NSID 0xffffffff)
Critical Warning:                   0x00
Temperature:                        -
Available Spare:                    0%
Available Spare Threshold:          0%
Percentage Used:                    0%
Data Units Read:                    0
Data Units Written:                 0
Host Read Commands:                 0
Host Write Commands:                0
Controller Busy Time:               0
Power Cycles:                       0
Power On Hours:                     0
Unsafe Shutdowns:                   0
Media and Data Integrity Errors:    0
Error Information Log Entries:      0

Error Information (NVMe Log 0x01, 1 of 1 entries)
No Errors Logged

Self-tests not supported

@chrfranke
Copy link
Contributor

Thanks for testing!
Fortunately using -d sat in the drivedb and requiring to use -d sntrealtek for NVMe should be safe.

Unfortunately the new autodetection does not work as the USB bridge behaves unexpectedly:

This PR will be addressed after we moved the project from Sorceforge svn to github.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
drivedb Entries to the drivedb.h
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0