Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Recoverying ReiserFS Partition
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Zigen
n00b
n00b


Joined: 16 May 2003
Posts: 16
Location: Santa Barbara, CA

PostPosted: Sun Apr 10, 2005 12:36 am    Post subject: Recoverying ReiserFS Partition Reply with quote

It seems that my hard drive has created bad blocks. Now when I try to mount my partition (/dev/sda3), I keep getting this mesage:

/dev/sda3: Input/output error
mount: you must specify the filesystem type

When I try to mount the drive using this command "mount -t reiserfs /dev/sda3 /temp/", I get this message:

mount: wrong fs type, bad option, bad superblock on /dev/sda3 or too many mounted file systems.


So pretty much I know that my partition is messed up. What can I do to recover my data on the partition and the sectors that were unaffected? Is there some type of software of some sort? I am looking into any means of recoverying my data.
Back to top
View user's profile Send private message
mdshort
Apprentice
Apprentice


Joined: 06 Dec 2004
Posts: 157

PostPosted: Sun Apr 10, 2005 12:58 am    Post subject: Reply with quote

fsck?
_________________
"With every rise, there is a fall."
Back to top
View user's profile Send private message
Zigen
n00b
n00b


Joined: 16 May 2003
Posts: 16
Location: Santa Barbara, CA

PostPosted: Tue Apr 12, 2005 8:58 pm    Post subject: Reply with quote

reiserfsck gives me the same errors pretty much. It won't the partition at all. any other things I can do?
Back to top
View user's profile Send private message
xming
Guru
Guru


Joined: 02 Jul 2002
Posts: 441

PostPosted: Tue Apr 12, 2005 10:44 pm    Post subject: Reply with quote

if you have enough space on an other drive, try the following

Code:

dd conv=noerror,sync if=/dev/<corrupted partition> of=/path_with_enough_space/corrupted_reiserfs.img
fsck.reiserfs /path_with_enough_space/corrupted_reiserfs.img
mount -o loop /path_with_enough_space/corrupted_reiserfs.img /mnt/<something>


then copy what ever you want

xming
_________________
http://wojia.be
Back to top
View user's profile Send private message
wHAcKer
Apprentice
Apprentice


Joined: 18 Oct 2002
Posts: 228
Location: Grimbergen, Belgium

PostPosted: Wed Jun 01, 2005 1:29 pm    Post subject: Reply with quote

And if that drive is 250gb? :(
Back to top
View user's profile Send private message
Chris W
l33t
l33t


Joined: 25 Jun 2002
Posts: 972
Location: Brisbane, Australia

PostPosted: Thu Jun 02, 2005 9:20 am    Post subject: Reply with quote

You should really post the exact output of mount, and reiserfsck --check.

Assuming that you KNOW this was a ReiserFS partition and that you have tried all the examples in the reiserfsck man page

http://www.namesys.com/reiserfsck.html#AN%20EXAMPLE%20OF%20USING%20reiserfsck

you could try the --rebuild-sb option.
_________________
Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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