From: Ookhoi <ookhoi@humilis.net>
To: Francois-Rene Rideau <fare@tunes.org>
Cc: reiserfs-list@namesys.com
Subject: Re: recovery of crashed reiserfs disk?
Date: Sat, 18 Jan 2003 08:09:41 +0100 [thread overview]
Message-ID: <20030118080941.B5575@humilis> (raw)
In-Reply-To: <20030117221535.GA945@Kadath>
Francois-Rene Rideau wrote (ao):
> I have at home a reiserfs partition that seems to be corrupted,
> on a physically damaged disk.
...
> hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=223035648, sector=204472320
> end_request: I/O error, dev 03:04 (hda), sector 204472320
> hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
...
> Device Boot Start End Blocks Id System
> /dev/hdc4 18417 238216 110779200 83 Linux
...
> * reiserfsck /dev/hdc4 screams the following:
> <--------reiserfsck 3.6.4, 2002-------->
>
> Will read-only check consistency of the filesystem on /dev/hdc4
> Will put log info to 'stdout'
>
> Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
> ###########
> reiserfsck --check started at Fri Jan 17 19:47:07 2003
> ###########
>
> The problem has occurred looks like a hardware problem.
> Check your hard drive for badblocks.
>
> bread: Cannot read the block (15630336).
>
> zsh: 980 abort reiserfsck /dev/hdc4
>
> * Indeed, if reiserfs is counting 4096-byte blocks, then 15630336 matches
> LBA sector 143606016 (the first in the kernel error log), and
> dd if=/dev/hdc of=/dev/zero count=1 skip=143606016
> reports an error, and so do nearby sectors from ...007 to ...023 (whereas
> for instance the last sector in partition is 221558399 and works perfectly).
> Ouch.
...
> * The disk is not quite full, and block 15630336 (60GB) is possibly beyond
> the last data written to disk. Indeed, readable blocks around that place
> seem to be consistently filled with zeros.
>
> * So is there any chance that I may recover some data from the readable part
> of the disk?
>
> * If mirroring the "good" part could help, I've got another 120GB disk to do
> it (that holds the backup), but all the data shuffling involved in trying is
> heavy enough (and risky for the data, too) that I don't want to try without
> hope from you -- also, if there is hope in such a thing, do you know where
> to find a program that would indeed copy all the good sectors and skip over
> the bad ones?
Dunno if you got an answer already. My mail is a bit slow atm.
I think you can copy your data to the 120GB disk, reiserfsck it, and
mount it.
You can dd /dev/hdc4 with
dd if=/dev/hdc4 of=/largedir/largefile conv=noerror
where /largedir is a directory on another disk.
If that doesn't work, you could try ddrescue:
http://www.garloff.de/kurt/linux/ddrescue/
After you created an image, attach it to a loop device, reiserfsck it,
mount it and hopefully recover your data.
Hope that helps.
next prev parent reply other threads:[~2003-01-18 7:09 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-17 22:15 recovery of crashed reiserfs disk? Francois-Rene Rideau
2003-01-18 7:09 ` Ookhoi [this message]
2003-01-18 8:51 ` Oleg Drokin
2003-01-18 9:01 ` Ookhoi
2003-01-18 11:57 ` Francois-Rene Rideau
2003-01-20 14:20 ` Francois-Rene Rideau
2003-01-21 21:33 ` Crash again! Francois-Rene Rideau
2003-01-22 5:57 ` Ookhoi
2003-01-22 10:03 ` Francois-Rene Rideau
2003-01-24 22:28 ` Crash: the problem was DMA! Francois-Rene Rideau
2003-01-25 16:15 ` Manuel Krause
2003-01-26 18:18 ` mkreiserfs -s 1024 makes unmountable partitions Francois-Rene Rideau
2003-01-27 4:49 ` Ookhoi
2003-01-27 5:23 ` Brian Tinsley
2003-01-27 6:59 ` Oleg Drokin
2003-01-27 7:20 ` Scott R. Every
2003-01-27 7:25 ` Oleg Drokin
2003-01-27 7:37 ` Scott R. Every
2003-01-27 7:42 ` Oleg Drokin
2003-01-29 11:37 ` Hans Reiser
2003-01-27 11:26 ` Francois-Rene Rideau
2003-01-27 11:33 ` Oleg Drokin
2003-01-27 11:42 ` Francois-Rene Rideau
2003-01-27 12:46 ` Francois-Rene Rideau
2003-01-27 14:20 ` Manuel Krause
2003-01-28 2:41 ` Oh no! Not again! Francois-Rene Rideau
2003-01-28 11:00 ` Vitaly Fertman
2003-01-29 19:31 ` Francois-Rene Rideau
2003-01-29 20:17 ` Vitaly Fertman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030118080941.B5575@humilis \
--to=ookhoi@humilis.net \
--cc=fare@tunes.org \
--cc=reiserfs-list@namesys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.