9.10.2-U6 L2ARC issues....

mpyusko

Dabbler
Joined
Jul 5, 2019
Messages
49
I mentioned this as a side note in another thread, but it really needs it's own discussion. Adding in the notes from the previous discussion.

I have an old FreeNAS 9.10 box maxed out at 8GB RAM running with a 240 GB SSD for the L2ARC with just shy of 17 TB written to it.....
1589310048201.png


What is strange is the ARC/L2ARC sizes reported there vs my 11.2 box.
(How can 8GB RAM equal 163 GB ARC and a 240 GB SSD equal a 443 GB L2ARC???)
We weighed the options, and ultimately, it came down to being able to compensate to the limitation of the integrated SATA-II controller. Although the array is built out of 4 WD Golds (RAID10), the ammount of I/O trraffic beween the steady flow of email and database transactions made it crawl. The L2ARC helps alleviate that.

Code:
[root@fn1] ~# arc_summary.py
System Memory:

        1.59%   126.18  MiB Active,     10.05%  797.65  MiB Inact
        75.83%  5.88    GiB Wired,      0.20%   16.10   MiB Cache
        12.33%  978.83  MiB Free,       0.00%   0       Bytes Gap

        Real Installed:                         8.00    GiB
        Real Available:                 99.61%  7.97    GiB
        Real Managed:                   97.28%  7.75    GiB

        Logical Total:                          8.00    GiB
        Logical Used:                   78.12%  6.25    GiB
        Logical Free:                   21.88%  1.75    GiB

Kernel Memory:                                  254.07  MiB
        Data:                           89.11%  226.41  MiB
        Text:                           10.89%  27.67   MiB

Kernel Memory Map:                              7.75    GiB
        Size:                           27.90%  2.16    GiB
        Free:                           72.10%  5.59    GiB
                                                                Page:  1
------------------------------------------------------------------------

ARC Summary: (HEALTHY)
        Storage pool Version:                   5000
        Filesystem Version:                     5
        Memory Throttle Count:                  0

ARC Misc:
        Deleted:                                2.19b
        Mutex Misses:                           2.24b
        Evict Skips:                            2.24b

ARC Size:                               2427.36%        163.88  GiB
        Target Size: (Adaptive)         100.00% 6.75    GiB
        Min Size (Hard Limit):          12.50%  864.18  MiB
        Max Size (High Water):          8:1     6.75    GiB

ARC Size Breakdown:
        Recently Used Cache Size:       2.87%   4.71    GiB
        Frequently Used Cache Size:     97.13%  159.17  GiB

ARC Hash Breakdown:
        Elements Max:                           40.48m
        Elements Current:               36.82%  14.90m
        Collisions:                             9.39b
        Chain Max:                              70
        Chains:                                 1.05m
                                                                Page:  2
------------------------------------------------------------------------

ARC Total accesses:                                     4.40b
        Cache Hit Ratio:                20.71%  911.03m
        Cache Miss Ratio:               79.29%  3.49b
        Actual Hit Ratio:               17.89%  786.84m

        Data Demand Efficiency:         18.04%  2.92b
        Data Prefetch Efficiency:       30.50%  387.71m

        CACHE HITS BY CACHE LIST:
          Most Recently Used:           73.12%  666.15m
          Most Frequently Used:         13.25%  120.69m
          Most Recently Used Ghost:     121.64% 1.11b
          Most Frequently Used Ghost:   46.88%  427.08m

        CACHE HITS BY DATA TYPE:
          Demand Data:                  57.74%  526.06m
          Prefetch Data:                12.98%  118.25m
          Demand Metadata:              23.73%  216.20m
          Prefetch Metadata:            5.55%   50.52m

        CACHE MISSES BY DATA TYPE:
          Demand Data:                  68.56%  2.39b
          Prefetch Data:                7.73%   269.46m
          Demand Metadata:              19.52%  680.71m
          Prefetch Metadata:            4.19%   146.01m
                                                                Page:  3
------------------------------------------------------------------------

L2 ARC Summary: (DEGRADED)
        Passed Headroom:                        23.59m
        Tried Lock Failures:                    9.61m
        IO In Progress:                         9.16m
        Low Memory Aborts:                      249
        Free on Write:                          9.74m
        Writes While Full:                      499.02k
        R/W Clashes:                            0
        Bad Checksums:                          762.89m
        IO Errors:                              0
        SPA Mismatch:                           159.11m

L2 ARC Size: (Adaptive)                         443.70  GiB
        Header Size:                    0.27%   1.19    GiB

L2 ARC Evicts:
        Lock Retries:                           6.18k
        Upon Reading:                           0

L2 ARC Breakdown:                               3.49b
        Hit Ratio:                      37.55%  1.31b
        Miss Ratio:                     62.45%  2.18b
        Feeds:                                  47.70m

L2 ARC Buffer:
        Bytes Scanned:                          1.08    PiB
        Buffer Iterations:                      47.70m
        List Iterations:                        190.81m
        NULL List Iterations:                   130.01m

L2 ARC Writes:
        Writes Sent:                    100.00% 15.41m
                                                                Page:  4
------------------------------------------------------------------------

DMU Prefetch Efficiency:                        17.78b
        Hit Ratio:                      2.75%   489.48m
        Miss Ratio:                     97.25%  17.29b

                                                                Page:  5
------------------------------------------------------------------------

                                                                Page:  6
------------------------------------------------------------------------

ZFS Tunable (sysctl):
        kern.maxusers                           845
        vm.kmem_size                            8323047424
        vm.kmem_size_scale                      1
        vm.kmem_size_min                        0
        vm.kmem_size_max                        1319413950874
        vfs.zfs.vol.unmap_enabled               1
        vfs.zfs.vol.mode                        2
        vfs.zfs.sync_pass_rewrite               2
        vfs.zfs.sync_pass_dont_compress         5
        vfs.zfs.sync_pass_deferred_free         2
        vfs.zfs.zio.dva_throttle_enabled        1
        vfs.zfs.zio.exclude_metadata            0
        vfs.zfs.zio.use_uma                     1
        vfs.zfs.zil_slog_limit                  786432
        vfs.zfs.cache_flush_disable             0
        vfs.zfs.zil_replay_disable              0
        vfs.zfs.version.zpl                     5
        vfs.zfs.version.spa                     5000
        vfs.zfs.version.acl                     1
        vfs.zfs.version.ioctl                   7
        vfs.zfs.debug                           0
        vfs.zfs.super_owner                     0
        vfs.zfs.min_auto_ashift                 12
        vfs.zfs.max_auto_ashift                 13
        vfs.zfs.vdev.queue_depth_pct            1000
        vfs.zfs.vdev.write_gap_limit            4096
        vfs.zfs.vdev.read_gap_limit             32768
        vfs.zfs.vdev.aggregation_limit          131072
        vfs.zfs.vdev.trim_max_active            64
        vfs.zfs.vdev.trim_min_active            1
        vfs.zfs.vdev.scrub_max_active           2
        vfs.zfs.vdev.scrub_min_active           1
        vfs.zfs.vdev.async_write_max_active     10
        vfs.zfs.vdev.async_write_min_active     1
        vfs.zfs.vdev.async_read_max_active      3
        vfs.zfs.vdev.async_read_min_active      1
        vfs.zfs.vdev.sync_write_max_active      10
        vfs.zfs.vdev.sync_write_min_active      10
        vfs.zfs.vdev.sync_read_max_active       10
        vfs.zfs.vdev.sync_read_min_active       10
        vfs.zfs.vdev.max_active                 1000
        vfs.zfs.vdev.async_write_active_max_dirty_percent60
        vfs.zfs.vdev.async_write_active_min_dirty_percent30
        vfs.zfs.vdev.mirror.non_rotating_seek_inc1
        vfs.zfs.vdev.mirror.non_rotating_inc    0
        vfs.zfs.vdev.mirror.rotating_seek_offset1048576
        vfs.zfs.vdev.mirror.rotating_seek_inc   5
        vfs.zfs.vdev.mirror.rotating_inc        0
        vfs.zfs.vdev.trim_on_init               1
        vfs.zfs.vdev.larger_ashift_minimal      0
        vfs.zfs.vdev.bio_delete_disable         0
        vfs.zfs.vdev.bio_flush_disable          0
        vfs.zfs.vdev.cache.bshift               16
        vfs.zfs.vdev.cache.size                 0
        vfs.zfs.vdev.cache.max                  16384
        vfs.zfs.vdev.metaslabs_per_vdev         200
        vfs.zfs.vdev.trim_max_pending           10000
        vfs.zfs.txg.timeout                     5
        vfs.zfs.trim.enabled                    1
        vfs.zfs.trim.max_interval               1
        vfs.zfs.trim.timeout                    30
        vfs.zfs.trim.txg_delay                  32
        vfs.zfs.space_map_blksz                 4096
        vfs.zfs.spa_min_slop                    134217728
        vfs.zfs.spa_slop_shift                  5
        vfs.zfs.spa_asize_inflation             24
        vfs.zfs.deadman_enabled                 1
        vfs.zfs.deadman_checktime_ms            5000
        vfs.zfs.deadman_synctime_ms             1000000
        vfs.zfs.debug_flags                     0
        vfs.zfs.recover                         0
        vfs.zfs.spa_load_verify_data            1
        vfs.zfs.spa_load_verify_metadata        1
        vfs.zfs.spa_load_verify_maxinflight     10000
        vfs.zfs.ccw_retry_interval              300
        vfs.zfs.check_hostid                    1
        vfs.zfs.mg_fragmentation_threshold      85
        vfs.zfs.mg_noalloc_threshold            0
        vfs.zfs.condense_pct                    200
        vfs.zfs.metaslab.bias_enabled           1
        vfs.zfs.metaslab.lba_weighting_enabled  1
        vfs.zfs.metaslab.fragmentation_factor_enabled1
        vfs.zfs.metaslab.preload_enabled        1
        vfs.zfs.metaslab.preload_limit          3
        vfs.zfs.metaslab.unload_delay           8
        vfs.zfs.metaslab.load_pct               50
        vfs.zfs.metaslab.min_alloc_size         33554432
        vfs.zfs.metaslab.df_free_pct            4
        vfs.zfs.metaslab.df_alloc_threshold     131072
        vfs.zfs.metaslab.debug_unload           0
        vfs.zfs.metaslab.debug_load             0
        vfs.zfs.metaslab.fragmentation_threshold70
        vfs.zfs.metaslab.gang_bang              16777217
        vfs.zfs.free_bpobj_enabled              1
        vfs.zfs.free_max_blocks                 18446744073709551615
        vfs.zfs.no_scrub_prefetch               0
        vfs.zfs.no_scrub_io                     0
        vfs.zfs.resilver_min_time_ms            3000
        vfs.zfs.free_min_time_ms                1000
        vfs.zfs.scan_min_time_ms                1000
        vfs.zfs.scan_idle                       50
        vfs.zfs.scrub_delay                     4
        vfs.zfs.resilver_delay                  2
        vfs.zfs.top_maxinflight                 32
        vfs.zfs.delay_scale                     500000
        vfs.zfs.delay_min_dirty_percent         60
        vfs.zfs.dirty_data_sync                 67108864
        vfs.zfs.dirty_data_max_percent          10
        vfs.zfs.dirty_data_max_max              4294967296
        vfs.zfs.dirty_data_max                  855611392
        vfs.zfs.max_recordsize                  1048576
        vfs.zfs.zfetch.array_rd_sz              1048576
        vfs.zfs.zfetch.max_distance             8388608
        vfs.zfs.zfetch.min_sec_reap             2
        vfs.zfs.zfetch.max_streams              8
        vfs.zfs.prefetch_disable                0
        vfs.zfs.send_holes_without_birth_time   1
        vfs.zfs.mdcomp_disable                  0
        vfs.zfs.nopwrite_enabled                1
        vfs.zfs.dedup.prefetch                  1
        vfs.zfs.l2c_only_size                   0
        vfs.zfs.mfu_ghost_data_esize            3325952
        vfs.zfs.mfu_ghost_metadata_esize        111502336
        vfs.zfs.mfu_ghost_size                  114828288
        vfs.zfs.mfu_data_esize                  5120
        vfs.zfs.mfu_metadata_esize              0
        vfs.zfs.mfu_size                        95766528
        vfs.zfs.mru_ghost_data_esize            2437057024
        vfs.zfs.mru_ghost_metadata_esize        4690575872
        vfs.zfs.mru_ghost_size                  7127632896
        vfs.zfs.mru_data_esize                  0
        vfs.zfs.mru_metadata_esize              0
        vfs.zfs.mru_size                        116867072
        vfs.zfs.anon_data_esize                 0
        vfs.zfs.anon_metadata_esize             0
        vfs.zfs.anon_size                       7898624
        vfs.zfs.l2arc_norw                      1
        vfs.zfs.l2arc_feed_again                1
        vfs.zfs.l2arc_noprefetch                1
        vfs.zfs.l2arc_feed_min_ms               200
        vfs.zfs.l2arc_feed_secs                 1
        vfs.zfs.l2arc_headroom                  2
        vfs.zfs.l2arc_write_boost               8388608
        vfs.zfs.l2arc_write_max                 8388608
        vfs.zfs.arc_meta_limit                  1812326400
        vfs.zfs.arc_free_target                 14135
        vfs.zfs.compressed_arc_enabled          1
        vfs.zfs.arc_shrink_shift                7
        vfs.zfs.arc_average_blocksize           8192
        vfs.zfs.arc_min                         906163200
        vfs.zfs.arc_max                         7249305600
                                                                Page:  7
------------------------------------------------------------------------

[root@fn1] ~#

@mpyusko
"(How can 8GB RAM equal 163 GB ARC and a 240 GB SSD equal a 443 GB L2ARC???)"
Possibly a UI bug; although ARC and L2ARC both show values considering compression. 20:1 compression on your ARC though would imply you've got something extremely compressible loaded there though. arc_summary.py may show some insight there as well.
This box mostly handles emails and databases.
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
Those ARC values:

Code:
ARC Size:                               2427.36%        163.88  GiB
        Target Size: (Adaptive)         100.00% 6.75    GiB
        Min Size (Hard Limit):          12.50%  864.18  MiB
        Max Size (High Water):          8:1     6.75    GiB

ARC Size Breakdown:
        Recently Used Cache Size:       2.87%   4.71    GiB
        Frequently Used Cache Size:     97.13%  159.17  GiB


You either have a bug in the code that's showing the wrong values, or you have some seriously compressible data. I'm leaning towards the former though. ;)

You're only using 1.19G of RAM for 443.7G of L2ARC ... but your L2ARC itself looks like it might be in trouble. It's flagged as DEGRADED and it's had three-quarter of a million bad checksums - a bad checksum from L2ARC isn't fatal, but it means the I/O is a miss and it hits the disk. What's the SMART health look like?

Code:
L2 ARC Summary: (DEGRADED)
        Passed Headroom:                        23.59m
        Tried Lock Failures:                    9.61m
        IO In Progress:                         9.16m
        Low Memory Aborts:                      249
        Free on Write:                          9.74m
        Writes While Full:                      499.02k
        R/W Clashes:                            0
        Bad Checksums:                          762.89m
        IO Errors:                              0
        SPA Mismatch:                           159.11m

L2 ARC Size: (Adaptive)                         443.70  GiB
        Header Size:                    0.27%   1.19    GiB


And finally, to go back to the question I had with your other system - are you presenting via NFS or iSCSI, and are you expecting sync writes for safety, because iSCSI won't do them by default ...
 

mpyusko

Dabbler
Joined
Jul 5, 2019
Messages
49
Those ARC values:

Code:
ARC Size:                               2427.36%        163.88  GiB
        Target Size: (Adaptive)         100.00% 6.75    GiB
        Min Size (Hard Limit):          12.50%  864.18  MiB
        Max Size (High Water):          8:1     6.75    GiB

ARC Size Breakdown:
        Recently Used Cache Size:       2.87%   4.71    GiB
        Frequently Used Cache Size:     97.13%  159.17  GiB


You either have a bug in the code that's showing the wrong values, or you have some seriously compressible data. I'm leaning towards the former though. ;)

You're only using 1.19G of RAM for 443.7G of L2ARC ... but your L2ARC itself looks like it might be in trouble. It's flagged as DEGRADED and it's had three-quarter of a million bad checksums - a bad checksum from L2ARC isn't fatal, but it means the I/O is a miss and it hits the disk. What's the SMART health look like?

Code:
L2 ARC Summary: (DEGRADED)
        Passed Headroom:                        23.59m
        Tried Lock Failures:                    9.61m
        IO In Progress:                         9.16m
        Low Memory Aborts:                      249
        Free on Write:                          9.74m
        Writes While Full:                      499.02k
        R/W Clashes:                            0
        Bad Checksums:                          762.89m
        IO Errors:                              0
        SPA Mismatch:                           159.11m

L2 ARC Size: (Adaptive)                         443.70  GiB
        Header Size:                    0.27%   1.19    GiB


And finally, to go back to the question I had with your other system - are you presenting via NFS or iSCSI, and are you expecting sync writes for safety, because iSCSI won't do them by default ...
It's possible there is a bug. We haven't patched this box in..... a while.

1589318184220.png


This serves:
iSCSI for a couple webservers and database VMs,
NFS for some other small or temporary VMs
SMB for ISO only.

It only has 2 NICs so they are configured "loadbalance".
SATA-II only!!!!
There is no dedicated ZIL/SLOG device.
It is scheduled to be decommissioned... I'm in the process of migrating to a newer fleet of HP Gen 9's and a Nimble all Flash SAN, but this is still <cough> production <cough> until I can complete the migration. (recovering from a recent surgery and then the pandemic has slowed the migration efforts)

These tests are run on Xen VM:
8 vCPU Xeon E5620
8GB RAM
100 GB NFS (C:)
100 GB iSCSI (G:)

MBps
1589319179873.png


IOPS
1589319204743.png


L2ARC Reports
1589319351586.png

1589319318158.png

1589319397561.png

1589319560218.png


SMART Output for L2ARC...
Code:
[root@fn1] ~# smartctl -x /dev/ada4
smartctl 6.5 2016-05-07 r4318 [FreeBSD 10.3-STABLE amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     SSD2SC240G726A104-474-27753
Serial Number:    PNY13510000403310231
LU WWN Device Id: 5 f8db4c 131310231
Firmware Version: 524ABBF0
User Capacity:    240,057,409,536 bytes [240 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ATA8-ACS, ACS-2 T13/2015-D revision 3
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Tue May 12 17:00:11 2020 EDT
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
ATA Security is:  Disabled, NOT FROZEN [SEC1]
Wt Cache Reorder: Unavailable

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

General SMART Values:
Offline data collection status:  (0x02) Offline data collection activity
                                        was completed without error.
                                        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:                (    0) seconds.
Offline data collection
capabilities:                    (0x79) SMART execute Offline immediate.
                                        No Auto Offline data collection support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        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:        (   1) minutes.
Extended self-test routine
recommended polling time:        (  48) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x0025) SCT Status supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  1 Raw_Read_Error_Rate     PO--CK   095   095   050    -    166494690
  5 Reallocated_Sector_Ct   PO--CK   100   100   003    -    0
  9 Power_On_Hours          -O--CK   096   096   000    -    4254 (231 22 0)
12 Power_Cycle_Count       -O--CK   099   099   000    -    1040
171 Unknown_Attribute       -O-R--   000   000   000    -    0
172 Unknown_Attribute       -O--CK   000   000   000    -    0
174 Unknown_Attribute       ----CK   000   000   000    -    16
177 Wear_Leveling_Count     ------   000   000   000    -    14
181 Program_Fail_Cnt_Total  -O-R--   000   000   000    -    0
182 Erase_Fail_Count_Total  -O--CK   000   000   000    -    0
187 Reported_Uncorrect      -O--C-   100   100   000    -    0
194 Temperature_Celsius     -O---K   030   040   000    -    30 (Min/Max 17/40)
195 Hardware_ECC_Recovered  --SRC-   120   120   000    -    166494690
196 Reallocated_Event_Count PO--CK   100   100   003    -    0
201 Unknown_SSD_Attribute   --SRC-   120   120   000    -    166494690
204 Soft_ECC_Correction     --SRC-   120   120   000    -    166494690
230 Unknown_SSD_Attribute   PO--C-   100   100   000    -    100
231 Temperature_Celsius     PO--C-   094   094   010    -    0
233 Media_Wearout_Indicator -O--CK   000   000   000    -    48462
234 Unknown_Attribute       -O--CK   000   000   000    -    15754
241 Total_LBAs_Written      -O--CK   000   000   000    -    15754
242 Total_LBAs_Read         -O--CK   000   000   000    -    43813
                            ||||||_ 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
0x04       GPL,SL  R/O      1  Device Statistics log
0x07       GPL     R/O      1  Extended self-test log
0x09           SL  R/W      1  Selective self-test log
0x10       GPL     R/O      1  SATA NCQ Queued Error log
0x11       GPL     R/O      1  SATA Phy Event Counters log
0x80-0x9f  GPL,SL  R/W     16  Host vendor specific log
0xb7       GPL,SL  VS      16  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 (GP Log 0x03) not supported

SMART Error Log not supported

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%      4254         -
# 2  Short offline       Completed without error       00%      4254         -
# 3  Short offline       Completed without error       00%      4254         -
# 4  Short offline       Completed without error       00%      4254         -
# 5  Short offline       Completed without error       00%      4254         -
# 6  Short offline       Completed without error       00%      4254         -
# 7  Short offline       Completed without error       00%      4254         -
# 8  Short offline       Completed without error       00%      4254         -
# 9  Short offline       Completed without error       00%      4254         -
#10  Short offline       Completed without error       00%      4254         -
#11  Short offline       Completed without error       00%      4254         -
#12  Short offline       Completed without error       00%      4254         -
#13  Short offline       Completed without error       00%      4254         -
#14  Short offline       Completed without error       00%      4254         -
#15  Short offline       Completed without error       00%      4254         -
#16  Short offline       Completed without error       00%      4254         -
#17  Short offline       Completed without error       00%      4254         -
#18  Short offline       Completed without error       00%      4254         -
#19  Short offline       Completed without error       00%      4254         -

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):       0 (0x0000)
SCT Support Level:                   1
Device State:                        Active (0)
Current Temperature:                    30 Celsius
Power Cycle Min/Max Temperature:     17/40 Celsius
Lifetime    Min/Max Temperature:     17/46 Celsius
Under/Over Temperature Limit Count:   0/0

SCT Temperature History Version:     2
Temperature Sampling Period:         1 minute
Temperature Logging Interval:        10 minutes
Min/Max recommended Temperature:      0/65 Celsius
Min/Max Temperature Limit:            0/70 Celsius
Temperature History Size (Index):    478 (314)

Index    Estimated Time   Temperature Celsius
315    2020-05-09 09:30    30  ***********
(deleted rest... unnecessary)

SCT Error Recovery Control command not supported

Device Statistics (GP Log 0x04)
Page  Offset Size        Value Flags Description
0x01  =====  =               =  ===  == General Statistics (rev 2) ==
0x01  0x008  4            1043  ---  Lifetime Power-On Resets
0x01  0x018  6     33039509776  ---  Logical Sectors Written
0x01  0x028  6     91883540395  ---  Logical Sectors Read
0x04  =====  =               =  ===  == General Errors Statistics (rev 1) ==
0x04  0x008  4               0  ---  Number of Reported Uncorrectable Errors
0x04  0x010  4              46  ---  Resets Between Cmd Acceptance and Completion
0x05  =====  =               =  ===  == Temperature Statistics (rev 1) ==
0x05  0x008  1              30  ---  Current Temperature
0x05  0x010  1              29  ---  Average Short Term Temperature
0x05  0x018  1               -  ---  Average Long Term Temperature
0x05  0x020  1              38  ---  Highest Temperature
0x05  0x028  1              24  ---  Lowest Temperature
0x05  0x030  1              35  ---  Highest Average Short Term Temperature
0x05  0x038  1              27  ---  Lowest Average Short Term Temperature
0x05  0x040  1               -  ---  Highest Average Long Term Temperature
0x05  0x048  1               -  ---  Lowest Average Long Term Temperature
0x05  0x050  4               0  ---  Time in Over-Temperature
0x05  0x058  1              65  ---  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               0  ---  Number of Hardware Resets
0x06  0x010  4              44  ---  Number of ASR Events
0x06  0x018  4         6906617  ---  Number of Interface CRC Errors
0x07  =====  =               =  ===  == Solid State Device Statistics (rev 1) ==
0x07  0x008  1               8  ---  Percentage Used Endurance Indicator
                                |||_ C monitored condition met
                                ||__ D supports DSN
                                |___ N normalized value

SATA Phy Event Counters (GP Log 0x11)
ID      Size     Value  Description
0x0001  2            0  Command failed due to ICRC error
0x0003  2            0  R_ERR response for device-to-host data FIS
0x0004  2            0  R_ERR response for host-to-device 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            4  Transition from drive PhyRdy to drive PhyNRdy
0x000a  2           19  Device-to-host register FISes sent due to a COMRESET
0x000f  2            0  R_ERR response for host-to-device data FIS, CRC
0x0010  2            0  R_ERR response for host-to-device data FIS, non-CRC
0x0012  2            0  R_ERR response for host-to-device non-data FIS, CRC
0x0013  2            0  R_ERR response for host-to-device non-data FIS, non-CRC
0x0002  2            0  R_ERR response for data FIS
0x0005  2            0  R_ERR response for non-data FIS
0x000b  2            0  CRC errors within host-to-device FIS
0x000d  2            0  Non-CRC errors within host-to-device FIS

[root@fn1] ~#
 
Top