Hosed ext3 superblock -- partial success, but about those nameless mysql files...

Jerry Feldman gaf-mNDKBlG2WHs at public.gmane.org
Wed Jun 2 20:24:23 EDT 2010


On 06/02/2010 01:15 PM, Ling Cheung wrote:
> Well, I followed Charles's advice, and the result was about the same as my previous attempt, but this time I looked into that lost+found directory a bit more closely.  I had overlooked the fact that some of these files are intact directories.  I seem to have more usable data than I realized.
>
> I've found some of the most important stuff.  I'll reinstall Ubuntu on a new hard drive and try to salvage the data I want.
>
> Among the evidently less usable data is a bunch of mysql files with missing file names (that is, with names like #15901557).  I know the file type, thanks to the file command.  I think that these are from mythtv, since that's the only database I seem to be missing.  It would be nice to recover my mythtv database for a few reasons, if I can do so without too much hassle.
>
> Is there a clever way to determine which file is which?
>    
Lost+found is a place where files go when they lose their directories. 
The #15901557should be the inode number of that file. Directories 
essentially contain the file names and their inode #.  Directories are 
files too, and they can be grep'd. I haven't recovered files like this 
for a long time.

-- 
Jerry Feldman<gaf-mNDKBlG2WHs at public.gmane.org>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846






More information about the Discuss mailing list