Hi all ,
        Thanks to God and Linux Hackers who write down such helpfull 
documentations. 
Finally I am able to recover my data back ;-))
It was painful night but got success to get my data back .
Such joyful felling :-D  you can imagine .


I did refer this links to recover my data back .

http://forums.infoprosjoint.net/showthread.php?t=5821
http://www.linuxquestions.org/questions/answers/197
 http://www.antrix.net/journal/techtalk/reiserfs_data_recovery_howto.comments
http://www.martian.org/marty/archives/000888.html

I used following command to recover my partition and data .

I first created backup of my formatted partion into singal file of name 
"filesystempartition" .
linux:~ # dd if=/dev/hda2 of=filesystempartition

Using reiserfsck command It rebuilds the entire filesystem tree .
linux:~ # reiserfsck --rebuild-tree -S -l recovery.log filesystempartition .

Create "recover" directory to mount "filesystempartition" using loop option .
linux:~ # mkdir recover
linux:~ # mount filesystempartition recover -o loop

I changed directory in lost+found directory where all my recover data will be 
present . But all files and directories are in number ( inode ).
linux:~ # cd recover/lost+found/

So I searched for my particular file "amit.doc" which was in 
"/home/amit/Documents/amit/amit.doc" .
linux:~ # find | grep amit.doc
this was o/p of the above command : ./1898_246487/Documents/amit/amit.doc

I guess that  "./1898_246487" is my "/home/amit" directory .
linux:~ #cd ./1898_246487
linux:~ #ls 
 And ha ha ;-)  I found all my directories and files from my "/home/amit" 
directory .

Simple reiserfsck and dd commands helped me to recover my data .
This is magic of Unix .

Thanks to GNU/Linux Community
-- 
Amit.
______________________________________________________
param vaibhavam netum etat swaraashtram
  samrthaa bhavatwaashishaa tebhrusham

           || Bharat Maata Ki Jay ||


--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List:      (plug-mail@plug.org.in)
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.

Reply via email to