Mailinglist Archive: opensuse (3964 mails)
| < Previous | Next > |
Re: [SLE] Reiser gone bad
- From: Marcos Vinicius Lazarini <lazarini@xxxxxxxxxxxxxxx>
- Date: Sat, 13 Nov 2004 04:03:33 -0200 (BRDT)
- Message-id: <Pine.LNX.4.58.0411130351250.31544@xxxxxxxxxxxxxxxxxxxxx>
On Thu, 11 Nov 2004, Jim Sabatke wrote:
> I lost a disk, mostly. It has loads of bad blocks and tons of data that
> I need. I've tried reiserfsck with both --rebuild-sb and
> --rebuild-tree. Nothing seems to work.
>
> I copied all the directories onto a new install disk, but it copies the
> bad blocks as bad blocks which means I can't even get into some
> directories on the copied to disk. I realize some data may be gone
> forever, but among the bad blocks there are plenty of good data.
>
> How can I recover this?
Your first step is to copy the entire disk to a good one, either partition
by partition (hda1 hda2...) either the hole disk (hda). Avoid use the
damage disk to maximize chances of a successful rescue.
To actually copy the data, I suggest you to use dd_rescue - it's a
enhanced version of dd that handle read errors much better than dd. It can
also copy reverse direction (from the end to the beggining) in case you
have a big defect right in the middle.
After that, take the usual steps (reiserfsck, etc) and see if it get back
to live: with a good media, the fschk program can actually write info to
correct structural problems.
Wish you luck! I *really* know how you are felling... :-/
--
Marcos Lazarini
> I lost a disk, mostly. It has loads of bad blocks and tons of data that
> I need. I've tried reiserfsck with both --rebuild-sb and
> --rebuild-tree. Nothing seems to work.
>
> I copied all the directories onto a new install disk, but it copies the
> bad blocks as bad blocks which means I can't even get into some
> directories on the copied to disk. I realize some data may be gone
> forever, but among the bad blocks there are plenty of good data.
>
> How can I recover this?
Your first step is to copy the entire disk to a good one, either partition
by partition (hda1 hda2...) either the hole disk (hda). Avoid use the
damage disk to maximize chances of a successful rescue.
To actually copy the data, I suggest you to use dd_rescue - it's a
enhanced version of dd that handle read errors much better than dd. It can
also copy reverse direction (from the end to the beggining) in case you
have a big defect right in the middle.
After that, take the usual steps (reiserfsck, etc) and see if it get back
to live: with a good media, the fschk program can actually write info to
correct structural problems.
Wish you luck! I *really* know how you are felling... :-/
--
Marcos Lazarini
| < Previous | Next > |