MultiDrive – free backup, clone & wipe disk utility from Atola Technology

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Ext3 data recovery
PostPosted: February 8th, 2012, 1:20 
Offline

Joined: December 12th, 2010, 9:50
Posts: 121
Hello everybody

I have a case where customer has deleted data from linux ext3 file system. I think unlike windows linux does not keep track of records since it is journaling file system. since this is my first case I would like to know possible chances of recovery.
thank you


Top
 Profile  
 
 Post subject: Re: Ext3 data recovery
PostPosted: February 8th, 2012, 2:07 
Offline

Joined: March 3rd, 2009, 15:27
Posts: 131
Location: Canada
Hi check out linux-file-recovery-freeware-for-extfs-partitions-t19958.html


Top
 Profile  
 
 Post subject: Re: Ext3 data recovery
PostPosted: February 8th, 2012, 3:18 
Offline
User avatar

Joined: February 27th, 2009, 3:26
Posts: 1721
Location: French Polynesia Tahiti
If this is really your first case then you should know that you have to clone your HDD before attempting any recovery on this one.

Second if you find your files never write them back to the same disk they were on to begin with.

Thrid never attempt a recovery program on a disk like this before cloning it and working with your clone. If you make an error you can always clone it again and the clients disk stays as it is.

_________________
Iorana Haraharaini


Top
 Profile  
 
 Post subject: Re: Ext3 data recovery
PostPosted: February 8th, 2012, 7:22 
Offline

Joined: December 12th, 2010, 9:50
Posts: 121
thanks squal & poehere
yes first task will be to clone disk sector by sector and to work on image only.


Top
 Profile  
 
 Post subject: Re: Ext3 data recovery
PostPosted: February 8th, 2012, 10:13 
Offline

Joined: January 10th, 2012, 10:48
Posts: 23
Location: Europe
There is no need to the clone drive, if you feel comfortable enough working with it, without making blatantly obvious mistakes - one of them, of course, is writing data to the source drive, as has already been mentioned. Generally, this operation is more or less safe (taking the said above into account) - however, if the drive is in a bad shape (degraded heads, surface damage, etc), then such approach might be unfitting. If the drive is fine - then doing a simple recovery, of a deleted file, shouldn't be all that hard.

Take a look at a package called testdisk in the repositories of Debian GNU/Linux. In case this was a text-only filetype - you can even use a tool called grep, on an according partition, to try and match a pattern or a keyword, that was inside the file. Sort of "search in contents". Correct me if I'm wrong, but from what I recall, only inodes should be purged on a regular delete operation in regards to the ext filesystem - so your file is still there, unless something has already been written over its sector space.


Top
 Profile  
 
 Post subject: Re: Ext3 data recovery
PostPosted: February 8th, 2012, 10:33 
Offline

Joined: August 12th, 2008, 13:11
Posts: 3235
Location: USA
XXL wrote:
There is no need to the clone drive, if you feel comfortable enough working with it, without making blatantly obvious mistakes

Just as there is no need to wear safety equipment when mountain-climbing, if you feel comfortable enough doing it without making blatantly obvious mistakes?

_________________
You don't have to backup all of your files, just the ones you want to keep.


Top
 Profile  
 
 Post subject: Re: Ext3 data recovery
PostPosted: February 8th, 2012, 11:41 
Offline

Joined: January 10th, 2012, 10:48
Posts: 23
Location: Europe
drc wrote:
XXL wrote:
There is no need to the clone drive, if you feel comfortable enough working with it, without making blatantly obvious mistakes

Just as there is no need to wear safety equipment when mountain-climbing, if you feel comfortable enough doing it without making blatantly obvious mistakes?


So just choosing an according path to save files, when you are reminded and warned in a dialog about this exact thing in testdisk, is the same as reaching the top of a mountain without safety equipment, while being in danger every second? Right.

Just as there's a need of wearing an IRON MAN suite while taking a walk in the park.


Top
 Profile  
 
 Post subject: Re: Ext3 data recovery
PostPosted: February 8th, 2012, 12:48 
Offline

Joined: August 12th, 2008, 13:11
Posts: 3235
Location: USA
XXL wrote:
drc wrote:
XXL wrote:
There is no need to the clone drive, if you feel comfortable enough working with it, without making blatantly obvious mistakes

Just as there is no need to wear safety equipment when mountain-climbing, if you feel comfortable enough doing it without making blatantly obvious mistakes?


So just choosing an according path to save files, when you are reminded and warned in a dialog about this exact thing in testdisk, is the same as reaching the top of a mountain without safety equipment, while being in danger every second? Right.

Just as there's a need of wearing an IRON MAN suite while taking a walk in the park.

Still, I would not consider that to be good advice that helps encourage best practices in people who don't know any better.

_________________
You don't have to backup all of your files, just the ones you want to keep.


Top
 Profile  
 
 Post subject: Re: Ext3 data recovery
PostPosted: February 8th, 2012, 13:21 
Offline

Joined: March 3rd, 2009, 15:27
Posts: 131
Location: Canada
OP was already aware of cloning as can be seen from OP post on another thread. I think it is good idea to clone, and those new to data rec. will benefit from reminder. Obvious danger exist from cloning to working drive so care is needed. There is also possibility data rec sofware crash has bug, cause corruption to only copy, then what?


Top
 Profile  
 
 Post subject: Re: Ext3 data recovery
PostPosted: February 8th, 2012, 16:53 
Offline
User avatar

Joined: January 28th, 2009, 10:54
Posts: 3547
Location: Greece
drc's comment was a reminder that when you mess with a failing drive you should always clone it first and then play safely.
XXL's comment was about recovering to the same sick drive (most s/w won't let you do that anyways).

I think hddguy is right, i'm puzzled too...

_________________
http://www.northwind.gr
SandForce SSD Recovery
Ransomware Reverse Engineering - NoMoreRansom! partners


Top
 Profile  
 
 Post subject: Re: Ext3 data recovery
PostPosted: February 8th, 2012, 17:21 
Offline

Joined: May 6th, 2008, 22:53
Posts: 2138
Location: England
@northwind:

northwind wrote:
drc's comment was a reminder that when you mess with a failing drive you should always clone it first and then play safely.

Agreed :D

And even if a drive isn't thought to be failing (i.e. a "logical only" problem), then sometimes that is a mis-diagnosis (or incomplete diagnosis) by the user, and there really is a physical problem which the user was not aware of (I've identified that situation in several threads here, over the years). So then the drive is already at increased risk of further degradation, and cloning should be considered before attempting logical recovery IMHO.

We've seen several times on the forum where users have tried doing file-based recovery from their disk, and the disk has died after hours of recovery attempts. That time could have been time used for cloning, before the disk finally died too much for DIY and became a much more expensive professional recovery job. :(


Top
 Profile  
 
 Post subject: Re: Ext3 data recovery
PostPosted: February 8th, 2012, 17:27 
Offline

Joined: November 29th, 2006, 10:08
Posts: 7864
Location: UK
We ALWAYS make a clone before doing ANY logical work on a drive.

It's a matter of correct procedure....... "just in case"

"Belt and braces" maybe, but I don't want my trousers falling down!

_________________
PC Image Data Recovery
http://www.pcimage.co.uk

New!! HDD-PCB.COM for all your PCB and donor HDD requirements!


Top
 Profile  
 
 Post subject: Re: Ext3 data recovery
PostPosted: February 8th, 2012, 17:43 
Offline

Joined: May 6th, 2008, 22:53
Posts: 2138
Location: England
pcimage wrote:
I don't want my trousers falling down!

Thanks for that mental picture! :shock: Seriously though, completely agreed with that reasoning you described. :D


Top
 Profile  
 
 Post subject: Re: Ext3 data recovery
PostPosted: February 9th, 2012, 7:22 
Offline
User avatar

Joined: January 28th, 2009, 10:54
Posts: 3547
Location: Greece
@Vulcan, totally agree.
I was only trying to clear the mixup in meanings.

_________________
http://www.northwind.gr
SandForce SSD Recovery
Ransomware Reverse Engineering - NoMoreRansom! partners


Top
 Profile  
 
 Post subject: Re: Ext3 data recovery
PostPosted: February 9th, 2012, 7:38 
Offline

Joined: May 6th, 2008, 22:53
Posts: 2138
Location: England
@northwind,

Thanks, yes, I understand. Sorry if my posting wasn't clear - I was trying to agree with you, and add another example of what we have both said, based on my experiences :)


Top
 Profile  
 
 Post subject: Re: Ext3 data recovery
PostPosted: February 9th, 2012, 8:02 
Offline
User avatar

Joined: January 28th, 2009, 10:54
Posts: 3547
Location: Greece
@Vulcan, no problem my friend. Sometimes writing to non-native language can cause this, sorry :)

_________________
http://www.northwind.gr
SandForce SSD Recovery
Ransomware Reverse Engineering - NoMoreRansom! partners


Top
 Profile  
 
 Post subject: Re: Ext3 data recovery
PostPosted: February 9th, 2012, 12:50 
Offline

Joined: July 7th, 2010, 4:45
Posts: 924
Location: UK
Vulcan wrote:
pcimage wrote:
I don't want my trousers falling down!

Thanks for that mental picture! :shock: Seriously though, completely agreed with that reasoning you described. :D



I'm still in shock from that mental picture :shock: counselling is going to cost me a fortune :lol:


Loki


Top
 Profile  
 
 Post subject: Re: Ext3 data recovery
PostPosted: February 11th, 2012, 7:23 
Offline

Joined: January 4th, 2012, 20:04
Posts: 17
Location: netherlands
Don't use the commercial recovery tools for Linux-file-systems.
Use the Linux tools. For ext3
http://extundelete.sourceforge.net/


Top
 Profile  
 
 Post subject: Re: Ext3 data recovery
PostPosted: February 11th, 2012, 11:31 
Offline

Joined: January 10th, 2012, 10:48
Posts: 23
Location: Europe
Fascinating, how like the last 10 posts / posters are misinterpreting the context and going completely offtopic into something irrelevant to the OP's problem - only because of reckless reading that made them slip into a backup-tribute coma. He got 99 problems but a failing hard drive ain't one. He only wants to undelete / recover a deleted file. Therefore, he does not need to maniacally image his drive, unless he feels uncomfortable about somehow pressing the wrong set of keys - which is pretty hard to fluff up anyway, as testdisk presents you with a descriptive dialog and a warning, specifically for that exact thing (saving to a different storage). Lecturing about the importance of cloning is one thing, understanding the issue at hand and presenting a rational solution - is another. Imagine the redundancy, if he only needs to locate a single deleted file and is going to image a 2TB drive, just for that. Can speculate, that he might simultaneously have a failing hard drive, but what are the odds of that in this particular case? Pretty low. If it was really in such a bad shape - it would die regardless when being imaged or when testdisk would've had it's way with it: you either get an incomplete image or an array of recovered files. One is not much better than the other.

Also, it's not really testdisk, but photorec for the needed functionality.


Top
 Profile  
 
 Post subject: Re: Ext3 data recovery
PostPosted: February 11th, 2012, 13:18 
Offline

Joined: August 12th, 2008, 13:11
Posts: 3235
Location: USA
TaskManager wrote:
I have a case where customer has deleted data from linux ext3 file system.

(emphasis mine)

When dealing with data belonging to someone who is paying you and trusting their data to you, which is more important? Absolute safety, or saving a few minutes?

_________________
You don't have to backup all of your files, just the ones you want to keep.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: xmunk and 48 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group