Opened 2 months ago

Closed 2 months ago

#1818 closed enhancement (fixed)

Add TERRAMASTER D5-300C USB3 enclosure to database (0x1000:0x1352)

Reported by: Ludovic LEVET Owned by: Christian Franke
Priority: minor Milestone: Release 7.5
Component: drivedb Version:
Keywords: usb Cc: Ludovic LEVET

Description

Hi,
Please add in database TERRAMASTER D5-300C enclosure :

  // TERRAMASTER D5-300C
  { "USB: TERRAMASTER D5-300C  5-Bay Box", // USB 3.0
    "0x1000:0x1352",
    "", //(0x001)
    "",
    "-d sat"
  },

Change History (7)

comment:1 by Christian Franke, 2 months ago

Component: alldrivedb
Keywords: usb added; TERRAMASTER D5-300C removed
Milestone: undecided

Please provide a sample smartctl -x output from some device behind this controller.

comment:2 by Ludovic LEVET, 2 months ago

root@storage:~# smartctl -x -d sat /dev/sdd
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.0-18-amd64] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Toshiba MG09ACA... Enterprise Capacity HDD
Device Model:     TOSHIBA MG09ACA18TE
Serial Number:    xxxxxxxxxxxxxx
LU WWN Device Id: 5 000039 c88c95ab2
Firmware Version: 0105
User Capacity:    18,000,207,937,536 bytes [18.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/5598
ATA Version is:   ACS-4 T13/BSR INCITS 529 revision 5
SATA Version is:  SATA 3.3, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Thu Mar 28 11:12:21 2024 GMT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Unavailable
APM level is:     128 (minimum power consumption without standby)
Rd look-ahead is: Enabled
Write cache is:   Enabled
DSN feature is:   Disabled
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:  (0x80) Offline data collection activity
                                        was never started.
                                        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:                (  120) 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:        (1551) 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   050    -    0
  2 Throughput_Performance  P-S---   100   100   050    -    0
  3 Spin_Up_Time            POS--K   100   100   001    -    8676
  4 Start_Stop_Count        -O--CK   100   100   000    -    1
  5 Reallocated_Sector_Ct   PO--CK   100   100   010    -    0
  7 Seek_Error_Rate         PO-R--   100   100   050    -    0
  8 Seek_Time_Performance   P-S---   100   100   050    -    0
  9 Power_On_Hours          -O--CK   100   100   000    -    45
 10 Spin_Retry_Count        PO--CK   100   100   030    -    0
 12 Power_Cycle_Count       -O--CK   100   100   000    -    1
 23 Helium_Condition_Lower  PO---K   100   100   075    -    0
 24 Helium_Condition_Upper  PO---K   100   100   075    -    0
 27 MAMR_Health_Monitor     PO---K   100   100   030    -    461330
191 G-Sense_Error_Rate      -O--CK   100   100   000    -    0
192 Power-Off_Retract_Count -O--CK   100   100   000    -    0
193 Load_Cycle_Count        -O--CK   100   100   000    -    6
194 Temperature_Celsius     -O---K   100   100   000    -    30 (Min/Max 18/40)
196 Reallocated_Event_Count PO--CK   100   100   010    -    0
197 Current_Pending_Sector  -O--CK   100   100   000    -    0
198 Offline_Uncorrectable   ----CK   100   100   000    -    0
199 UDMA_CRC_Error_Count    -O--CK   200   200   000    -    0
220 Disk_Shift              -O----   100   100   000    -    18481153
222 Loaded_Hours            -O--CK   100   100   000    -    28
223 Load_Retry_Count        -O--CK   100   100   000    -    0
224 Load_Friction           -O---K   100   100   000    -    0
226 Load-in_Time            -OS--K   100   100   000    -    610
240 Head_Flying_Hours       P-----   100   100   001    -    0
241 Total_LBAs_Written      -O--CK   100   100   000    -    258846
242 Total_LBAs_Read         -O--CK   100   100   000    -    35157211523
                            ||||||_ 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     51  Comprehensive SMART error log
0x03       GPL     R/O      5  Ext. Comprehensive SMART error log
0x04       GPL,SL  R/O      8  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
0x0a       GPL     R/W      2  Device Statistics Notification
0x0c       GPL     R/O    513  Pending Defects log
0x10       GPL     R/O      1  NCQ Command Error log
0x11       GPL     R/O      1  SATA Phy Event Counters log
0x24       GPL     R/O  65520  Current Device Internal Status Data log
0x25       GPL     R/O  65520  Saved Device Internal Status Data log
0x2f       GPL     -        1  Set Sector Configuration
0x30       GPL,SL  R/O      9  IDENTIFY DEVICE data log
0x80-0x9f  GPL,SL  R/W     16  Host vendor specific log
0xae       GPL     VS      25  Device 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 (5 sectors)
No Errors Logged

SMART Extended Self-test Log Version: 1 (1 sectors)
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

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):       1 (0x0001)
Device State:                        Active (0)
Current Temperature:                    30 Celsius
Power Cycle Min/Max Temperature:     18/40 Celsius
Lifetime    Min/Max Temperature:     18/40 Celsius
Specified Max Operating Temperature:    55 Celsius
Under/Over Temperature Limit Count:   0/0
SMART Status:                        0xc24f (PASSED)
Vendor specific:
00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

SCT Temperature History Version:     2
Temperature Sampling Period:         1 minute
Temperature Logging Interval:        1 minute
Min/Max recommended Temperature:      5/55 Celsius
Min/Max Temperature Limit:           -40/70 Celsius
Temperature History Size (Index):    478 (373)

Index    Estimated Time   Temperature Celsius
 374    2024-03-28 03:15    30  ***********
 ...    ..(282 skipped).    ..  ***********
 179    2024-03-28 07:58    30  ***********
 180    2024-03-28 07:59    29  **********
 181    2024-03-28 08:00    29  **********
 182    2024-03-28 08:01    30  ***********
 183    2024-03-28 08:02    29  **********
 184    2024-03-28 08:03    30  ***********
 185    2024-03-28 08:04    30  ***********
 186    2024-03-28 08:05    29  **********
 187    2024-03-28 08:06    30  ***********
 ...    ..(  7 skipped).    ..  ***********
 195    2024-03-28 08:14    30  ***********
 196    2024-03-28 08:15    29  **********
 197    2024-03-28 08:16    30  ***********
 198    2024-03-28 08:17    29  **********
 199    2024-03-28 08:18    29  **********
 200    2024-03-28 08:19    30  ***********
 201    2024-03-28 08:20    29  **********
 ...    ..(  2 skipped).    ..  **********
 204    2024-03-28 08:23    29  **********
 205    2024-03-28 08:24    30  ***********
 206    2024-03-28 08:25    29  **********
 207    2024-03-28 08:26    30  ***********
 208    2024-03-28 08:27    29  **********
 209    2024-03-28 08:28    30  ***********
 210    2024-03-28 08:29    30  ***********
 211    2024-03-28 08:30    29  **********
 212    2024-03-28 08:31    30  ***********
 213    2024-03-28 08:32    29  **********
 214    2024-03-28 08:33    30  ***********
 215    2024-03-28 08:34    29  **********
 ...    ..( 34 skipped).    ..  **********
 250    2024-03-28 09:09    29  **********
 251    2024-03-28 09:10    30  ***********
 252    2024-03-28 09:11    29  **********
 ...    ..(  4 skipped).    ..  **********
 257    2024-03-28 09:16    29  **********
 258    2024-03-28 09:17    30  ***********
 259    2024-03-28 09:18    29  **********
 260    2024-03-28 09:19    29  **********
 261    2024-03-28 09:20    30  ***********
 262    2024-03-28 09:21    29  **********
 ...    ..( 12 skipped).    ..  **********
 275    2024-03-28 09:34    29  **********
 276    2024-03-28 09:35    30  ***********
 277    2024-03-28 09:36    29  **********
 ...    ..( 38 skipped).    ..  **********
 316    2024-03-28 10:15    29  **********
 317    2024-03-28 10:16    30  ***********
 ...    ..(  8 skipped).    ..  ***********
 326    2024-03-28 10:25    30  ***********
 327    2024-03-28 10:26    31  ************
 ...    ..( 26 skipped).    ..  ************
 354    2024-03-28 10:53    31  ************
 355    2024-03-28 10:54    30  ***********
 ...    ..( 17 skipped).    ..  ***********
 373    2024-03-28 11:12    30  ***********

SCT Error Recovery Control:
           Read: Disabled
          Write: Disabled

Device Statistics (GP Log 0x04)
Page  Offset Size        Value Flags Description
0x01  =====  =               =  ===  == General Statistics (rev 3) ==
0x01  0x008  4               1  ---  Lifetime Power-On Resets
0x01  0x010  4              45  ---  Power-on Hours
0x01  0x018  6          258846  ---  Logical Sectors Written
0x01  0x020  6           48353  ---  Number of Write Commands
0x01  0x028  6     35157211523  ---  Logical Sectors Read
0x01  0x030  6        38981898  ---  Number of Read Commands
0x01  0x038  6       162000000  ---  Date and Time TimeStamp
0x01  0x040  4               0  ---  Pending Error Count
0x02  =====  =               =  ===  == Free-Fall Statistics (rev 1) ==
0x02  0x010  4               0  ---  Overlimit Shock Events
0x03  =====  =               =  ===  == Rotating Media Statistics (rev 1) ==
0x03  0x008  4              45  ---  Spindle Motor Power-on Hours
0x03  0x010  4              28  ---  Head Flying Hours
0x03  0x018  4               6  ---  Head Load Events
0x03  0x020  4               0  ---  Number of Reallocated Logical Sectors
0x03  0x028  4             320  ---  Read Recovery Attempts
0x03  0x030  4               0  ---  Number of Mechanical Start Failures
0x03  0x038  4               0  ---  Number of Realloc. Candidate Logical Sectors
0x03  0x040  4               0  ---  Number of High Priority Unload Events
0x04  =====  =               =  ===  == General Errors Statistics (rev 1) ==
0x04  0x008  4               0  ---  Number of Reported Uncorrectable Errors
0x04  0x010  4               0  ---  Resets Between Cmd Acceptance and Completion
0x04  0x018  4               0  -D-  Physical Element Status Changed
0x05  =====  =               =  ===  == Temperature Statistics (rev 1) ==
0x05  0x008  1              30  ---  Current Temperature
0x05  0x010  1              32  N--  Average Short Term Temperature
0x05  0x018  1               -  N--  Average Long Term Temperature
0x05  0x020  1              40  ---  Highest Temperature
0x05  0x028  1              18  ---  Lowest Temperature
0x05  0x030  1              39  N--  Highest Average Short Term Temperature
0x05  0x038  1              32  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              55  ---  Specified Maximum Operating Temperature
0x05  0x060  4               0  ---  Time in Under-Temperature
0x05  0x068  1               5  ---  Specified Minimum Operating Temperature
0x06  =====  =               =  ===  == Transport Statistics (rev 1) ==
0x06  0x008  4               1  ---  Number of Hardware Resets
0x06  0x010  4               0  ---  Number of ASR Events
0x06  0x018  4               0  ---  Number of Interface CRC Errors
0x07  =====  =               =  ===  == Solid State Device 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  4            0  Command failed due to ICRC error
0x0002  4            0  R_ERR response for data FIS
0x0003  4            0  R_ERR response for device-to-host data FIS
0x0004  4            0  R_ERR response for host-to-device data FIS
0x0005  4            0  R_ERR response for non-data FIS
0x0006  4            0  R_ERR response for device-to-host non-data FIS
0x0007  4            0  R_ERR response for host-to-device non-data FIS
0x0008  4            0  Device-to-host non-data FIS retries
0x0009  4            2  Transition from drive PhyRdy to drive PhyNRdy
0x000a  4            1  Device-to-host register FISes sent due to a COMRESET
0x000b  4            0  CRC errors within host-to-device FIS
0x000d  4            0  Non-CRC errors within host-to-device FIS
0x000f  4            0  R_ERR response for host-to-device data FIS, CRC
0x0010  4            0  R_ERR response for host-to-device data FIS, non-CRC
0x0012  4            0  R_ERR response for host-to-device non-data FIS, CRC
0x0013  4            0  R_ERR response for host-to-device non-data FIS, non-CRC


Last edited 2 months ago by Ludovic LEVET (previous) (diff)

comment:3 by Ludovic LEVET, 2 months ago

Without -d sat :

root@storage:~# smartctl -x  /dev/sdd
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.0-18-amd64] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/sdd: Unknown USB bridge [0x1000:0x1352 (0x001)]
Please specify device type with the -d option.

Use smartctl -h to get a usage summary


comment:4 by Christian Franke, 2 months ago

Milestone: undecidedunscheduled

comment:5 by Christian Franke, 2 months ago

Summary: Add TERRAMASTER D5-300C USB3 enclosure to databaseAdd TERRAMASTER D5-300C USB3 enclosure to database (0x1000:0x1352)

comment:6 by Christian Franke, 2 months ago

Milestone: unscheduledRelease 7.5
Owner: set to Christian Franke
Status: newaccepted

comment:7 by Christian Franke, 2 months ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.