Welcome to YLOAN.COM
yloan.com » Linux » Few ways to recover lost files from ext2-based Linux system
Games Personal-Tech Data Entry registry cruise torrent mac code virus storage uninstaller systems cisco bugs wireless codes maintenance dell update communication trojan atlanta Data Backup Data Storage Data Protection Data Recovery Anti-Virus Windows Linux Software Hardware Mobil-Computing Certification-Tests Computers & Internet Internet

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 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.

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

By: Maria Peter
Embellish Yourself with Startling Changjiang X6 Quad Band Dual SIM Tv Wi-Fi Java Phone Black with Red Border Ins and Outs of Linux PS3 Streaming Corruption of Fstab and Mtab Files and Available Linux Recovery Solutions Selecting The Perfect Red Lipstick For Your Skin Tone Is The 1u Linux Server Right For You? Linux Reseller Hosting: Its Numerous Benefits Kidkraft Red Vintage Kitchen Irish Red And White Setter Breed Description, History, Grooming, Health Issues And Living Conditions What Does The Blinking Three Red Lights On Xbox 360 Mean? Resolving Red X Problem In Word Documents Private Pilot License Course Three Red Lights Fix Game Over 4 Nights Nile Cruise Holiday From Hurghada Red Sea
print
www.yloan.com guest:  register | login | search IP(3.143.214.100) / Processed in 0.008932 second(s), 7 queries , Gzip enabled , discuz 5.5 through PHP 8.3.9 , debug code: 52 , 2902, 12,
Few ways to recover lost files from ext2-based Linux system