Help importing pools into truenas... dead boot drive

Hi, this is my first post.
Unfortunately my truenas boot disk died and I didn’t save the configuration file.
Datasets are not encrypted. but I’m not able to import the pools…
Could anyone tell me where I’m doing wrong?

It’s tough to tell what’s up here, but you could try going to the command line and running pool import. That should give some output that tells you a little bit about your options. You may have multiple pools that could be imported and it may complain about a pool being used by another system, but run that and see if it gives you some context clues.

2 Likes

Many thanks for the reply!
As you saw, I have two pools ‘Poeira’ and ‘Tera’, with ‘Tera’ being the one that contains my most important files.
I send these commands:

zpool import
zpool import Tera
zpool import Poeira

And these were the outputs:

root@truenas [~]# zpool import

pool: Poeira

id: 15880765864372537070

state: UNAVAIL

status: The pool was last accessed by another system.

action: The pool cannot be imported due to damaged devices or data. see: #####link I took due to forum rules because I’m new####

config:

Poeira

UNAVAIL

insufficient replicas

raidz1-0

UNAVAIL

ONLINE

insufficient replicas

d14b7e40-1f30-48fa-aa6a-979607c297a5

UNAVAIL

db0cb1f4-ceed-4d0a-99d5-4145966f3abf a1a9dca7-c9cd-4cf4-9a25-559e739e6237

UNAVAIL

pool: Poeira

id: 14365867766288150329

state: UNAVAIL

status: The pool was last accessed by another system.

action: The pool cannot be imported due to damaged devices or data.

see: #####link I took due to forum rules because I’m new####

config:

Poeira

940b02de-4544-4650-98bf-de78792bfd54 91838095-1822-4536-9725-071444e82632

UNAVAIL

unsupported feature(s)

ONLINE

ONLINE

pool: Tera

id: 8564833588264103005

state: UNAVAIL

status: The pool was last accessed by another system.

action: The pool cannot be imported due to damaged devices or data.

see: #####link I took due to forum rules because I’m new#####

config:

Tera

raidz1-0

UNAVAIL unsupported feature(s)

ONLINE

ONLINE

588c64ae-ca41-4440-8697-1c6264106801 628c1e56-e9aa-46b3-8961-598ba999a759

ONLINE

fa44634d-8275-40f0-80f6-a3d758d82048 root@truenas # zpool import Tera

ONLINE

cannot Import Tera’s pool was previously in use from another system. Last accessed by truenas (hostid=2f7db87b) at Fri Apr 12 12:31:47 2024 The pool can be imported, use 'zpool import -f to import the pool.

root@truenas [~]# zpool import Poeira cannot import 'Poeira’s more than one matching pool

Import by numeric ID instead
root@truenas [~]#

I’m very new to truenas, any help would be greatly appreciated

Did you try using the -f option as suggested? Additionally did your TrueNAS version change?

I tried…
now it is saying that there is this feature that is not supported. ‘com.klarasystems:vdev_zaps_v2’ . But I don’t know if I activated something not supported, at most I created my own datasets for the apps. But I don’t know if my reasoning makes sense… I’m a bit lost because it contains family photos.

root@truenas [~]# zpool import -f

pool: Poeira

id: 15880765864372537070

state: UNAVAIL

status: The pool was last accessed by another system.

action: The pool cannot be imported due to damaged devices or data.

see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-ΕΥ

config:

Poeira

raidz1-0

d14b7e40-1f30-48fa-aa6a-979607c29785

ONLINE

insufficient replicas

UNAVAIL

UNAVAIL

db0cb1f4-ceed-4d0a-99d5-4145966f3abf a1a9dca7-c9cd-4cf4-9a25-559e739e6237

UNAVAIL

insufficient replicas

pool: Poeira

id: 14365867766288150329

state: UNAVAIL

status: The pool was last accessed by another system.

action: The pool cannot be imported due to damaged devices or data.

see: Message ID: ZFS-8000-EY — OpenZFS documentation

config:

Poeira

940b02de-4544-4b50-98bf-de78792bfd54 91838095-1822-4536-9725-071444882632

UNAVAIL

ONLINE

unsupported feature(s)

UNAVAIL

ONLINE

pool: Tera

id: 8564833588264103005

state: UNAVAIL

status: The pool was last accessed by another system.

action: The pool cannot be imported due to damaged devices or data. see: #####link I took due to forum rules because I’m new#####

config:

Tera

UNAVAIL unsupported feature(s)

ONLINE

raidz1-0

588c64ae-ca41-4440-8697-1c62b4106801 628c1e56-e9aa-46b3-6961-598ba999a759

ONLINE

fa44634d-8275-4010-80f6-a3d758d82048

ONLINE ONLINE

root@truenas (")# zpool import -f Tera This pool uses the following feature(s) not supported by this system:

com.klarasystems:vdev zaps_v2 cannot import ‘Tera’: unsupported version or feature root@truenas [~]#

I can’t say exactly about the version because I really don’t remember… but I tried with an older version that I had on ISO. I’m thinking about downloading Core as a trial

I updated to Dragonfish and was able to import the pool through the GUI.
Thank you very much to all of you who responded to the post!!! :grin:
Would it be risky for me to continue using the Dragonfish version, or would it be safer to stay with the stable version?
If the best option is for me to go back to stable, would I just download the configuration file, install the stable version and restore the configuration file?

Do you not have backups ?

Should have another backup, just in case Truenas server fails

1 Like

Backups are really, really important

As far as downgrading goes, you could always downgrade to stable and undo the change if it does not work.