This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SSD usage and life, data

Purpose of thread: share data from/on SSDs in use, or used, with Sophos UTM.

Please keep discussion in the associated thread "SSD usage and life, discussion".

Run commands, as root, at your own risk.

Commands:

Get smartctl info for /dev/sda using UTM stock drivedb.h:
smartctl -a /dev/sda


Check smartctl version from installed drivedb.h:
grep ^VERSION /usr/sbin/update-smart-drivedb


Check installed drivedb.h SVN-Id/date:
grep -o '$Id.*\$' /usr/share/smartmontools/drivedb.h


Get updated drivedb.h, potentially fixes "Device is: Not in smartctl database" and "Unknown_Attribute":
UTM 9.1, smartctl 5.42
curl 'sourceforge.net/.../drivedb.h


UTM 9.2 and UTM 9.3, smartctl 6.0
curl 'sourceforge.net/.../drivedb.h


Check downloaded drivedb.h SVN-Id/date:
grep -o '$Id.*\$' drivedb.h


Get smartctl info for /dev/sda using downloaded drivedb.h:
smartctl -B drivedb.h -a /dev/sda


This thread was automatically locked due to age.
Parents
  • UTM built: ~July 2, 2013 (9.101-12.1) with nearly continuous operation since build. Currently running 9.113.

    Usage: Home use, two very light users with frequent temporary users, primary use web proxy (malicious filter,AV,cache), DHCP/DNS, Site-to-Site and RED, occasionally ran sc_local_db mem

    March 13, 2015, 9.113-8

    # smartctl -B drivedb.h -a /dev/sda 
    smartctl 5.42 2011-10-20 r3458 [x86_64-linux-3.8.13.15-27.ge4e9011-smp64] (openSUSE RPM)
    Copyright (C) 2002-11 by Bruce Allen, smartmontools.sourceforge.net

    === START OF INFORMATION SECTION ===
    Model Family:     SanDisk based SSDs
    Device Model:     SanDisk SDSSDP064G
    Serial Number:    redacted
    LU WWN Device Id: redacted
    Firmware Version: 2.0.0
    User Capacity:    64,023,257,088 bytes [64.0 GB]
    Sector Size:      512 bytes logical/physical
    Device is:        In smartctl database [for details use: -P show]
    ATA Version is:   8
    ATA Standard is:  ACS-2 revision 3
    Local Time is:    Fri Mar 13 01:35:59 2015 EDT
    SMART support is: Available - device has SMART capability.
    SMART support is: Enabled

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

    General SMART Values:
    Offline data collection status:  (0x00) Offline data collection activity
                                            was never started.
                                            Auto Offline Data Collection: Disabled.
    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:                    (0x51) SMART execute Offline immediate.
                                            No Auto Offline data collection support.
                                            Suspend Offline collection upon new
                                            command.
                                            No 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:        (  12) minutes.

    SMART Attributes Data Structure revision number: 1
    Vendor Specific SMART Attributes with Thresholds:
    ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
      5 Reallocated_Sector_Ct   0x0002   100   100   000    Old_age   Always       -       0
      9 Power_On_Hours          0x0002   100   100   000    Old_age   Always       -       14749
     12 Power_Cycle_Count       0x0002   100   100   000    Old_age   Always       -       19
    171 Program_Fail_Count      0x0002   100   100   000    Old_age   Always       -       0
    172 Erase_Fail_Count        0x0002   100   100   000    Old_age   Always       -       0
    173 Avg_Write_Erase_Ct      0x0002   100   100   000    Old_age   Always       -       51
    174 Unexpect_Power_Loss_Ct  0x0002   100   100   000    Old_age   Always       -       13
    187 Reported_Uncorrect      0x0002   100   100   000    Old_age   Always       -       0
    230 Perc_Write_Erase_Count  0x0002   100   100   000    Old_age   Always       -       170
    232 Perc_Avail_Resrvd_Space 0x0003   100   100   005    Pre-fail  Always       -       0
    234 Perc_Write_Erase_Ct_BC  0x0002   100   100   000    Old_age   Always       -       516
    241 Total_LBAs_Written      0x0002   100   100   000    Old_age   Always       -       3790307121
    242 Total_LBAs_Read         0x0002   100   100   000    Old_age   Always       -       180271374

    SMART Error Log Version: 1
    No Errors Logged

    SMART Self-test log structure revision number 1
    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.


    July 16, 2015, 9.113-8

    # smartctl  -a /dev/sda -B drivedb.h
    smartctl 5.42 2011-10-20 r3458 [x86_64-linux-3.8.13.15-27.ge4e9011-smp64] (openSUSE RPM)
    Copyright (C) 2002-11 by Bruce Allen, smartmontools.sourceforge.net

    === START OF INFORMATION SECTION ===
    Model Family:     SanDisk based SSDs
    Device Model:     SanDisk SDSSDP064G
    Serial Number:    redacted
    LU WWN Device Id: redacted
    Firmware Version: 2.0.0
    User Capacity:    64,023,257,088 bytes [64.0 GB]
    Sector Size:      512 bytes logical/physical
    Device is:        In smartctl database [for details use: -P show]
    ATA Version is:   8
    ATA Standard is:  ACS-2 revision 3
    Local Time is:    Thu Jul 16 02:05:01 2015 EDT
    SMART support is: Available - device has SMART capability.
    SMART support is: Enabled

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

    General SMART Values:
    Offline data collection status:  (0x00) Offline data collection activity
                                            was never started.
                                            Auto Offline Data Collection: Disabled.
    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:                    (0x51) SMART execute Offline immediate.
                                            No Auto Offline data collection support.
                                            Suspend Offline collection upon new
                                            command.
                                            No 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:        (  12) minutes.

    SMART Attributes Data Structure revision number: 1
    Vendor Specific SMART Attributes with Thresholds:
    ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
      5 Reallocated_Sector_Ct   0x0002   100   100   000    Old_age   Always       -       0
      9 Power_On_Hours          0x0002   100   100   000    Old_age   Always       -       17722
     12 Power_Cycle_Count       0x0002   100   100   000    Old_age   Always       -       24
    171 Program_Fail_Count      0x0002   100   100   000    Old_age   Always       -       0
    172 Erase_Fail_Count        0x0002   100   100   000    Old_age   Always       -       0
    173 Avg_Write_Erase_Ct      0x0002   100   100   000    Old_age   Always       -       64
    174 Unexpect_Power_Loss_Ct  0x0002   100   100   000    Old_age   Always       -       17
    187 Reported_Uncorrect      0x0002   100   100   000    Old_age   Always       -       0
    230 Perc_Write_Erase_Count  0x0002   100   100   000    Old_age   Always       -       213
    232 Perc_Avail_Resrvd_Space 0x0003   100   100   005    Pre-fail  Always       -       0
    234 Perc_Write_Erase_Ct_BC  0x0002   100   100   000    Old_age   Always       -       629
    241 Total_LBAs_Written      0x0002   100   100   000    Old_age   Always       -       1041785912
    242 Total_LBAs_Read         0x0002   100   100   000    Old_age   Always       -       879602570

    SMART Error Log Version: 1
    No Errors Logged

    SMART Self-test log structure revision number 1
    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.
  • smartctl 5.42 2011-10-20 r3458 [x86_64-linux-3.8.13.15-27.ge4e9011-smp64] (openSUSE RPM)
    Copyright (C) 2002-11 by Bruce Allen, smartmontools.sourceforge.net
    
    === START OF INFORMATION SECTION ===
    Model Family:     SanDisk based SSDs
    Device Model:     SanDisk SDSSDP064G
    Serial Number:    redacted
    LU WWN Device Id: redacted
    Firmware Version: 2.0.0
    User Capacity:    64,023,257,088 bytes [64.0 GB]
    Sector Size:      512 bytes logical/physical
    Device is:        In smartctl database [for details use: -P show]
    ATA Version is:   8
    ATA Standard is:  ACS-2 revision 3
    Local Time is:    Sun Apr  3 12:58:29 2016 EDT
    SMART support is: Available - device has SMART capability.
    SMART support is: Enabled
    
    === START OF READ SMART DATA SECTION ===
    SMART overall-health self-assessment test result: PASSED
    
    General SMART Values:
    Offline data collection status:  (0x00) Offline data collection activity
                                            was never started.
                                            Auto Offline Data Collection: Disabled.
    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:                    (0x51) SMART execute Offline immediate.
                                            No Auto Offline data collection support.
                                            Suspend Offline collection upon new
                                            command.
                                            No 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:        (  12) minutes.
    
    SMART Attributes Data Structure revision number: 1
    Vendor Specific SMART Attributes with Thresholds:
    ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
      5 Reallocated_Sector_Ct   0x0002   100   100   000    Old_age   Always       -       0
      9 Power_On_Hours          0x0002   100   100   000    Old_age   Always       -       24017
     12 Power_Cycle_Count       0x0002   100   100   000    Old_age   Always       -       25
    171 Program_Fail_Count      0x0002   100   100   000    Old_age   Always       -       0
    172 Erase_Fail_Count        0x0002   100   100   000    Old_age   Always       -       0
    173 Avg_Write/Erase_Count   0x0002   100   100   000    Old_age   Always       -       95
    174 Unexpect_Power_Loss_Ct  0x0002   100   100   000    Old_age   Always       -       17
    187 Reported_Uncorrect      0x0002   100   100   000    Old_age   Always       -       0
    230 Perc_Write/Erase_Count  0x0002   100   100   000    Old_age   Always       -       316
    232 Perc_Avail_Resrvd_Space 0x0003   100   100   005    Pre-fail  Always       -       0
    234 Perc_Write/Erase_Ct_BC  0x0002   100   100   000    Old_age   Always       -       924
    241 Total_LBAs_Written      0x0002   100   100   000    Old_age   Always       -       4162601315
    242 Total_LBAs_Read         0x0002   100   100   000    Old_age   Always       -       1443621688
    
    SMART Error Log Version: 1
    No Errors Logged
    
    SMART Self-test log structure revision number 1
    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.
    
Reply
  • smartctl 5.42 2011-10-20 r3458 [x86_64-linux-3.8.13.15-27.ge4e9011-smp64] (openSUSE RPM)
    Copyright (C) 2002-11 by Bruce Allen, smartmontools.sourceforge.net
    
    === START OF INFORMATION SECTION ===
    Model Family:     SanDisk based SSDs
    Device Model:     SanDisk SDSSDP064G
    Serial Number:    redacted
    LU WWN Device Id: redacted
    Firmware Version: 2.0.0
    User Capacity:    64,023,257,088 bytes [64.0 GB]
    Sector Size:      512 bytes logical/physical
    Device is:        In smartctl database [for details use: -P show]
    ATA Version is:   8
    ATA Standard is:  ACS-2 revision 3
    Local Time is:    Sun Apr  3 12:58:29 2016 EDT
    SMART support is: Available - device has SMART capability.
    SMART support is: Enabled
    
    === START OF READ SMART DATA SECTION ===
    SMART overall-health self-assessment test result: PASSED
    
    General SMART Values:
    Offline data collection status:  (0x00) Offline data collection activity
                                            was never started.
                                            Auto Offline Data Collection: Disabled.
    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:                    (0x51) SMART execute Offline immediate.
                                            No Auto Offline data collection support.
                                            Suspend Offline collection upon new
                                            command.
                                            No 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:        (  12) minutes.
    
    SMART Attributes Data Structure revision number: 1
    Vendor Specific SMART Attributes with Thresholds:
    ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
      5 Reallocated_Sector_Ct   0x0002   100   100   000    Old_age   Always       -       0
      9 Power_On_Hours          0x0002   100   100   000    Old_age   Always       -       24017
     12 Power_Cycle_Count       0x0002   100   100   000    Old_age   Always       -       25
    171 Program_Fail_Count      0x0002   100   100   000    Old_age   Always       -       0
    172 Erase_Fail_Count        0x0002   100   100   000    Old_age   Always       -       0
    173 Avg_Write/Erase_Count   0x0002   100   100   000    Old_age   Always       -       95
    174 Unexpect_Power_Loss_Ct  0x0002   100   100   000    Old_age   Always       -       17
    187 Reported_Uncorrect      0x0002   100   100   000    Old_age   Always       -       0
    230 Perc_Write/Erase_Count  0x0002   100   100   000    Old_age   Always       -       316
    232 Perc_Avail_Resrvd_Space 0x0003   100   100   005    Pre-fail  Always       -       0
    234 Perc_Write/Erase_Ct_BC  0x0002   100   100   000    Old_age   Always       -       924
    241 Total_LBAs_Written      0x0002   100   100   000    Old_age   Always       -       4162601315
    242 Total_LBAs_Read         0x0002   100   100   000    Old_age   Always       -       1443621688
    
    SMART Error Log Version: 1
    No Errors Logged
    
    SMART Self-test log structure revision number 1
    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.
    
Children
No Data