LinuxQuestions.org
Help answer threads with 0 replies.
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 12-17-2005, 11:20 AM   #1
jameson
Member
 
Registered: Oct 2005
Location: in my room
Distribution: slackware
Posts: 51

Rep: Reputation: 15
can i recover deleted files from a reiser4 fs?


Hello

In a mistake of monumental proportions i have just erased a whole batch of rather large files that i have spent more than 12 hours downloading. They were in a similarly named directory to one i wished to delete.

As soon as i realised what i'd done (as i confirmed i wanted to delete them - not send to the recycle bin) i unmounted everything and fired up the auditor (a cd based linux distro). I discovered that it cannot mount my Zenwalk partition (hda5) which is reiser4 fs but can mount my suse which is reiser.

As a sort of test run i used reiserfsck to recover loads of files from suse, but now i need to recover the deleted files from Zenwalk and dont know if its ok to boot from the Zenwalk cd and use reiserfsck from there, or is there a specific command i could use to do a better job?

Will using reiserfsck on a reiser4 partition to rebuild the filesystem and the superblock cause damage to the filesystem?

Please help, these files are very important and i only had limited (time based) access to the host.
 
Old 12-18-2005, 06:00 AM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
If you deleted the file aka they aren't corrupted, then my answer is no- you are screwed.

If it's really important to you(the clock is ticking), and you have 25 bucks, you can ask the guy who made it and he may be able to give you a better anwser.

http://www.namesys.com/support.html
 
Old 12-18-2005, 04:08 PM   #3
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
I have not tried this approach myself, but I suppose that in theory you may be able to recover some files. As a general comment though, unlike Windows, "delete means delete"
 
Old 12-18-2005, 07:43 PM   #4
jamie_barrow
Member
 
Registered: Jul 2003
Location: Gauteng, South Africa
Distribution: Windows XP, yup :D Will be back onto Ubuntu probably someday
Posts: 107

Rep: Reputation: 15
At least you didn't try "# rm / -r -f"
 
Old 12-23-2005, 01:12 PM   #5
jameson
Member
 
Registered: Oct 2005
Location: in my room
Distribution: slackware
Posts: 51

Original Poster
Rep: Reputation: 15
Akkk.

I had to go into work and tell the boss i lost em. An unpleasant experiance.

That'll teach me to use an operating system that deletes when it says it does.

From my.. ahem "investigations" i found that using reiserfsck (not reiser4fsck if indeed there is such a thing) on a reiser4 partition to rebuild the filesystem and the superblock can indeed cause damage to the filesystem. i have slackware back now this time with ext3fs, just in case.



live and learn...
 
Old 12-24-2005, 05:27 AM   #6
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
Yep, you can recover ext2 and since Theo put the backwards in compatibility, ext3 as well.

It's a dual edged sword though. It also means that when you hit delete- it never actually does. I prefer to use backups offsite and have my filesystem do what I tell it to. Sorry about your predicament. But this seems more about backup policies and production server setups than filesystems.
 
  


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
How to recover files mistakenly deleted from Kget? duffmckagan Linux - Software 3 12-07-2005 11:17 AM
200GB of files Deleted - How to Recover? newlinuxnewbie Linux - General 4 10-05-2005 01:03 PM
how to recover deleted files sibtay Linux - Software 13 01-22-2005 09:09 PM
Recover deleted files? subaruwrx Linux - Newbie 8 06-04-2004 09:47 AM
Recover deleted files markdw Linux - General 1 12-07-2001 05:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:10 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration