HowTo zdb -e pool name to recover data from a single ZFS device

I have the following situation:

1 * 10TB Drive full of ZFS data

I wanted to add a 100GB NVME partition to the cache

instead zpool add poolname cache nvmepartion

I wrotezpool add poolname nvmepartition

I did not , to see my mistake and exported the pool.

Neither the NVME drive is no longer available, nor the system has any information about this pool in the ZFS cache (due to export).

current status:

zpool import

shows the pool, but I cannot import the pool using any method found on the internet.

zdb -e poolname

shows me what I know: pool, his name, that he (unfortunately) has 2 children who are no longer available - and that there is no information about the missing child in the system (so all the tricks I found on the internet in a connected ghost device etc., doesn't work either)

As far as I know, the only way is to use ZDB to generate all files via "log" and pipe / save them in a different path.

**

but how? I haven't found any documentation on this anywhere.

**

Note: the 10TB drive was 90% full, then I added some of the NVME as a sibling - since ZFS is not a real raid 0 and because these siblings were so unequal in size, wrote a lot of data after my mistake - I'm pretty sure most of my data is still there.

+3


source to share





All Articles