I rebooted my TrueNAS Scale VM and upon rebooting, my zfs
pool cannot be imported any longer.
The pool is called tank
and consisted of 3x mirrors. All 4 disks are connected and recognized. They are connected via an LSA HBA in IT mode with exclusive PCI passthrough.
However, they don’t show the usual Apple ZFS
partition.
zpool list
does not show the pool.
zpool import -f -m 15783679572798201752
or
zpool import -f -m tank
yields cannot import 'tank': no such pool available
.
Running sudo zpool import -d /dev/disk/by-id tank
yields cannot import 'tank': pool was previously in use from another system.
Using -f
gives cannot import 'tank': one or more devices is currently unavailable
. -m
has no effect.
-o readonly=on
does not work.
zdb
largely shows correct output, except for two disks:
➜ by-partuuid sudo zdb -l /dev/sdd
failed to unpack label 0
failed to unpack label 1
------------------------------------
LABEL 2 (Bad label cksum)
------------------------------------
version: 5000
name: 'tank'
state: 0
txg: 11069250
pool_guid: 15783679572798201752
errata: 0
hostid: 1828591293
hostname: 'nas'
top_guid: 7507722210272055471
guid: 14463960403990065330
vdev_children: 3
vdev_tree:
type: 'mirror'
id: 1
guid: 7507722210272055471
metaslab_array: 73
metaslab_shift: 34
ashift: 12
asize: 11997984063488
is_log: 0
create_txg: 4
children[0]:
type: 'disk'
id: 0
guid: 14463960403990065330
path: '/dev/disk/by-partuuid/1c613add-a83d-411c-ad43-cb812423404f'
whole_disk: 0
DTL: 990
create_txg: 4
children[1]:
type: 'disk'
id: 1
guid: 6570285282307898179
path: '/dev/disk/by-partuuid/509ec09f-fee6-4ee1-aa77-62ef99ea855d'
whole_disk: 0
DTL: 400
create_txg: 4
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
com.klarasystems:vdev_zaps_v2
labels = 2
These partuuid
s do not exist. Trying to manually symlink them against the block device had no effect.
The 2nd disk seems corrupted:
sudo zdb -l /dev/sde
failed to unpack label 0
failed to unpack label 1
failed to unpack label 2
failed to unpack label 3
I am getting mildly desperate here.