11.2 installation become unresponsive + permanent errors detected

bp787

Cadet
Joined
Feb 26, 2019
Messages
7
i have an 11.2 installation that has been running strong for awhile. I have a pool that has started experiencing issues, and is showing permanent errors. These errors are all within a plex (plexpass) jail. i have been unsuccessful in removing these files. Scrubs don't seem to have any effect.

I attempted to copy the plex settings to move them out of the jail, but every time i go to copy data, I lose connection to the server. Can't connect via ssh, ping, or log in via the web. the samba shares I have are not accessible either. However, some of my other services are. I see no other errors reported, but I might not be looking in the right places.

I have 2 10TB drives that are mirrored in this pool, and an ssd running the OS.

Suggestions?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
zpool status -v for starters.
 

bp787

Cadet
Joined
Feb 26, 2019
Messages
7
Code:
zpool status -v:

pool: MEDIA1_20TB
 state: ONLINE
status: One or more devices has experienced an error resulting in data
    corruption.  Applications may be affected.
action: Restore the file in question if possible.  Otherwise restore the
    entire pool from backup.
   see: http://illumos.org/msg/ZFS-8000-8A
  scan: none requested
config:

    NAME                                            STATE     READ WRITE CKSUM
    MEDIA1_20TB                                     ONLINE       0     0     6
      mirror-0                                      ONLINE       0     0    20
        gptid/700df5fd-349e-11e9-8d4b-3417ebb2e264  ONLINE       0     0    20
        gptid/70fe1b1b-349e-11e9-8d4b-3417ebb2e264  ONLINE       0     0    20

errors: Permanent errors have been detected in the following files:

        MEDIA1_20TB/CONFIGS/plex_configs:<0x24f6f>
        MEDIA1_20TB/CONFIGS/plex_configs:<0x2317a>
        /mnt/MEDIA1_20TB/CONFIGS/plex_configs/Metadata/Artists/5/ffd6b77ce153b74efb5ea7843a30657bc54162a.bundle/Contents/_stored/art
        MEDIA1_20TB/CONFIGS/plex_configs:<0x2bcc5>
        MEDIA1_20TB/CONFIGS/plex_configs:<0x1f5cc>
        /var/db/system/rrd-1c36823397d74dbc9e7d4fbefe8b455e/localhost/memory/memory-wired.rrd
        MEDIA1_20TB/iocage/jails/plex-plexpass/root:<0x0>
        MEDIA1_20TB/iocage/jails/plex-plexpass/root:<0xb6906>
        MEDIA1_20TB/iocage/jails/plex-plexpass/root@manual-20211020:<0x0>
        MEDIA1_20TB/iocage/jails/plex-plexpass/root@manual-20211020:/Plex Media Server/Metadata/Artists/5/2a6380dc41cb340f7e3f76557ad2d7bb19922c3.bundle/Contents/tv.plex.agents.music/posters/ece8e7c7c21ffe1e3eb88535ec698c32afb49a9e

  pool: freenas-boot
 state: ONLINE
  scan: scrub repaired 0 in 0 days 00:00:11 with 0 errors on Thu Nov 11 03:45:11 2021
config:

    NAME        STATE     READ WRITE CKSUM
    freenas-boot  ONLINE       0     0     0
      ada2p2    ONLINE       0     0     0

errors: No known data errors


No smart errors listed on any drive.

some weirdness in dmesg output:
Code:
vm_fault: pager read error, pid 3145 (rrdcached)
vm_fault: pager read error, pid 3145 (rrdcached)
Failed to fully fault in a core file segment at VA 0x800671000 with size 0x25000 to be written at offset 0x4d000 for process rrdcached
pid 3145 (rrdcached), uid 0: exited on signal 11 (core dumped)
bridge0: Ethernet address: 02:02:d4:ac:2b:00
bridge0: link state changed to UP

...

pid 5563 (Plex Script Host), uid 972: exited on signal 11
pid 5526 (java), uid 844: exited on signal 6
pid 4583 (Plex Media Server), uid 972: exited on signal 11
pid 244 (python3.6), uid 0: exited on signal 11 (core dumped)
pid 5602 (python3.6), uid 0: exited on signal 11 (core dumped)
pid 5610 (python3.6), uid 0: exited on signal 11 (core dumped)
pid 5661 (python3.6), uid 0: exited on signal 11 (core dumped)
pid 5716 (python3.6), uid 0: exited on signal 11 (core dumped)
pid 5724 (python3.6), uid 0: exited on signal 11 (core dumped)
pid 5717 (python3.6), uid 0: exited on signal 11 (core dumped)
pid 5777 (ifconfig), uid 0: exited on signal 11 (core dumped)
pid 5725 (python3.6), uid 0: exited on signal 11 (core dumped)
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
Scrubs don't seem to have any effect.
A scrub can fix errors, but permanent errors are by definition not able to be fixed (since they are permanent)... what were you expecting here?

Since a bunch of those errors are in metadata (the ones that end with <0x12345>, etc) you will likely need to restore those directories from backup (or if you don't have one, rebuild them from scratch after deletion).

You will also probably need to delete the snapshot MEDIA1_20TB/iocage/jails/plex-plexpass/root@manual-20211020 as it has a couple of errors within it.

All your errors are checksum, which point to the cabling or controller and since it's all the disks, maybe more likely the controller (unless you're running everything off one breakout cable, which would then be suspect).

I attempted to copy the plex settings to move them out of the jail, but every time i go to copy data, I lose connection to the server. Can't connect via ssh, ping, or log in via the web. the samba shares I have are not accessible either.
You're probably wasting your time trying to do that.

It's time to restore from backup or build fresh after deleting the stuff that's broken.

Also consider looking at the SMART data of those disks since there may be something going on there too.
 

bp787

Cadet
Joined
Feb 26, 2019
Messages
7
I'm a bit new to ZFS so I'm learning about it's features... :)

I have no problem with recreating the plex jail from scratch. annoying for sure, but not a huge deal, just a time-suck. I wanted to move the config outside of the jail anyway, so this will be a good time to do that from the start.

I'm really concerned if it's the cabling or controller. The system is an older dell (~5-6 years old) SFF machine that I repurposed. Each drive is connected directly to the MOBO via SATA. I can go in and double check the cabling, etc... Any suggestions on further troubleshooting?

Smart Output: /dev/ada1
Code:
=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Ultrastar He10/12
Device Model:     WDC WD100EMAZ-00WJTA0
Serial Number:    16G20UTZ
LU WWN Device Id: 5 000cca 26dc0ebdd
Firmware Version: 83.H0A83
User Capacity:    10,000,831,348,736 bytes [10.0 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      3.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2, ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Fri Nov 12 07:26:09 2021 PST
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:         (   93) 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:      (1096) 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          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000b   100   100   016    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0004   130   130   054    Old_age   Offline      -       108
  3 Spin_Up_Time            0x0007   168   168   024    Pre-fail  Always       -       405 (Average 376)
  4 Start_Stop_Count        0x0012   100   100   000    Old_age   Always       -       25
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000a   100   100   067    Old_age   Always       -       0
  8 Seek_Time_Performance   0x0004   128   128   020    Old_age   Offline      -       18
  9 Power_On_Hours          0x0012   097   097   000    Old_age   Always       -       23810
 10 Spin_Retry_Count        0x0012   100   100   060    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       25
 22 Helium_Level            0x0023   100   100   025    Pre-fail  Always       -       100
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       983
193 Load_Cycle_Count        0x0012   100   100   000    Old_age   Always       -       983
194 Temperature_Celsius     0x0002   138   138   000    Old_age   Always       -       47 (Min/Max 21/58)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0008   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       0

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  Short offline       Completed without error       00%     23790         -
# 2  Short offline       Completed without error       00%     23790         -

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.


/dev/ada0:
Code:
=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Ultrastar He10/12
Device Model:     WDC WD100EMAZ-00WJTA0
Serial Number:    JEG8BT3N
LU WWN Device Id: 5 000cca 267c3cf2e
Firmware Version: 83.H0A83
User Capacity:    10,000,831,348,736 bytes [10.0 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      3.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2, ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Fri Nov 12 07:42:03 2021 PST
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:      ( 249)    Self-test routine in progress...
                    90% of test remaining.
Total time to complete Offline
data collection:         (   93) 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:      (1230) 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          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000b   100   100   016    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0004   128   128   054    Old_age   Offline      -       116
  3 Spin_Up_Time            0x0007   169   169   024    Pre-fail  Always       -       401 (Average 379)
  4 Start_Stop_Count        0x0012   100   100   000    Old_age   Always       -       23
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000a   100   100   067    Old_age   Always       -       0
  8 Seek_Time_Performance   0x0004   128   128   020    Old_age   Offline      -       18
  9 Power_On_Hours          0x0012   097   097   000    Old_age   Always       -       23810
 10 Spin_Retry_Count        0x0012   100   100   060    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       23
 22 Helium_Level            0x0023   100   100   025    Pre-fail  Always       -       100
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       981
193 Load_Cycle_Count        0x0012   100   100   000    Old_age   Always       -       981
194 Temperature_Celsius     0x0002   138   138   000    Old_age   Always       -       47 (Min/Max 21/55)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0008   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       0

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  Short offline       Completed without error       00%     23790         -

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.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
Both of those disks seem to have only run recent short tests (no long test shown in the list at all).

You might want to do that (run some long tests), but also look into the controller... what are you using for a SATA controller (do you know the motherboard model or the chip it uses for SATA)?
 

bp787

Cadet
Joined
Feb 26, 2019
Messages
7
Both of those disks seem to have only run recent short tests (no long test shown in the list at all).

You might want to do that (run some long tests), but also look into the controller... what are you using for a SATA controller (do you know the motherboard model or the chip it uses for SATA)?
i'm currently running long tests. they're just not done yet.


It's a dell optiplex 7010, and I believe the sata controller is:
7 Series/C210 Series Chipset Family 6-port SATA Controller - AHCI mode

Base Board Information
Manufacturer: Dell Inc.
Product Name: 0GY6Y8

BTW: thanks so much for the help/feedback!
 
Last edited:

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
At this point, I would suggest that the SATA controller (and hence the chipset) is on its way out.

That's most likely a quite old board and it may be time to consider a newer hardware option.

If you're married to it, you may look for an HBA to get SATA ports.

I suspect you haven't upgraded versions due to an inability to boot with the FreeBSD bootloader, which locks you to that version as the newest... if that's not the case, you should probably consider updating.
 

bp787

Cadet
Joined
Feb 26, 2019
Messages
7
haven't updated... out of sheer laziness!
I'll get it updated, monitor it and look into getting the HBA.
 
Top