My first post here.
I also posted the same on the Gentoo forum, but then I felt it was not the proper place.
So:
I had 4 SSDs installed in a PCIe to NVME expansion card (MSI XPANDER-AERO) that came with the motherboard of a rather old PC (2020).
The card failed after six years of usage, but the SSDs are OK.
Two of them have btrfs partitions.
The other two have zfs pools, each of them single disk, whole disk.
For these last two I used zfs to be able to share data between Gentoo and FreeBSD in a simple, native way for each OS (FreeBSD cannot read/write btrfs partitions and I don’t like ext3/4, which it can do).
The expansion card failure was sudden, like all failures, so there was no time to do proper zpool export or anything else. So, I just removed the SSDs and put them in a Terramaster D4 and also tried each of them in a few USB-C and TB4 external enclosures (I have no other PC with internal M.2 slots).
The two SSDs with btrfs filesystems can be used with no issues to access the data.
Those two with zfs cannot.
When I try to import the pools with
zpool import -d /dev/nvme1n1
or
zpool import -m -n -F -d /dev/nvme1n1
I get
no pools available to import
The SSDs have the typical zfs partitioning:
parted /dev/nvme1n1 p
Model: Sabrent (nvme)
Disk /dev/nvme1n1: 4097GB
Sector size (logical/physical): 4096B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 8389kB 4097GB 4097GB zfs-5e2d56f0da6e2044
9 4097GB 4097GB 67.1MB
So, the partitions are still there, certainly with data on them from when they were used inside the PC. Is there a way to recover the data from those zfs pools?