[ZFS] Recover Wiped and Destroyed zpool

m4t7e0

New Member
Jan 8, 2023
2
0
1
Hi everybody, question for ZFS experts.
I had a single disk formatted in ZFS (lz4), used as a zpool repository for VM images. Among other things, it contained an NTFS format. Now, during some operations, zpool was destroyed, and then the disk was wiped (the quick one[Initializze GPT[). Now, the question is, do you think it's possible to recover the NTFS partition?"


Here some dmesg logs.

ott 29 02:04:28 pve zed[1736711]: eid=132 class=delay pool='USB-4T' vdev=usb-Seagate_Basic_NABSJJX2-0:0-part1 size=106496 offset=142254776320 priority=3 err=0 flags=0x40080c80 delay=32086ms
nov 12 00:24:01 pve zed[3801921]: eid=133 class=scrub_start pool='USB-4T'
nov 12 04:21:24 pve zed[904740]: eid=140 class=scrub_finish pool='USB-4T'
nov 22 22:00:37 pve zpool[898]: cannot import 'USB-4T': pool already exists
nov 22 22:00:49 pve zed[2730]: eid=6 class=pool_import pool='USB-4T'
nov 22 22:00:49 pve zed[2729]: eid=10 class=config_sync pool='USB-4T'
nov 22 22:00:49 pve zed[2731]: eid=5 class=config_sync pool='USB-4T'
dic 10 00:24:01 pve zed[423337]: eid=11 class=scrub_start pool='USB-4T'
dic 10 04:22:07 pve zed[1021869]: eid=18 class=scrub_finish pool='USB-4T'
dic 14 16:49:44 pve pvedaemon[3726024]: Could not remove disk 'USB-4T:vm-113-disk-0', check manually: can't lock file '/var/lock/pve-manager/pve-storage-USB-4T' - got timeout
dic 15 22:46:50 pve pvedaemon[875340]: <root@pam> starting task UPID:pve:000EAD2C:0BDC82FF:657CC94A:zfsremove:USB-4T:root@pam:
dic 15 22:46:53 pve zed[961951]: eid=150 class=pool_destroy pool='USB-4T' pool_state=DESTROYED
dic 15 22:46:54 pve zed[962031]: eid=151 class=config_sync pool='USB-4T' pool_state=UNINITIALIZED
dic 15 22:47:01 pve pvedaemon[875340]: <root@pam> end task UPID:pve:000EAD2C:0BDC82FF:657CC94A:zfsremove:USB-4T:root@pam: OK
dic 15 22:50:48 pve pvedaemon[875340]: <root@pam> starting task UPID:pve:000EB25C:0BDCDFF9:657CCA38:wipedisk:sdc:root@pam:


Some unusefull command used
zpool history -il USB-4T
cannot open 'USB-4T': no such pool

zpool import -d /dev/disk/by-id/usb-Seagate_Basic_NABSJJX2-0:0-part1 USB-4T
cannot import 'USB-4T': no such pool available


I've tryed tools like testdisk Sun Solaris and Intel GPT, but was no possible to refind nothing... Hetman Partition Recovery... idem .. any other solution?
 
I remember someone was restoring some data from a destroyed pool using a (not cheap) recovery software.
Maybe you find that thread using the forum search.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!