Have a NAS set up for home, storing movies, etc. I had an issue with my boot disc and had to replace and do a fresh install of TrueNAS CORE. Went for latest stable version (also tried what I believe was the last install version I did and got same result), but while I did not have a backup of config (lesson learnt) believed I could still import Pool as HDDs appeared to be OK. No pools available via adding pools, then tried via shell, see below. Any ideas on how to resolve, or am I needing to recreate pools from scratch. Any help appreciated:
root@truenas[~]# zpool import
pool: Pool
id: 1418693507757103581
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:
Pool UNAVAIL unsupported feature(s)
mirror-0 ONLINE
gptid/ca55d1fe-2484-4ce2-83d8-6d309331a585 ONLINE
gptid/55a86207-6627-4a77-8bd4-639614d9f50a ONLINE
root@truenas[~]# zpool import Pool
cannot import ‘Pool’: pool was previously in use from another system.
Last accessed by truenas (hostid=17ace07b) at Tue Jan 14 23:56:00 2025
The pool can be imported, use ‘zpool import -f’ to import the pool.
root@truenas[~]# zpool import -f
pool: Pool
id: 1418693507757103581
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:
Pool UNAVAIL unsupported feature(s)
mirror-0 ONLINE
gptid/ca55d1fe-2484-4ce2-83d8-6d309331a585 ONLINE
gptid/55a86207-6627-4a77-8bd4-639614d9f50a ONLINE
root@truenas[~]# zpool import -f Pool
This pool uses the following feature(s) not supported by this system:
com.klarasystems:vdev_zaps_v2
cannot import ‘Pool’: unsupoorted version or feature
Thanks for responses. I have upgraded to 13.3-U1 as suggested (had previously gone with 13.0-U6.4) and this has worked, have successfully imported pool.
Not sure where the com.klarasystems:vdev_zaps_v2 came from as I’m just a novice, set up TrueNAS so we could use Plex within the house to watch movies, etc. stored on a central location. Don’t know what com.klarasystems:vdev_zaps_v2 is, or even recall coming across it previously.
Anyway initial issue resolved, but looks like I have to set up users, groups, Plex, etc. all again, unless anyone has any ideas of where this might be recovered from.
If you installed with 13.3 the first time all features in that version of ZFS would be enabled on the pool you created.
If now the second time you installed an older version that does not support vdev_zaps_v2 you get the observed behaviour. Zpools are upward compatible but not necessarily downward.
To get your configuration back restore from a configuration backup you created before the fresh install. In case you did not do that, make it a habit to do so after every configuration change.
You might find a saved configuration on your pool, please post the output of:
Bad if you do not have a separate configuration backup. You will have to recreate everything from scratch. Waitaminute … what is your system dataset pool set to? What was it before you reinstalled?
If it’s missing the line that contains configs-ae32c386e13840b2bf9c0083275e7941, then it means you’ll need to manually mount the old config dataset to access the TrueNAS configs within.
This is the result of mount | grep configs:
Pool/.system/configs-1e82533d473f473aac19b5ac1e8499fb on /var/db/system/configs-1e82533d473f473aac19b5ac1e8499fb (zfs, local, noatime, nfsv4acls)
I assume then that means I will have to manually re-create user, groups, etc.?