Pools offline after power outage

icemule1

Dabbler
Joined
Sep 27, 2022
Messages
18
My power went off today and when it came back on I turned my TrueNAS server back on, but the pools are offline. Any idea what happened here?

Saw these messages in notifications:
Code:
CRITICAL
Pool WD Ultrastar 12x6 state is OFFLINE: None
2023-02-23 16:31:49 (America/Phoenix)

CRITICAL
Pool Scratch state is OFFLINE: None
2023-02-23 16:31:49 (America/Phoenix)


Here are some CLI outputs if it helps?

Code:
root@truenas[~]# zpool import
   pool: Scratch
     id: 4402457943842566774
  state: ONLINE
 action: The pool can be imported using its name or numeric identifier.
 config:


        Scratch                                 ONLINE
          c2eab11b-8f47-400b-a945-242e0641fc3c  ONLINE


   pool: WD Ultrastar 12x6
     id: 16881426510993768706
  state: ONLINE
 action: The pool can be imported using its name or numeric identifier.
 config:


        WD Ultrastar 12x6                         ONLINE
          raidz2-0                                ONLINE
            fc918cdf-6c9e-4cfb-89eb-f48a2b46d8ef  ONLINE
            02543dd6-0f35-4efd-899b-3502642e512d  ONLINE
            2dabdf9d-1802-4a6b-abc5-785e0d37ba09  ONLINE
            86c62170-f85e-4978-933b-b3738c0746ad  ONLINE
            d1fefe70-75b3-4fdf-b06f-0bf78364a320  ONLINE
            384fb5d2-1392-4eeb-b965-3eea9ef9c87d  ONLINE


Code:
root@truenas[~]# zpool status
  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:17 with 0 errors on Wed Feb 22 03:45:20 2023
config:


        NAME        STATE     READ WRITE CKSUM
        boot-pool   ONLINE       0     0     0
          sdg3      ONLINE       0     0     0


errors: No known data errors
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
As both your pools are single-disk, they automatically went offline when their respective disks lost power. Try reimporting them via the UI; they may still be OK.


1677209537695.png


You may also want to invest in a UPS to have a clean shutdown during the next power bump.
 

icemule1

Dabbler
Joined
Sep 27, 2022
Messages
18

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399

icemule1

Dabbler
Joined
Sep 27, 2022
Messages
18
I was able to bring them back online using zpool import, thanks.
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
I was able to bring them back online using zpool import, thanks.
Glad to hear your pool is back and your data is OK.

Did you need to use the command-line interface to import the pool, or was it doable through the UI?
 

icemule1

Dabbler
Joined
Sep 27, 2022
Messages
18
It wasn't doable through the UI - in the dropdown where I needed to select the pool to import, it wasn't giving me any options there. So I had to resort to doing it through the command line interface.
 
Top