X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id o66JfgOc199102 for ; Tue, 6 Jul 2010 14:41:42 -0500 X-ASG-Debug-ID: 1278445798-20c003370000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.sandeen.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id B1C6A15B6D02 for ; Tue, 6 Jul 2010 12:49:58 -0700 (PDT) Received: from mail.sandeen.net (64-131-60-146.usfamily.net [64.131.60.146]) by cuda.sgi.com with ESMTP id tYcgPDs1lKXANHzt for ; Tue, 06 Jul 2010 12:49:58 -0700 (PDT) Received: from liberator.sandeen.net (liberator.sandeen.net [10.0.0.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sandeen.net (Postfix) with ESMTP id 30855409248B; Tue, 6 Jul 2010 14:44:29 -0500 (CDT) Message-ID: <4C33879C.6050006@sandeen.net> Date: Tue, 06 Jul 2010 14:44:28 -0500 From: Eric Sandeen User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) MIME-Version: 1.0 To: Andi Kleen CC: James Shih , xfs@oss.sgi.com X-ASG-Orig-Subj: Re: Fwd: Need assistance on XFS undeleting files Subject: Re: Fwd: Need assistance on XFS undeleting files References: <201007060807.24582.misiek@pld.org.pl> <87fwzwx0rr.fsf@basil.nowhere.org> In-Reply-To: <87fwzwx0rr.fsf@basil.nowhere.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: 64-131-60-146.usfamily.net[64.131.60.146] X-Barracuda-Start-Time: 1278445800 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.92 X-Barracuda-Spam-Status: No, SCORE=-1.92 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=MAILTO_TO_SPAM_ADDR, RDNS_DYNAMIC X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.34558 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 MAILTO_TO_SPAM_ADDR URI: Includes a link to a likely spammer email 0.10 RDNS_DYNAMIC Delivered to trusted network by host with dynamic-looking rDNS X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Andi Kleen wrote: > James Shih writes: >> I would like to know if the development team carries such tools - >> tools that allow one to list the inodes of the XFS filesystem of >> deleted files, and tools that allow one to cat (dump) the blocks from >> a starting inode to all the following blocks until an indication that >> the file is ended or a new indication of a new file appears. (these >> tools would correspond to TCT's ils and pcat respectively). > > XFS has no separate reserved inode table (but just allocates/free blocks > in the fs), so it can be difficult to even find the inodes when they're > gone. However, xfs_irecover (http://jengelh.medozas.de/projects/hxtools/) may help, as long as the fs hasn't been written to much post-delete of course. -Eric > -Andi >