Good. Buckle up.
Again,
confirm with serial numbers that the order of these drives hasn't changed. We don't want to target the wrong drives.
Check the partition table on Drive C with
gpart backup ada2
If it looks good, and has output like below
Code:
GPT 128
1 freebsd-swap 128 4194304
2 freebsd-zfs 4194432 12582744
If it looks similar to the above (but with a way bigger number at the end) then:
Clone the partition table from Drive C to Clone A with
gpart backup ada2 | gpart restore ada0
Check the partition table on Clone A with
gpart backup ada0
It should be identical (same model drives, same partition layout)
See if you get an output from
zdb -l ada0p2
now. If you do, then
this is a good thing - check the txg number near the top. Hopefully it's closer to ada2p2's 2083363 than the older ada1p2 number.
Rewrite the missing GPTID of
11b39573-ad95-11ed-8d1c-7df9cea98351
to Clone A with
gpart modify -i2 -l 11b39573-ad95-11ed-8d1c-7df9cea98351 ada0
Reboot. Go back to the command line and check the results of
zpool import
which will hopefully give you the pool available for import:
Code:
root@freenas-lab[~]# zpool import
pool: recoverme
id: 9933807979428463458
state: DEGRADED
status: One or more devices are missing from the system.
action: The pool can be imported despite missing or damaged devices. The
fault tolerance of the pool may be compromised if imported.
see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-2Q
config:
You'll probably need to do
zpool import -F
or
-FX
as well.