ZFS Pool offline (and possibly missing)

Hi,

I setup TrueNAS several years ago (using TrueNAS-12.0-BETA2) in Proxmox just to have a play. I used PCI Passthrough to add 4 drivers, but I lost a drive after a month or two, but added a new one (again with PCI Passthrough).

Everything worked great until recently, we have been having some power problems and, during one of the reboots, it reverted back to the original config of only sending 4 of the 5 drives through and understandably that caused some problems with the config. It said the pool was degraded (I think, sorry I forgot to grab a screenshot) so I shut it down, got all five drives back and rebooted.

Now it says the Pool is OFFLINE and it doesn’t seem to have any config for it. I can see the disks listed under Storage/Disks, but the pool just reads os offline.

I tried to run zpool status but it only lists the boot pool

root@truenas[/]# zpool status
pool: boot-pool
state: ONLINE
scan: scrub repaired 0B in 00:00:19 with 0 errors on Thu Aug 22 03:45:19 2024
config:
NAME STATE READ WRITE CKSUM
boot-pool ONLINE 0 0 0
da0p2 ONLINE 0 0 0

errors: No known data errors

So I am wondering what commands I could/should use to help discover the original config for the pool, or any other fault finding commands I should try. Everything I have googled so far seems to assume the pool is still available.

So, couple of things,

The only reliable way of passing through HDs is to pass through the drive controller.

Otherwise you are liable to corrupt the pool.

And this is exacerbated by a bug/issue in Proxmox.

More info here:

Hi Stux,

Understood - still curious to know if there is some sort of command or config file I could check though.

Try zpool import

Should give you a list of pools and their status.