Theme Graphic
Theme Graphic

Linux Data Recovery, Ext3,Ext2,Ext4 File system

Data Recovery linux For All Kinds of Data recovery solutions of Linux OS Like Linux Recovery, Ext2 File Recovery .

Subscribe

Author

Maria Peter a student of Mass Communication doing research on Data recovery Linux , Linux Data Recovery software .

Archive

Open 2010

Tags

Posted on Thursday, August 12, 2010 at 11:30 PM

Few ways to recover lost files from ext2-based Linux system


Are you using a Linux system and are unable to locate some of your files after a power outage? If yes, then there are chances that you may have lost these files due to any random reason. There are few methods in Linux that you can use to recover these files. If these methods do not work, then the taking the services of a professional Linux data recovery tool is called for.

Taking a practical case in which you are working on a Linux system that has ext2 file system. Suddenly, there is a power outage and the system shuts down abruptly. When the power is restored, you switch on the system, only to find that you have lost some of the files.

Cause:

1) There could be the following reasons for such situation: 2) The system could be virus infected that could have caused the data loss. 3) There could be some bugs in the operating system version. 4) It could be possible that the logical drives may be accidentally deleted. 5) The partition table may have got corrupt or damaged.

Resolution:

There are few in-build tools that you can use to recover the lost files. But first of all, you should ensure that you unmount the file system from which the files have been lost. To recover the lost files, you can perform the following tools:

debugfs: This tool is very useful in bringing back the deleted files if it is already installed on your system. To do the recovery, you need to perform the following files:

Try the following command to invoke 'debugfs'

/sbin/debugfs device

where, 'device' is the file system

In the 'debugfs' prompt, enter the following command:

lsdel

The deleted files will be enlisted. From here, you can see the deleted files.

To write the data of the deleted file in a new file, enter the following command:

dump <inode_number> filename

Where, 'filename' is the name of the deleted file

Now, repeat this command to recover all the rest deleted files.

When done, type 'q' to exit 'debugfs' prompt.

E2undel: This tool is also used to recover deleted files, but it has better interface and provides more options while recovering the files. To recover the files, you have to provide the following command:

e2undel -d device -s path [-a] [-t]

Well, if even these tools are unable to recover the lost data then there is an urgent requirement to use a third-party Ext2 Recovery software to restore deleted files. With use of advanced scanning algorithms, these tools ensure that Linux data recovery is safe and secure.
Bookmark: Submit To Digg Submit To reddit Submit To del.icio.us Bookmark With StumbleUpon Bookmark With FaceBook Bookmark With Google Bookmarks   Share: Share By Email By Email

0 comments on "Few ways to recover lost files from ext2-based Linux system"
No comments posted yet.

Leave A Comment
Subject:


Comment:
   Bold Italic Underline          Code Link Image Horizontal Rule


Because you do not have or are not logged in to your Programmer's Heaven account, please enter your name.

Name:


To help prevent comment SPAM, please enter the magic code '214' in the box:




Posting Rules
Please follow these rules when posting comments on blog posts.
  • Do not post anything that is racist, hate speech or of a sexual or adult nature.
  • Do not post or link to anything that infringes copyrighted laws.
  • Posting about security or legal topics is fine so long as you are not glorifying or encouraging people to perform illegal activities.
  • Both the author of this blog and the Programmer's Heaven administrators may delete any inappropriate comments without notice at their own discretion.
 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.