Recover destroyed ZFS filesystem


New Member
Jul 1, 2019
I have a ZFS pool with several filesystems, one of them, "subvol-100-disk-0" was used by a container.
After reinstalling proxmox, I readded the ZFS pool using zpool import, and restored all the VMs from backups without any mayor inconvenience. However, when I restored a container, I found out that the mountpoint it was using was empty, becouse Proxmox had destroyed the filesystem referenced by the container, and recreated it, as shows zpool history | grep hddp/subvol-100-disk-0

2018-10-25.00:08:13 zfs create -o acltype=posixacl -o xattr=sa -o refquota=1048576000k hddp/subvol-100-disk-0
2019-06-30.21:18:28 zfs destroy -r hddp/subvol-100-disk-0
2019-06-30.21:19:10 zfs create -o acltype=posixacl -o xattr=sa -o refquota=10485760k hddp/subvol-100-disk-0

Can the filesystem recovered in any way? Or at least as much data as possible. I dont have backups of this whole filesystem.

Thanks in advance.
Hi, it's sad to say that maybe it's very difficult to recover the system, but maybe you can try the ButwarRecovery tool. I am not sure whether it can be surely recovered, but you can have a try. Hope you can find a way to recover it. Good luck!

You can not recover any data from zfs using any tool that do not know very well about zfs. Your only chance is to use zdb(but depends ...) if you have at least some snapshot.


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!