I had a ZFS pool managed by TrueNAS running on a VM. This pool has round-tripped a few times with no issue, but after the last export/disconnect from TrueNAS I cannot import it into proxmox. I get
I have tried the following
I've rebooted, detatched the drives from the TrueNAS VM, rebooted again, etc. I'm not sure how to proceed. If I try to import into TrueNAS it warns existing data could be lost. Is there any way to recover this pool/data?
cannot import 'tank': one or more devices is currently unavailable
I have tried the following
Code:
root@homelab:~# zpool import
pool: tank
id: 8124528904881734100
state: ONLINE
status: Some supported features are not enabled on the pool.
(Note that they may be intentionally disabled if the
'compatibility' property is set.)
action: The pool can be imported using its name or numeric identifier, though
some features will not be available without an explicit 'zpool upgrade'.
config:
tank ONLINE
raidz1-0 ONLINE
9f417cc3-8338-4e7a-976b-e2d3f707df24 ONLINE
9a0cb0b6-2c90-44d5-88fd-1dedec04433b ONLINE
162a6676-3539-4a5c-a003-355c32ac8d7d ONLINE
root@homelab:~# ls -alh /dev/disk/by-id/ata*
lrwxrwxrwx 1 root root 9 Jan 11 11:19 /dev/disk/by-id/ata-Samsung_SSD_870_EVO_2TB_S6PNNS0W105328K -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 11 11:19 /dev/disk/by-id/ata-Samsung_SSD_870_EVO_2TB_S6PNNS0W105328K-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 11 11:19 /dev/disk/by-id/ata-Samsung_SSD_870_EVO_2TB_S6PNNS0W105328K-part2 -> ../../sda2
lrwxrwxrwx 1 root root 9 Jan 11 11:19 /dev/disk/by-id/ata-Samsung_SSD_870_EVO_2TB_S6PNNS0W105332H -> ../../sdb
lrwxrwxrwx 1 root root 10 Jan 11 11:19 /dev/disk/by-id/ata-Samsung_SSD_870_EVO_2TB_S6PNNS0W105332H-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Jan 11 11:19 /dev/disk/by-id/ata-Samsung_SSD_870_EVO_2TB_S6PNNS0W105332H-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 9 Jan 11 11:19 /dev/disk/by-id/ata-Samsung_SSD_870_EVO_2TB_S6PNNS0W105404L -> ../../sdc
lrwxrwxrwx 1 root root 10 Jan 11 11:19 /dev/disk/by-id/ata-Samsung_SSD_870_EVO_2TB_S6PNNS0W105404L-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Jan 11 11:19 /dev/disk/by-id/ata-Samsung_SSD_870_EVO_2TB_S6PNNS0W105404L-part2 -> ../../sdc2
root@homelab:~# zpool import -f tank
cannot import 'tank': one or more devices is currently unavailable
root@homelab:~# zpool import -f -a -d /dev/disk/by-id
cannot import 'boot-pool': one or more devices is currently unavailable
cannot import 'tank': one or more devices is currently unavailable
root@homelab:~# zpool import -a -d /dev/disk/by-id/ata-Samsung_SSD_870_EVO_2TB_S6PNNS0W105328K,size=1953514584K,serial=S6PNNS0W105328K
no pools available to import
root@homelab:~# zpool import -d /dev
pool: tank
id: 8124528904881734100
state: ONLINE
status: Some supported features are not enabled on the pool.
(Note that they may be intentionally disabled if the
'compatibility' property is set.)
action: The pool can be imported using its name or numeric identifier, though
some features will not be available without an explicit 'zpool upgrade'.
config:
tank ONLINE
raidz1-0 ONLINE
sdc2 ONLINE
sda2 ONLINE
sdb2 ONLINE
pool: boot-pool
id: 13313959427718943600
state: UNAVAIL
status: One or more devices contains corrupted data.
action: The pool cannot be imported due to damaged devices or data.
see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-5E
config:
boot-pool UNAVAIL insufficient replicas
dm-10 UNAVAIL invalid label
I've rebooted, detatched the drives from the TrueNAS VM, rebooted again, etc. I'm not sure how to proceed. If I try to import into TrueNAS it warns existing data could be lost. Is there any way to recover this pool/data?
Last edited: