no such pool or dataset - Destroy and re-create the pool from a backup source.

Hi everyone, my name is Giulia and I’m writing from Italy. Sorry for the many mistakes in English, but I use Google Translate.
Let me describe my problem:
I switched from Debian with mdadm to Truenas a few days ago, and unfortunately, zfs has caused me a lot of difficulties. Now I’m stuck because, after configuring Truenas and adding two mirrored disks for storage, a problem with one disk was reported shortly afterward, and Truenas marked it as degraded.
I shut down my computer, removed the damaged disk, and ordered a new one. Now I’ve reinstalled the new disk, started Truenas, and now I find that the entire pool doesn’t exist. Truenas tells me there’s a new disk to add and another disk with an exported pool. I try to import the pool, but I get the error “no such pool or dataset. Destroy and recreate the pool from a backup source.”
How can I recover my data?

Put the disk you removed back in, doublecheck that all the cabling is as it should be.

Post the full output of sudo zpool status -v

It would also be good to see the full output of sudo smartctl -a /dev/sdX replacing X with the letters corresponding to your drives.

Also post the exact version of TrueNAS you’re using.

1 Like