LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Deleted files recovery, inodes and size is known (https://www.linuxquestions.org/questions/linux-newbie-8/deleted-files-recovery-inodes-and-size-is-known-877344/)

Fracker 04-27-2011 02:59 AM

Deleted files recovery, inodes and size is known
 
ok guyz, i manage to delete some files from the system. now i need to recover them.. i know the inode # (through ext3undel) and also the size.
Quote:

Unfortunately, we cannot automatically obtain the name of a deleted file
from Unix file systems - since the connection between the iNode (which
holds the MetaData, including the file name) and the real data is dropped
on deletion. However, we can obtain a list of names from the deleted files.
How can i use this information to recover the files?

Also can i search the text from a partition? (file don't exists). As i need figures

Soadyheid 04-27-2011 05:11 AM

Has anything been written to the disk since the deletion? If so, your file's probably toast. :(

As I understand it, (Any file system Gurus out there...Please correct me if my concept is wrong) the inodes are what is used to point to the various file "blocks" which make up the file. Like the arrows below.

Data Block --> Data block --> Data Block --> Data block... etc.

All the blocks together form the file. When you delete the file you loose the connection between the blocks. If you've saved any other file the inodes may have been re-assigned, original file blocks overwritten, and the original file's gone. :(

My :twocents: I'd be interested to see what others say though.

Play Bonny! :hattip:

xzcallaway 04-27-2011 11:37 AM

Can you tell us what operating system you have?

Fracker 04-29-2011 04:47 AM

Quote:

Originally Posted by xzcallaway (Post 4338228)
Can you tell us what operating system you have?

Linux of course, ext3 type partition..

Any ways, closing this


All times are GMT -5. The time now is 10:01 PM.