Hi, would you be able to help me please?
The old TruesNAS 13 was a VM in Proxmox with 2 4TB hardware disks passed through to the VM and used in pool with RAID1
The new TrueNAS 13 is on the the same host but not a VM anymore, i have overwritten proxmox with TrueNAS
I did not change the LSI controller nor the disks in the system.
The situation is like this after the restore of a TrueNASbackup which is 2 months old:
```
root@antruenas[~]# zpool import
pool: antruenaspool
id: 16884376106474008389
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-EY
config:
antruenaspool UNAVAIL missing device
mirror-0 ONLINE
gptid/b8d74017-a38d-11ec-af09-75cdfa3618e1 ONLINE
gptid/b8f26292-a38d-11ec-af09-75cdfa3618e1 ONLINE
logs
gptid/ba838e33-a38d-11ec-af09-75cdfa3618e1 UNAVAIL cannot open
root@antruenas[~]# zpool status -v
pool: boot-pool
state: ONLINE
config:
NAME STATE READ WRITE CKSUM
boot-pool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
da2p2 ONLINE 0 0 0
da3p2 ONLINE 0 0 0
errors: No known data errors
root@antruenas[~]# camcontrol devlist
<ATA WDC WD40EFAX-68J 0A83> at scbus0 target 14 lun 0 (pass0,da0)
<ATA WDC WD40EFAX-68J 0A83> at scbus0 target 15 lun 0 (pass1,da1)
<ATA Samsung SSD 840 5B0Q> at scbus0 target 16 lun 0 (pass2,da2)
<ATA Samsung SSD 840 5B0Q> at scbus0 target 17 lun 0 (pass3,da3)
root@antruenas[~]# zpool import b8d74017-a38d-11ec-af09-75cdfa3618e1
cannot import 'b8d74017-a38d-11ec-af09-75cdfa3618e1': no such pool available
root@antruenas[~]# zpool import 16884376106474008389
cannot import 'antruenaspool': pool was previously in use from another system.
Last accessed by (hostid=6d5df28d) at Sat Dec 24 19:39:20 2022
The pool can be imported, use 'zpool import -f' to import the pool.
root@antruenas[~]# zpool import -f
pool: antruenaspool
id: 16884376106474008389
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-EY
config:
antruenaspool UNAVAIL missing device
mirror-0 ONLINE
gptid/b8d74017-a38d-11ec-af09-75cdfa3618e1 ONLINE
gptid/b8f26292-a38d-11ec-af09-75cdfa3618e1 ONLINE
logs
gptid/ba838e33-a38d-11ec-af09-75cdfa3618e1 UNAVAIL cannot open
root@antruenas[~]# zpool import -f 16884376106474008389
The devices below are missing or corrupted, use '-m' to import the pool anyway:
gptid/ba838e33-a38d-11ec-af09-75cdfa3618e1 [log]
cannot import 'antruenaspool': one or more devices is currently unavailable
root@antruenas[~]# camcontrol devlist
<ATA WDC WD40EFAX-68J 0A83> at scbus0 target 14 lun 0 (pass0,da0)
<ATA WDC WD40EFAX-68J 0A83> at scbus0 target 15 lun 0 (pass1,da1)
<ATA Samsung SSD 840 5B0Q> at scbus0 target 16 lun 0 (pass2,da2)
<ATA Samsung SSD 840 5B0Q> at scbus0 target 17 lun 0 (pass3,da3)
root@antruenas[~]# zpool status
pool: boot-pool
state: ONLINE
config:
NAME STATE READ WRITE CKSUM
boot-pool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
da2p2 ONLINE 0 0 0
da3p2 ONLINE 0 0 0
errors: No known data errors
root@antruenas[~]# glabel status
Name Status Components
gptid/5a792bec-8405-11ed-9362-3ca82aa09300 N/A da2p1
gptid/5ad0817c-8405-11ed-9362-3ca82aa09300 N/A da3p1
gptid/b8f26292-a38d-11ec-af09-75cdfa3618e1 N/A da1p2
gptid/b8d74017-a38d-11ec-af09-75cdfa3618e1 N/A da0p2
gptid/b8893592-a38d-11ec-af09-75cdfa3618e1 N/A da0p1
gptid/b8add411-a38d-11ec-af09-75cdfa3618e1 N/A da1p1
root@antruenas[~]# glabel status | grep b8d74017-a38d-11ec-af09-75cdfa3618e1
gptid/b8d74017-a38d-11ec-af09-75cdfa3618e1 N/A da0p2
root@antruenas[~]# glabel status | grep b8f26292-a38d-11ec-af09-75cdfa3618e1
gptid/b8f26292-a38d-11ec-af09-75cdfa3618e1 N/A da1p2
```
How to get antruenaspool back up and running?
is it safe to use -m ?
`zpool import -f -m 16884376106474008389`
Thank you
The old TruesNAS 13 was a VM in Proxmox with 2 4TB hardware disks passed through to the VM and used in pool with RAID1
The new TrueNAS 13 is on the the same host but not a VM anymore, i have overwritten proxmox with TrueNAS
I did not change the LSI controller nor the disks in the system.
The situation is like this after the restore of a TrueNASbackup which is 2 months old:
```
root@antruenas[~]# zpool import
pool: antruenaspool
id: 16884376106474008389
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-EY
config:
antruenaspool UNAVAIL missing device
mirror-0 ONLINE
gptid/b8d74017-a38d-11ec-af09-75cdfa3618e1 ONLINE
gptid/b8f26292-a38d-11ec-af09-75cdfa3618e1 ONLINE
logs
gptid/ba838e33-a38d-11ec-af09-75cdfa3618e1 UNAVAIL cannot open
root@antruenas[~]# zpool status -v
pool: boot-pool
state: ONLINE
config:
NAME STATE READ WRITE CKSUM
boot-pool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
da2p2 ONLINE 0 0 0
da3p2 ONLINE 0 0 0
errors: No known data errors
root@antruenas[~]# camcontrol devlist
<ATA WDC WD40EFAX-68J 0A83> at scbus0 target 14 lun 0 (pass0,da0)
<ATA WDC WD40EFAX-68J 0A83> at scbus0 target 15 lun 0 (pass1,da1)
<ATA Samsung SSD 840 5B0Q> at scbus0 target 16 lun 0 (pass2,da2)
<ATA Samsung SSD 840 5B0Q> at scbus0 target 17 lun 0 (pass3,da3)
root@antruenas[~]# zpool import b8d74017-a38d-11ec-af09-75cdfa3618e1
cannot import 'b8d74017-a38d-11ec-af09-75cdfa3618e1': no such pool available
root@antruenas[~]# zpool import 16884376106474008389
cannot import 'antruenaspool': pool was previously in use from another system.
Last accessed by (hostid=6d5df28d) at Sat Dec 24 19:39:20 2022
The pool can be imported, use 'zpool import -f' to import the pool.
root@antruenas[~]# zpool import -f
pool: antruenaspool
id: 16884376106474008389
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-EY
config:
antruenaspool UNAVAIL missing device
mirror-0 ONLINE
gptid/b8d74017-a38d-11ec-af09-75cdfa3618e1 ONLINE
gptid/b8f26292-a38d-11ec-af09-75cdfa3618e1 ONLINE
logs
gptid/ba838e33-a38d-11ec-af09-75cdfa3618e1 UNAVAIL cannot open
root@antruenas[~]# zpool import -f 16884376106474008389
The devices below are missing or corrupted, use '-m' to import the pool anyway:
gptid/ba838e33-a38d-11ec-af09-75cdfa3618e1 [log]
cannot import 'antruenaspool': one or more devices is currently unavailable
root@antruenas[~]# camcontrol devlist
<ATA WDC WD40EFAX-68J 0A83> at scbus0 target 14 lun 0 (pass0,da0)
<ATA WDC WD40EFAX-68J 0A83> at scbus0 target 15 lun 0 (pass1,da1)
<ATA Samsung SSD 840 5B0Q> at scbus0 target 16 lun 0 (pass2,da2)
<ATA Samsung SSD 840 5B0Q> at scbus0 target 17 lun 0 (pass3,da3)
root@antruenas[~]# zpool status
pool: boot-pool
state: ONLINE
config:
NAME STATE READ WRITE CKSUM
boot-pool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
da2p2 ONLINE 0 0 0
da3p2 ONLINE 0 0 0
errors: No known data errors
root@antruenas[~]# glabel status
Name Status Components
gptid/5a792bec-8405-11ed-9362-3ca82aa09300 N/A da2p1
gptid/5ad0817c-8405-11ed-9362-3ca82aa09300 N/A da3p1
gptid/b8f26292-a38d-11ec-af09-75cdfa3618e1 N/A da1p2
gptid/b8d74017-a38d-11ec-af09-75cdfa3618e1 N/A da0p2
gptid/b8893592-a38d-11ec-af09-75cdfa3618e1 N/A da0p1
gptid/b8add411-a38d-11ec-af09-75cdfa3618e1 N/A da1p1
root@antruenas[~]# glabel status | grep b8d74017-a38d-11ec-af09-75cdfa3618e1
gptid/b8d74017-a38d-11ec-af09-75cdfa3618e1 N/A da0p2
root@antruenas[~]# glabel status | grep b8f26292-a38d-11ec-af09-75cdfa3618e1
gptid/b8f26292-a38d-11ec-af09-75cdfa3618e1 N/A da1p2
```
How to get antruenaspool back up and running?
is it safe to use -m ?
`zpool import -f -m 16884376106474008389`
Thank you