More Drive errors and SATA controller

Stickeris

Dabbler
Joined
Sep 3, 2022
Messages
18
Howdy,

At the beginning of the month, I posted on here about my Pool Degrading and shutting down about 10 mins after boot. I ended up downloading Seagate diagnostic utility, long-tested each drive, and then swapped out the SATA cables. After that, the Pool came up and remained stable, my pool is still up, but about a week ago one of the drives faulted and I experienced a bunch of errors. I didn't notice, because there was no interruption in any of my services, until this week when I happened to log in and check.
Screen Shot 2022-09-24 at 11.48.49 PM.png


Reading the forums I decided to run a long smart test on the faulted drive giving me the following output. It doesn't seem like there are any major errors and from my experience last time, its most likely a mobo, or SATA controller error. I should also mention that I have a PCI NVMe drive hooked up as a cache, that has never had an error of any kind.

A friend of mine is lending me a 9207-8i raid card and I am hoping that will allow me to circumvent what may be an issue with the mobo. But I would love any advice on whether or not I am pursuing the right path.

Thanks and Specs:
  • Intel E52650I-v2
  • Asus P9x79 WS
  • 64 GB Ram
  • TrueNAS-SCALE-22.02.3
  • 2 Onboard 1GB Intel NIC
  • Boot off 2 120 GB IornWolf SSD
  • 1 zPool with 4 IornWolf 8TB drives in raid z1 with x1 256GB nvme cache
Post Test Output:

Code:
=== START OF INFORMATION SECTION ===
Model Family:     Seagate IronWolf
Device Model:     ST8000VN004-2M2101
Serial Number:    WSD50EFD
LU WWN Device Id: 5 000c50 0e3132e1e
Firmware Version: SC60
User Capacity:    8,001,563,222,016 bytes [8.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Form Factor:      3.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-4 (minor revision not indicated)
SATA Version is:  SATA 3.3, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Sat Sep 24 23:30:57 2022 PDT
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:  (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:                (  559) seconds.
Offline data collection
capabilities:                    (0x7b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off 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:        ( 712) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x50bd) SCT Status supported.
                                        SCT Error Recovery Control supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   084   064   044    Pre-fail  Always       -       233501993
  3 Spin_Up_Time            0x0003   093   081   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       63
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   077   060   045    Pre-fail  Always       -       54904634
  9 Power_On_Hours          0x0032   099   099   000    Old_age   Always       -       1283
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       64
 18 Head_Health             0x000b   100   100   050    Pre-fail  Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   062   048   040    Old_age   Always       -       38 (Min/Max 36/44)
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       44
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       1360
194 Temperature_Celsius     0x0022   038   052   000    Old_age   Always       -       38 (0 26 0 0 0)
195 Hardware_ECC_Recovered  0x001a   084   064   000    Old_age   Always       -       233501993
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       1116h+10m+19.299s
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       5667961767
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       180783988

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed without error       00%      1282         -
# 2  Short offline       Completed without error       00%       921         -
# 3  Extended offline    Completed without error       00%       920         -

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.
 
Joined
Jun 2, 2019
Messages
591
From the smartctl results you posted, the drive seems healthy.

Post the results of
Code:
zpool status -v


Your mobo has a RAID controller, which is likely a contributor. The mobo manual does not list that you can configure in AHCI mode. Even then ZFS may not get complete transparent access to the drives due to firmware in the controller.

Re: https://www.asus.com/me-en/Commercial-Servers-Workstations/P9X79_WS/specifications/

Screenshot 2022-09-25 at 7.13.34 AM.png


Substituting for another RAID controller will likely result in similar problems.

Read the following for why RAID controllers are a monstrously bad idea.

 

Stickeris

Dabbler
Joined
Sep 3, 2022
Messages
18
Thank you, should I do a zpool clear since the drive passed the test?

It appears I misrepresented the card. it is an LSI 9207-8i HBA, not a RAID. The card is not mentioned in the forum post linked, but some in the sam series are, like the LSI 9211-8i. It is also listed as fine by jgreco in this post.

That said, would the card still run through the Marvell raid controller on the mobo? Should I be looking at a new motherboard, and probably CPU?

Per your request, zpool status output:
Code:
  pool: JuneLake
 state: DEGRADED
status: One or more devices are faulted in response to persistent errors.
        Sufficient replicas exist for the pool to continue functioning in a
        degraded state.
action: Replace the faulted device, or use 'zpool clear' to mark the device
        repaired.
  scan: resilvered 3.27M in 00:00:01 with 0 errors on Sun Sep 18 05:50:26 2022
config:

        NAME                                      STATE     READ WRITE CKSUM
        JuneLake                                  DEGRADED     0     0     0
          raidz1-0                                DEGRADED     0     4     0
            612e0129-8cbb-4933-a35f-6f3bdcbc0c87  ONLINE       0     0    72
            02037d57-5b22-4a6a-8a37-4196d1bcc066  ONLINE      11   736     0
            0ad52698-6084-4086-adec-c602064f76a1  FAULTED      0    11     0  too many errors
            846551cd-7fb8-45b4-9884-c522355dac45  ONLINE      14 1.91K     0
        cache
          ee53604f-71de-4fa9-a977-198fa048bed8    ONLINE       0     0     0

errors: No known data errors

  pool: boot-pool
 state: ONLINE
status: Some supported and requested features are not enabled on the pool.
        The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
        the pool may no longer be accessible by software that does not support
        the features. See zpool-features(7) for details.
  scan: scrub repaired 0B in 00:00:35 with 0 errors on Fri Sep 23 03:45:38 2022
config:

        NAME        STATE     READ WRITE CKSUM
        boot-pool   ONLINE       0     0     0
          mirror-0  ONLINE       0     0     0
            sdc3    ONLINE       0     0     0
            sdd3    ONLINE       0     0     0

errors: No known data errors
 
Joined
Jun 2, 2019
Messages
591
I think your first priority should be to connect all your drives to Non-RAID HBA controller.

You do have backups on different device/media?
 
Last edited:

Stickeris

Dabbler
Joined
Sep 3, 2022
Messages
18
I think your first priority should be to connect all your drives to Non-RAID HBA controller.

You do have backups on different device/media?

I have the large array of external drives that were used to populate the NAS, so while it’ll be a huge pain to re-sync the media I have backups.

Would the LSI 9207-8i HBA work as a non-raid controller or should I just swap the mobo?
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
Do a search here for 9201-8i. Lots of threads dealing with this particular HBA, flashing, etc. Seems to be fine based on lack of negative comments.
Would the LSI 9207-8i HBA work as a non-raid controller
So. YES!
 

SnoppyFloppy

Explorer
Joined
Jun 17, 2021
Messages
77
Would the LSI 9207-8i HBA work as a non-raid controller or should I just swap the mobo?
Yes. I think @elvisimprsntr is referring the the sata controllers on your motherboard. If you connect all drives to a LSI SAS controller flashed to IT-mode ZFS should get direct to the drives.
 
Joined
Sep 23, 2022
Messages
5
The Marvell controller on the motherboard is not really a RAID controller; it's just a fairly crappy PCIe to SATA bridge that supports software RAID. It should definitely be avoided, but because of crappy, not because of RAID.

If OP hooks up the drives directly to the Intel chipset ports, all should be well. I believe they're generally regarded to be just as good as an external SAS HBA. With 6x onboard ports, 4x drives plus 2x boot drives should be fine.
 
Top