[Ilugc] harddisk in trouble after fsck

  • From: sudhir.openlx@xxxxxxxxx (Sudhir Gandotra)
  • Date: Fri Jun 12 17:42:10 2009

On Fri, Jun 12, 2009 at 12:55 PM, Raman.P<raamanp@xxxxxxxxxxx> wrote:



--- On Fri, 12/6/09, Sudhir Gandotra <sudhir.openlx@xxxxxxxxx> wrote:

A harddisk on the laptop asked for fsck which was done.
The process took quiet some time and at the end of it, it
linked all
the data to the lost+found directory and also the ext3
journal info of
the partition was changed by the FSCK process to ext2.
Now, all the folders and files are gone and they seem to be
in the
lost+found directory and all the folders and files names
have bene
changed to numerical.

the command tune2fs also did not help.

How to recover the folders and files from the lost+found
directory ?

From my experience I found following
a.If the numerical name is a directory, just cd to it.
b.Do an ls, you can guess original name from this.
c.You can use grep to search and guess the original file name
d.Use commands strings, file, find to guess and
?try to restore to original name

Raman.P


Thanks a lot Raman.
A manual, tough way, but the data is there, getting restored.
One of them is here with me guessing the file names (or giving a near
good name).
I wish there was an automated way of doing it.
Thanks a lot.

-- 
Sudhir Gandotra
www.sudhirgandotra.in
Best Indian Linux for 2008 - www.OpenLX.com
Humanising Technology - Transforming Lives

Other related posts: