Menu

#5659 SMART Drive Status on SAS Drives

2.610
closed-fixed
None
5
2026-01-07
2026-01-06
J.M. Rivera
No

Hello Webmin staff/devs, I will report a low priority/cosmetic bug here for further reference in relation to the "SMART Drive Status" module behavior on SAS drives.

Webmin: 2.610 (Manually extracted/installed)
Theme: Authentic-Theme
OS: FreeBSD 14.3-RELEASE-p7
SAS-HDD: Toshiba MG08-D Enterprise Series

I've attached the screenshots of the missing/partial SMART information(marked in red) including the Full SMART status report for further reference.

2 Attachments

Discussion

  • Jamie Cameron

    Jamie Cameron - 2026-01-07

    Thanks for this bug report!

    One question about the raw SMART output though - does the serial number have a space in it?

     
    • J.M. Rivera

      J.M. Rivera - 2026-01-07

      Hi Jamie Cameron, I've provided the RAW output of the disk in question, the serial number does not have any space between.

      Regards

       

      Last edit: J.M. Rivera 2026-01-07
  • Ilia Ross

    Ilia Ross - 2026-01-07

    Can you provide the raw SMART output as text for this disk?

     
    • J.M. Rivera

      J.M. Rivera - 2026-01-07

      Hi Ilia Ross, I've provided the RAW output of the disk in question from smartctl with the most common used options/flags for reference .

      Regards

       
  • J.M. Rivera

    J.M. Rivera - 2026-01-07

    @jcameron and @iliaross
    Thanks for the prompt review of this cosmetic bugs, I will provide the RAW SMART output for this SAS drive for further reference.

    Output for smartctl -a /dev/da1:

    smartctl 7.5 2025-04-30 r5714 [FreeBSD 14.3-RELEASE-p7 amd64] (local build)
    Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org
    
    === START OF INFORMATION SECTION ===
    Vendor:               TOSHIBA
    Product:              MG08SDA800A
    Revision:             0104
    Compliance:           SPC-4
    User Capacity:        8,001,563,222,016 bytes [8.00 TB]
    Logical block size:   4096 bytes
    Rotation Rate:        7200 rpm
    Form Factor:          3.5 inches
    Logical Unit id:      0x5000039dd92800fd
    Serial number:        25XXXXXXXX4H
    Device type:          disk
    Transport protocol:   SAS (SPL-4)
    Local Time is:        Wed Jan  7 10:36:34 2026 AST
    SMART support is:     Available - device has SMART capability.
    SMART support is:     Enabled
    Temperature Warning:  Enabled
    
    === START OF READ SMART DATA SECTION ===
    SMART Health Status: OK
    
    Current Drive Temperature:     39 C
    Drive Trip Temperature:        65 C
    
    Accumulated power on time, hours:minutes 453:25
    Manufactured in week 07 of year 2025
    Specified cycle count over device lifetime:  50000
    Accumulated start-stop cycles:  3
    Specified load-unload count over device lifetime:  600000
    Accumulated load-unload cycles:  101
    Elements in grown defect list: 0
    
    Error counter log:
               Errors Corrected by           Total   Correction     Gigabytes    Total
                   ECC          rereads/    errors   algorithm      processed    uncorrected
               fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
    read:          0        2         0         0          0      26603.016           0
    write:         0        0         0         0          0       2319.157           0
    
    Non-medium error count:        0
    
    No Self-tests have been logged
    

    Output for smartctl -A /dev/da1:

    smartctl 7.5 2025-04-30 r5714 [FreeBSD 14.3-RELEASE-p7 amd64] (local build)
    Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org
    
    === START OF READ SMART DATA SECTION ===
    Current Drive Temperature:     39 C
    Drive Trip Temperature:        65 C
    
    Accumulated power on time, hours:minutes 453:27
    Manufactured in week 07 of year 2025
    Specified cycle count over device lifetime:  50000
    Accumulated start-stop cycles:  3
    Specified load-unload count over device lifetime:  600000
    Accumulated load-unload cycles:  101
    Elements in grown defect list: 0
    

    Output for smartctl -H /dev/da1:

    smartctl 7.5 2025-04-30 r5714 [FreeBSD 14.3-RELEASE-p7 amd64] (local build)
    Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org
    
    === START OF READ SMART DATA SECTION ===
    SMART Health Status: OK
    

    I can also provide the output from the sg3_utils: sg_logs -a /dev/da1 on request if required.

    Regards

     
  • Jamie Cameron

    Jamie Cameron - 2026-01-07

    Ok this should be fixed by this commit, which will be in the next release : https://github.com/webmin/webmin/commit/474ca81d4aa68efdc83b224bcc7f5951905baf5a

     
    • J.M. Rivera

      J.M. Rivera - 2026-01-07

      Hi Jamie, Thanks for the quick fix, I've applied the commit fix manually and I will leave an attached screenshot for reference, I will also provide the SMART output status for two NVME brand drives Gen3x4 at the bottom for further reference.

      Regards

       

      Last edit: J.M. Rivera 2026-01-07
  • Jamie Cameron

    Jamie Cameron - 2026-01-07
    • status: open --> closed-fixed
     
  • J.M. Rivera

    J.M. Rivera - 2026-01-07

    Hello, here is the Samsung and Patriot NVME SSD SMART RAW output.

    Patriot PCIe Gen3 x4 NVMe SSD:

    sudo smartctl -a /dev/nvme1n1p1
    smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.14.0-37-generic] (local build)
    Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org
    
    === START OF INFORMATION SECTION ===
    Model Number:                       Patriot M.2 P300 512GB
    Serial Number:                      P300NDCXXXXXXXXX17
    Firmware Version:                   SN21875
    PCI Vendor/Subsystem ID:            0x1e4b
    IEEE OUI Identifier:                0x3a5a27
    Total NVM Capacity:                 512,110,190,592 [512 GB]
    Unallocated NVM Capacity:           0
    Controller ID:                      0
    NVMe Version:                       1.4
    Number of Namespaces:               1
    Namespace 1 Size/Capacity:          512,110,190,592 [512 GB]
    Namespace 1 Formatted LBA Size:     512
    Namespace 1 IEEE EUI-64:            3a5a27 0237017200
    Local Time is:                      Wed Jan  7 12:46:28 2026 AST
    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:                        41 Celsius
    Available Spare:                    100%
    Available Spare Threshold:          10%
    Percentage Used:                    0%
    Data Units Read:                    5,205,401 [2.66 TB]
    Data Units Written:                 5,489,353 [2.81 TB]
    Host Read Commands:                 42,721,971
    Host Write Commands:                49,696,798
    Controller Busy Time:               140
    Power Cycles:                       565
    Power On Hours:                     68
    Unsafe Shutdowns:                   87
    Media and Data Integrity Errors:    0
    Error Information Log Entries:      0
    Warning  Comp. Temperature Time:    0
    Critical Comp. Temperature Time:    0
    Temperature Sensor 1:               41 Celsius
    Temperature Sensor 2:               41 Celsius
    Thermal Temp. 1 Transition Count:   1
    Thermal Temp. 1 Total Time:         1
    
    Error Information (NVMe Log 0x01, 16 of 64 entries)
    No Errors Logged
    
    Read Self-test Log failed: Invalid Field in Command (0x002)
    

    Samsung PCIe Gen3 x4 NVMe SSD:

    sudo smartctl -a /dev/nvme0n1p1
    smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.14.0-37-generic] (local build)
    Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org
    
    === START OF INFORMATION SECTION ===
    Model Number:                       SAMSUNG MZVLB256HBHQ-000L7
    Serial Number:                      S4EXXXXXXXXX66
    Firmware Version:                   4M2QEXH7
    PCI Vendor/Subsystem ID:            0x144d
    IEEE OUI Identifier:                0x002538
    Total NVM Capacity:                 256,060,514,304 [256 GB]
    Unallocated NVM Capacity:           0
    Controller ID:                      4
    NVMe Version:                       1.3
    Number of Namespaces:               1
    Namespace 1 Size/Capacity:          256,060,514,304 [256 GB]
    Namespace 1 Utilization:            122,267,000,832 [122 GB]
    Namespace 1 Formatted LBA Size:     512
    Namespace 1 IEEE EUI-64:            002538 8501b2d761
    Local Time is:                      Wed Jan  7 13:03:17 2026 AST
    Firmware Updates (0x16):            3 Slots, no Reset required
    Optional Admin Commands (0x0017):   Security Format Frmw_DL Self_Test
    Optional NVM Commands (0x005f):     Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat Timestmp
    Log Page Attributes (0x03):         S/H_per_NS Cmd_Eff_Lg
    Maximum Data Transfer Size:         512 Pages
    Warning  Comp. Temp. Threshold:     84 Celsius
    Critical Comp. Temp. Threshold:     85 Celsius
    
    Supported Power States
    St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat
     0 +     8.00W       -        -    0  0  0  0        0       0
     1 +     6.30W       -        -    1  1  1  1        0       0
     2 +     3.50W       -        -    2  2  2  2        0       0
     3 -   0.0760W       -        -    3  3  3  3      210    1200
     4 -   0.0050W       -        -    4  4  4  4     2000    8000
    
    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:          10%
    Percentage Used:                    5%
    Data Units Read:                    48,639,406 [24.9 TB]
    Data Units Written:                 45,135,600 [23.1 TB]
    Host Read Commands:                 496,129,029
    Host Write Commands:                446,617,152
    Controller Busy Time:               2,044
    Power Cycles:                       1,760
    Power On Hours:                     4,076
    Unsafe Shutdowns:                   374
    Media and Data Integrity Errors:    0
    Error Information Log Entries:      4,948
    Warning  Comp. Temperature Time:    0
    Critical Comp. Temperature Time:    0
    Temperature Sensor 1:               36 Celsius
    Temperature Sensor 2:               32 Celsius
    Thermal Temp. 1 Transition Count:   22
    Thermal Temp. 1 Total Time:         9592
    
    Error Information (NVMe Log 0x01, 16 of 64 entries)
    Num   ErrCount  SQId   CmdId  Status  PELoc          LBA  NSID    VS  Message
      0       4948     0  0x000c  0x4004      -            0     0     -  Invalid Field in Command
    
    Self-test Log (NVMe Log 0x06)
    Self-test status: No self-test in progress
    No Self-tests Logged
    

    Regards

     

Log in to post a comment.