SOLVED Please Help! Pool Status Offline

bent98

Contributor
Joined
Jul 21, 2017
Messages
171
I would recommend you do what @HoneyBadger is suggesting. It may be the only way to recover your data. Make sure you wait the time for it to respond. I don't know if it takes 2 minutes or 6 hours. I suspect it depends on how much data you have.

In the meantime while waiting on your drives to finish SMART testing, the data you attached for the 'messages' file had no usable data that I could see to help. Let's try this one:
Code:
mail -s "dmesg.today" youremailaddr < /var/log/dmesg.today
and do the same for file
Code:
/var/log/dmesg.yesterday
and why not add one more file,
Code:
/var/log/console.log
as I suspect that will list the data you previously posted.

You can take a look in this log file area and see all the files there. To look at them on the system you just need to type
Code:
cat filename | more
and it will display the file on the screen one page at a time. Press the SPACE BAR to advance to the next screen. I don't look in this area often but you can see there are some interesting things here.


I just realized I am booted into the 13-U3 not the U6.1 where the problem happened. I assume I need to be in u5.1 to get the right logs, so I should wait for the smart test to finish before booting back to 13-U6.1 to retrieve the logs?
 
Last edited:

bent98

Contributor
Joined
Jul 21, 2017
Messages
171
Its been sitting on 10% remaining for about 2 hours now. Started this last night. Does the status go down by 1% point or does it do it in chucks of 5 or 10%?

Code:
root@freenas:~ # smartctl -a /dev/ada0smartctl 7.2 2021-09-14 r5236 [FreeBSD 13.1-RELEASE-p2 amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Red
Device Model:     WDC WD80EFZX-68UW8N0
Serial Number:    VK1EX8HY
LU WWN Device Id: 5 000cca 3b7d46a77
Firmware Version: 83.H0A83
User Capacity:    8,001,563,222,016 bytes [8.00 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.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Dec 25 11:16:01 2023 EST
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:  (0x80) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Enabled.
Self-test execution status:      ( 241) Self-test routine in progress...
                                        10% of test remaining.
Total time to complete Offline
data collection:                (  101) 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:        (1083) 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  0x0005   130   130   054    Pre-fail  Offline      -       120
  3 Spin_Up_Time            0x0007   173   173   024    Pre-fail  Always       -       358 (Average 401)
  4 Start_Stop_Count        0x0012   100   100   000    Old_age   Always       -       55
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   100   067    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   128   128   020    Pre-fail  Offline      -       18
  9 Power_On_Hours          0x0012   093   093   000    Old_age   Always       -       55408
 10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       55
 22 Helium_Level            0x0023   100   100   025    Pre-fail  Always       -       100
192 Power-Off_Retract_Count 0x0032   099   099   000    Old_age   Always       -       2344
193 Load_Cycle_Count        0x0012   099   099   000    Old_age   Always       -       2344
194 Temperature_Celsius     0x0002   181   181   000    Old_age   Always       -       33 (Min/Max 18/53)
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%     55378         -
# 2  Short offline       Completed without error       00%     55357         -
# 3  Short offline       Completed without error       00%     55333         -
# 4  Short offline       Completed without error       00%     55309         -
# 5  Short offline       Completed without error       00%     55297         -
# 6  Short offline       Completed without error       00%     55285         -
# 7  Extended offline    Completed without error       00%     55250         -
# 8  Short offline       Completed without error       00%     55213         -
# 9  Short offline       Completed without error       00%     55165         -
#10  Short offline       Completed without error       00%     55141         -
#11  Short offline       Completed without error       00%     55117         -
#12  Short offline       Completed without error       00%     55093         -
#13  Short offline       Completed without error       00%     55069         -
#14  Short offline       Completed without error       00%     55045         -
#15  Short offline       Completed without error       00%     55021         -
#16  Short offline       Completed without error       00%     54997         -
#17  Short offline       Completed without error       00%     54973         -
#18  Short offline       Completed without error       00%     54949         -
#19  Short offline       Completed without error       00%     54925         -
#20  Extended offline    Completed without error       00%     54889         -
#21  Short offline       Completed without error       00%     54853         -

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

.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
I just realized I am booted into the 13-U3 not the U6.1 where the problem happened. I assume I need to be in u5.1 to get the right logs, so I should wait for the smart test to finish before booting back to 13-U6.1 to retrieve the logs?
The logs you have now should be fine, they also refused to import the pool so they should have the same error messages.

The differences between TrueNAS 13.0 and 13.0-Ux is mainly bug fixes.

We just finished one house, time for another house soon, followed by the last house. Christmas day keeps us busy.
 

bent98

Contributor
Joined
Jul 21, 2017
Messages
171
The logs you have now should be fine, they also refused to import the pool so they should have the same error messages.

The differences between TrueNAS 13.0 and 13.0-Ux is mainly bug fixes.

We just finished one house, time for another house soon, followed by the last house. Christmas day keeps us busy.
Ok thanks. Waiting on last long test to complete , the rest were no errors
 

bent98

Contributor
Joined
Jul 21, 2017
Messages
171
Well all drives including SSD boot past long Smart test/no errors.

Just ran this. I assume I need to wait now?
Screenshot 2023-12-25 172244.png
 

bent98

Contributor
Joined
Jul 21, 2017
Messages
171
Bad block pointers and attempting pool rewind already. That's not a good sign for the health of the pool I'm afraid.

Set these two sysctl's to speed up pool rewind on import
Code:
sysctl vfs.zfs.spa.load_verify_metadata=0
sysctl vfs.zfs.spa.load_verify_data=0


then do zpool import -FXfn BIGASSRAID and after some time it should kick back

Code:
Would be able to return pool to its state as of (INSERT DATE AND TIME HERE)
Would discard approximately N seconds of transations.


Make your judgement call if you can live with that, then issue
zpool import -FXf BIGASSRAID

If it imports, reboot the system through the webUI, make sure your pool re-imports automatically, and fire off a scrub.

Best of luck.

I assume I need to wait before I can do zpool import -FXf BIGASSRAID ?

the dashboard is already showing this: I am afraid to look at the drives until I get a response from the shell.

Screenshot 2023-12-25 172426.png
 

Davvo

MVP
Joined
Jul 12, 2022
Messages
3,222
From Zettabyte File System to Jesus File System: BIGASSRAID, rise up and walk!

Your pool is, apparently, online. Backup immediately.
 

bent98

Contributor
Joined
Jul 21, 2017
Messages
171
From Zettabyte File System to Jesus File System: BIGASSRAID, rise up and walk!

Your pool is, apparently, online. Backup immediately.
I cant access the files or the share yet. I assume I have to wait for the shell to display:

Would be able to return pool to its state as of (INSERT DATE AND TIME HERE)
Would discard approximately N seconds of transations.

and then after that I have to issue this command
zpool import -FXf BIGASSRAID and reboot and scub

Joe or Honey could confirm or deny this. I have no clue but appropriate the help! I really hope my box is like Jesus or Lazrus!
 

Davvo

MVP
Joined
Jul 12, 2022
Messages
3,222
As far as I know, zpool import -FXfn BIGASSRAID does not mark your pool as ONLINE in the WebUI.
Check if the shares are configured since you made version hops, that could be why you are not able to access the files.
 

bent98

Contributor
Joined
Jul 21, 2017
Messages
171
My computer that I was shelled into the Turnas server rebooted . I hope that’s ok as I lost my shell connection . The physical TrueNAS server screen looks like it’s still doing something. See attached.
 

Attachments

  • IMG_0430.jpeg
    IMG_0430.jpeg
    221.9 KB · Views: 31

Davvo

MVP
Joined
Jul 12, 2022
Messages
3,222

bent98

Contributor
Joined
Jul 21, 2017
Messages
171
As far as I know, zpool import -FXfn BIGASSRAID does not mark your pool as ONLINE in the WebUI.
Check if the shares are configured since you made version hops, that could be why you are not able to access the files.
Before I issued the commands honeyb told me to, I rebooted back to 13-U6.1
 

bent98

Contributor
Joined
Jul 21, 2017
Messages
171
Can you launch a quick zpool status BIGASSRAID?
Code:

root@freenas:~ # zpool status BIGASSRAID
  pool: BIGASSRAID
 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 14:09:08 with 2 errors on Sat Dec 16 15:09:09 2023
config:

        NAME                                            STATE     READ WRITE CKSUM
        BIGASSRAID                                      ONLINE       0     0 0
          raidz2-0                                      ONLINE       0     0 0
            gptid/1cc4ce99-7c53-11e7-85fb-e0071bff267e  ONLINE       0     0 0
            gptid/1d45eb56-7c53-11e7-85fb-e0071bff267e  ONLINE       0     0 0
            gptid/1dce4f37-7c53-11e7-85fb-e0071bff267e  ONLINE       0     0 0
            gptid/1e4d4aee-7c53-11e7-85fb-e0071bff267e  ONLINE       0     0 0
            gptid/1edd586a-7c53-11e7-85fb-e0071bff267e  ONLINE       0     0 0
            gptid/1f7159ec-7c53-11e7-85fb-e0071bff267e  ONLINE       0     0 0
errors: No Known data errors
 

bent98

Contributor
Joined
Jul 21, 2017
Messages
171
As far as I know, zpool import -FXfn BIGASSRAID does not mark your pool as ONLINE in the WebUI.
Check if the shares are configured since you made version hops, that could be why you are not able to access the files.
yes Shares are there in the config screen but I cant access them via Windows . I may need to reboot but I didnt get a message from the shell as what HoneyBadger explained. I had about 30TB so Im guess it will take time before I can issue the last command. Fingers crossed
 

Davvo

MVP
Joined
Jul 12, 2022
Messages
3,222
Your pool is online. I would load a configuration backup for the current version if you have it, then run a scrub.
 

bent98

Contributor
Joined
Jul 21, 2017
Messages
171
Your pool is online. I would load a configuration backup for the current version if you have it, then run a scrub.
What do you mean load a config back up ? Don’t you mean , made a back up of current config ?
 

Davvo

MVP
Joined
Jul 12, 2022
Messages
3,222
You hopefully have an updated backup of your configuration: if you do, load it since the hops from/to U3 might have broken things.
 

bent98

Contributor
Joined
Jul 21, 2017
Messages
171
Joe and Honey in their previous post suggested for OS to respond the below: I assume I shoudnt do anything until that happens even though pool shows online?


Would be able to return pool to its state as of (INSERT DATE AND TIME HERE)
Would discard approximately N seconds of transations.

and then after that I have to issue this command
zpool import -FXf BIGASSRAID and reboot and scub

You hopefully have an updated backup of your configuration: if you do, load it since the hops from/to U3 might have broken things.
 
Top