Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to recover (undelete) file from JFS filesystem?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
stefan_2000
n00b
n00b


Joined: 06 Oct 2007
Posts: 9
Location: łódź

PostPosted: Sun Nov 16, 2008 12:50 pm    Post subject: How to recover (undelete) file from JFS filesystem? Reply with quote

Hi,

is there any possibility to undelete file on JFS filesystem? JFS is journal, so there should be a way to roll-back but how?

Aany help would be appreciated :-)
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2719
Location: here, there or in transit

PostPosted: Sun Nov 16, 2008 4:08 pm    Post subject: Re: How to recover (undelete) file from JFS filesystem? Reply with quote

stefan_2000 wrote:
JFS is journal, so there should be a way to roll-back but how?
No, that's not the purpose of a filesystem journal. The journal records metadata changes to facilitate quick recovery of huge filesystems after an improper shutdown. Uncommitted transactions are replayed during recovery to restore the filesystem to a consistent state.

While it is technically true that you could roll back an uncommitted transaction (if the necessary tools existed), in practice it may only be a matter of seconds or minutes before the transaction is committed, depending on system load. Once committed, a transaction cannot be rolled back.

If another process is still using the deleted file, recovery is trivial. If not, you are probably out of luck. Googling for "undelete JFS" yields many hits but the most promising appear to be for commercial, Windows-only recovery tools.
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54310
Location: 56N 3W

PostPosted: Sun Nov 16, 2008 4:28 pm    Post subject: Reply with quote

stefan_2000,

Is this thread any help /
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
stefan_2000
n00b
n00b


Joined: 06 Oct 2007
Posts: 9
Location: łódź

PostPosted: Mon Nov 17, 2008 6:35 pm    Post subject: Reply with quote

Thanks for answers.

=> timeBandit
Trick with files in use looks nice, but won't work for me.

=> NeddySeagoon
My partition table is fine, that's not the problem.


I've spent hours looking for tool that can recover files, "Nucleus Kernel JFS" was able to recover some files, but not all. I give up.

Once again, thanks for help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum