Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bud superblock on reiserfs filesystem. How to replace/fix?
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
mescall2000
n00b
n00b


Joined: 11 May 2004
Posts: 61
Location: Trento - Italy

PostPosted: Sat Sep 24, 2005 9:57 pm    Post subject: bud superblock on reiserfs filesystem. How to replace/fix? Reply with quote

I have a bud superblock on a device.

Exist a backup copy of this on the reiserfs?? i can restore?

I follow all the instructions at http://www.namesys.com/bad-block-handling.html.

My superblock are marked as bad, exist a backup copy of the superblock on the filesystem that i can overwrite in some way over this bud superblock (or relocate)?

i cannot fix the filesystem with reiserfsprogs. Is a bug of utilities??

Here the outputs of commands:

# reiserfsck /dev/md3

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --check started at Sat Sep 24 23:41:24 2005
###########
Replaying journal..

The problem has occurred looks like a hardware problem. If you have
bad blocks, we advise you to get a new hard drive, because once you
get one bad block that the disk drive internals cannot hide from
your sight,the chances of getting more are generally said to become
much higher (precise statistics are unknown to us), and this disk
drive is probably not expensive enough for you to you to risk your
time and data on it. If you don't want to follow that follow that
advice then if you have just a few bad blocks, try writing to the
bad blocks and see if the drive remaps the bad blocks (that means
it takes a block it has in reserve and allocates it for use for
of that block number). If it cannot remap the block, use badblock
option (-B) with reiserfs utils to handle this block correctly.

bread: Cannot read the block (4242): (Input/output error).

Abortito

--------------------------------------------------------------------------------
so i used the /sbin/badblocks -b 4096 -o bad.txt /dev/md3 command, but after, reiserfstune says:

reiserfstune --badblocks bad.txt /dev/md3
reiserfstune: Filesystem looks not cleanly umounted, check the consistency first.


so now how i can fix my filesystem? one program tells me that i must run reiserfstune, and other reiserfsck. All 2 stops.

How to fix?
Back to top
View user's profile Send private message
loki99
Advocate
Advocate


Joined: 10 Oct 2003
Posts: 2056
Location: Vienna, €urope

PostPosted: Sat Sep 24, 2005 10:58 pm    Post subject: Reply with quote

It is not possible to fix this, AFAIK!

Your harddrive is simply broken, corrupt, kaputt! You need to buy a new one. :cry:
Back to top
View user's profile Send private message
phlogistonjohn
n00b
n00b


Joined: 21 Mar 2005
Posts: 16
Location: MA, US

PostPosted: Sun Sep 25, 2005 12:28 am    Post subject: Reply with quote

Yeah, you might need to replace the drive, but before you give up hope. Run reiserfsck and check out the exit code. You can run the program and then do a 'echo $?' to see the number of the code. Then look in the reiserfsck man page in the section called EXIT CODES. You may be able to see something helpful there.

Also, I noticed that your filesystem is on /dev/md3. Is this a raided partition? If so look at ' cat/proc/mdstat'. And I hope you're not running Raid-0 :-P

If you're really stuck with a bad drive and really need the data off it, you can try letting it cool down (turn PC off for a couple of hours) and trying to mount it again late. I've heard, but never tried, that putting it in the freezer (protected of course) can allow you to recover data. There are also companies that you can pay to have them inspect your drive. I don't know if all of them support reiserfs though. I've only sent one drive to a company like that and it was a Novell Netware partition.
Back to top
View user's profile Send private message
tornamodo
Apprentice
Apprentice


Joined: 12 Aug 2005
Posts: 185

PostPosted: Sun Sep 25, 2005 8:21 am    Post subject: Reply with quote

most harddrive producer (like maxtor, quantum, etc) have their own check-tools.
usually you can get it from their homepages... could be worth a try!

run it over and perhaps make a deep clean or deep format.
after that check it with reiserfsck again...

anyway, you have to be extremely careful the next time, because it's possible that the hd suddenly crashes...

good luck!
:wink:
_________________
1. Docs | 2. Gentoo-Wiki | 3. Search the Forum | 4. Post
Back to top
View user's profile Send private message
MighMoS
Guru
Guru


Joined: 24 Apr 2003
Posts: 416
Location: @ ~

PostPosted: Sun Sep 25, 2005 10:05 pm    Post subject: Reply with quote

tornamodo wrote:
most harddrive producer (like maxtor, quantum, etc) have their own check-tools.
usually you can get it from their homepages... could be worth a try!

run it over and perhaps make a deep clean or deep format.
after that check it with reiserfsck again...

anyway, you have to be extremely careful the next time, because it's possible that the hd suddenly crashes...

good luck!
:wink:

Careful of these, though. Maxor's I know will format the harddrive, so you will lose your data from this (backup first)
_________________
jabber: MighMoS@jabber.org

localhost # export HOME=`which heart`
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