View previous topic :: View next topic |
Author |
Message |
mescall2000 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/376052094454b04a034bb1.jpg)
Joined: 11 May 2004 Posts: 61 Location: Trento - Italy
|
Posted: Sat Sep 24, 2005 9:57 pm Post subject: bud superblock on reiserfs filesystem. How to replace/fix? |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
loki99 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/840039902431febc0a0f2b.jpg)
Joined: 10 Oct 2003 Posts: 2056 Location: Vienna, €urope
|
Posted: Sat Sep 24, 2005 10:58 pm Post subject: |
|
|
It is not possible to fix this, AFAIK!
Your harddrive is simply broken, corrupt, kaputt! You need to buy a new one. ![Crying or Very sad :cry:](images/smiles/icon_cry.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
phlogistonjohn n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/105422374544a72291b0a3f.png)
Joined: 21 Mar 2005 Posts: 16 Location: MA, US
|
Posted: Sun Sep 25, 2005 12:28 am Post subject: |
|
|
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
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 |
|
![](templates/gentoo/images/spacer.gif) |
tornamodo Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/16135251742fcc9d17bc4c.png)
Joined: 12 Aug 2005 Posts: 185
|
Posted: Sun Sep 25, 2005 8:21 am Post subject: |
|
|
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 :wink:](images/smiles/icon_wink.gif) _________________ 1. Docs | 2. Gentoo-Wiki | 3. Search the Forum | 4. Post |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MighMoS Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/51447706341b384651f07e.png)
Joined: 24 Apr 2003 Posts: 416 Location: @ ~
|
Posted: Sun Sep 25, 2005 10:05 pm Post subject: |
|
|
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 :wink:](images/smiles/icon_wink.gif) |
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 |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|