From owner-freebsd-stable@FreeBSD.ORG Sun Jun 12 18:20:04 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34CAE106564A; Sun, 12 Jun 2011 18:20:04 +0000 (UTC) (envelope-from greg@bonett.org) Received: from bonett.org (bonett.org [66.249.7.150]) by mx1.freebsd.org (Postfix) with ESMTP id 8EA538FC13; Sun, 12 Jun 2011 18:20:03 +0000 (UTC) Received: from [192.168.1.216] (unknown [76.91.19.169]) by bonett.org (Postfix) with ESMTPSA id 486F21240FE; Sun, 12 Jun 2011 18:20:02 +0000 (UTC) From: Greg Bonett To: Artem Belevich In-Reply-To: References: <1307649610.2135.29.camel@ubuntu> <1307659424.2135.43.camel@ubuntu> Content-Type: text/plain; charset="UTF-8" Date: Sun, 12 Jun 2011 11:19:57 -0700 Message-ID: <1307902797.12626.1511.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Cc: "stable@freebsd.org" Subject: Re: recover file from destroyed zfs snapshot - is it possible? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2011 18:20:04 -0000 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: http://www.aronnax.net/node/20 --Greg