Unexpected reboot and now pool offline

Joined
Aug 11, 2021
Messages
3
Hi,

One of our TrueNAS backup servers just had some weird crash or reboot and now the pool is showing offline. Here is the result of zpool import -f Data:

Code:
root@PRILBK[~]# zpool import -f Data
cannot import 'Data': I/O error
        Recovery is possible, but will result in some data loss.
        Returning the pool to its state as of Wed Aug 11 10:09:30 2021
        should correct the problem.  Approximately 12 seconds of data
        must be discarded, irreversibly.  Recovery can be attempted
        by executing 'zpool import -F Data'.  A scrub of the pool
        is strongly recommended after recovery.


I'm ok with the potential data loss if its possible to recover this. Ultimately its a backup server (PowerEdge R410, 4 x 2TB RAID Z1), just trying to find out if its recoverable, failed hardware, etc.

Code:
root@PRILBK[~]# gpart show
=>        40  3905945520  mfid0  GPT  (1.8T)
          40          88         - free -  (44K)
         128     4194304      1  freebsd-swap  (2.0G)
     4194432  3901751128      2  freebsd-zfs  (1.8T)

=>        40  3905945520  mfid1  GPT  (1.8T)
          40          88         - free -  (44K)
         128     4194304      1  freebsd-swap  (2.0G)
     4194432  3901751128      2  freebsd-zfs  (1.8T)

=>        40  3905945520  mfid2  GPT  (1.8T)
          40          88         - free -  (44K)
         128     4194304      1  freebsd-swap  (2.0G)
     4194432  3901751128      2  freebsd-zfs  (1.8T)

=>        40  3905945520  mfid3  GPT  (1.8T)
          40          88         - free -  (44K)
         128     4194304      1  freebsd-swap  (2.0G)
     4194432  3901751128      2  freebsd-zfs  (1.8T)


Code:
root@PRILBK[~]# zpool status
  pool: freenas-boot
 state: ONLINE
status: Some supported 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(5) for details.
  scan: scrub repaired 0B in 00:15:10 with 0 errors on Mon Aug  9 04:00:10 2021
config:

        NAME          STATE     READ WRITE CKSUM
        freenas-boot  ONLINE       0     0     0
          da0p2           ONLINE       0     0     0
errors: No known data errors
 
Joined
Aug 11, 2021
Messages
3
So we repurposed an old server and made it a backup server, for FreeNAS to see the drives we setup each drive in the controller as a single virtual disk, so four 2TB virtual disks in the controller, then created the pool from that.

Now at another location we did the same thing and had issues with the controller, so we just removed it and FreeNAS still found the drives. Should we do the same here, or what would the recommendation be?
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
Do exactly what you say. Use a proper HBA (in IT-Mode)
 
Joined
Aug 11, 2021
Messages
3
Removed the controller, rebooted, pool still offline. Ran zpool import -f Data, same error. Then ran again with -F instead of -f and that worked, looks good now :smile:
 
Top