Gentoo Archives: gentoo-user

From: pat <pat@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] undelete files and dirs on ext3 partition
Date: Fri, 15 Feb 2008 12:02:53
Message-Id: 20080215120200.M41803@xvalheru.org
In Reply to: Re: [gentoo-user] undelete files and dirs on ext3 partition by Alex Schuster
1 On Fri, 15 Feb 2008 12:01:25 +0100, Alex Schuster wrote
2 > Uwe Thiem writes:
3 >
4 > > On Friday 15 February 2008, pat wrote:
5 > > > On Fri, 15 Feb 2008 11:41:28 +0200, Alan McKinnon wrote
6 > > >
7 > > > > Neil, you are a master of understatement :-)
8 > > > >
9 > > > > pat, it might be possible to get some stuff back, IF he remounted
10 > > > > ro immediately and IF not much writing to the disk happened in
11 > > > > the meantime.
12 > > > >
13 > > > > However, by the time you are done it is usually not worth the
14 > > > > effort it took. It's easier to reinstall and restore backups. But
15 > > > > if there are some irreplaceable files on that disk, you have no
16 > > > > choice. good luck to him.
17 > > >
18 > > > There's a home directory ... .
19 > >
20 > > What do you mean, Pat? /home still exists and is populated?
21 >
22 > I think he means there _was_ a /home directory.
23 >
24 > I'd mout ro, and backup all files that are still there. photorec will find lots of files, but only as single files, without the directory structure. See <http://www.cgsecurity.org/wiki/File_Formats_Recovered_By_PhotoRec> for a list of supported file types.
25 >
26 > There are undelete tools for ext2, but I heard they should not work with ext3, because it zeros out things instead of just marking them as deleted as it was in ext2. However, I also heard that someone had success with midnight commander, which has an undelete feature (F9, Commands menu).
27 >
28 > I did not try it, but this tool sounds promising:
29 > http://freshmeat.net/projects/giis
30 >
31 > giis (gET iT i sAY) is a file recovery tool for Ext2/Ext3 filesystems. Once installed, current files and newly created files can be recovered. It allows users to recover all deleted files, recover files owned by a specific user, dump data from old file locations, and recover files of a specific type, such as text or PNG. A forensic analyzer is also provided to assist users during recovery.
32 >
33
34 Yes, there was the home directory.
35
36 Thanks to all for the help.
37
38      Pat