LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-20-2008, 05:37 AM   #1
yadava
Member
 
Registered: Apr 2008
Posts: 60

Rep: Reputation: 15
Question data recovery in linux


hi all
is there any possibility of data recovery in linux as like windows
as we know that there is no concept of drive in the linux
despite is there any possibility of data recovery in linux after formating it
if YES then which one software we can use.
 
Old 05-20-2008, 07:47 AM   #2
premnarayan
LQ Newbie
 
Registered: Jan 2008
Location: noida
Distribution: archlinux, slackware
Posts: 21

Rep: Reputation: 15
I accidentally quick formatted my reiserfs partition as fat32 in windows. Got most of the data back (along with some ghost files) by rebuilding the filesystem tree.
As long as you do not overwrite data (a slow format, I believe, deletes actual data on disk), it is usually possible to recover. Check out rescue cds, they have tools to do that. Also there is this famous ddrescue, you may want to read about!
 
Old 05-20-2008, 08:31 AM   #3
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
In addition there are a lot of commercial and non-commercial data/file recovery programs out there, some of which have versions for Linux too, not just Windows (though it seems Windows is more usual OS for those apps). They might or might not work, but writing files to the disk does increase the possibility of overwriting the data you are trying to restore, so try not to do that. You could even make a 1-to-1 copy of the partition/disk with dd and work with that copy if you wanted; that way the original wouldn't get accidentally overwritten.

When a file is "removed", it is just unlinked - the data is not removed, but the file name in the filesystem is simply unlinked from the data portion, meaning that the data is sort of "marked free" - when something is written to disk, it can be written there if needed. Actually there is no way to "remove" data, just write on it - though somebody might consider it "removing" if one writes for example zeros over the data. And there are programs like shred*that overwrite certain files, partitions or even disks as many times as the user wants (for example 15) to make sure that the original data would be as difficult to fetch as possible, or even impossible. Though journalling filesystems, like ext3, make the use of such programs usually nonsense, because of the journalling - instead of files programs like shred can still work with whole partitions, because then the data doesn't depend on a filesystem's way to represent it.

So in short, try searching the web for programs that claim they can restore deleted files. That's probably the best bet..and if the data is really valuable (as in you're ready to pay to get it back, possibly a lot), then you can take the disk to a company that has big equipment for restoring data - for example suitable lab for opening the harddisk without damaging it and working directly on the disks inside rather than trough the disk's own connectors and read head. Some of such companies say they can restore data even in very bad cases, but of course it costs money.

If people remembered to take backups, this all wouldn't matter. Most people just don't bother.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux data recovery dravenloft Linux - General 1 01-07-2008 11:22 AM
LXer: Linux Data Recovery on Windows - Is possible through Disk Doctors Linux Recovery Software LXer Syndicated Linux News 0 10-22-2006 01:21 PM
how to recovery data in linux? darkslack Linux - Software 1 09-19-2006 08:28 AM
data recovery in linux lakshminarayan Linux - Hardware 4 06-30-2006 11:07 AM
Data Recovery from Linux. duffmckagan Linux - Software 14 07-04-2005 03:36 PM


All times are GMT -5. The time now is 11:30 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration