recover file from destroyed zfs snapshot - is it possible?

Greg Bonett greg at
Sun Jun 12 18:20:04 UTC 2011

I wanted to send a quick message to resolve this thread. With the help
of a friend, I was able to recover the data in question. Since the file
was significantly smaller than the ZFS block size, and compression was
not enabled (or at least was not enabled at the time the file was
written), we were able to read each ZFS block and see if it contained
the string in question. I'm happy to say our efforts were successful. 

My friend wrote a nice little c++ program to do this and posted it here:


More information about the freebsd-stable mailing list