All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Malinovich <demonbane@the-love-shack.net>
To: reiserfs-list@namesys.com
Subject: Re: reiserfsck 3.6.11 locks up
Date: Sun, 21 Dec 2003 15:47:32 -0600	[thread overview]
Message-ID: <1072043251.2090.9.camel@Gollum> (raw)
In-Reply-To: <196401c3c7c6$3ff2e1c0$74cb010a@mail2world.com>

[-- Attachment #1: Type: text/plain, Size: 2320 bytes --]

On Sun, 2003-12-21 at 07:27, David Fendrich wrote:
> I have a disaster on my hands. I have important data on a HD which
> crashed a few days ago. It turns out that the back up system has been
> down for 1 month, so I really need to recover data from this HD. I used
> dd_recover to rescue what I could to a clean drive (very few blocks were
> damaged, fortunately).
> 
> I then mounted this 200 gig file with losetup and ran reiserfsck --check
> on it. Reiserfsck said that I needed to run with --rebuild-tree. So I
> did. Pass 0 went fine. Pass 1 locked up everything after 40%. I
> downloaded the latest reiserfsck (my first version was 3.6.6 or
> something like that) and tried again. Same result at the exakt same
> position.

I just did this exact thing finishing about half an hour ago. I had a
very badly corrupted RAID 0 array to try and get data from. Using
dd_rescue, each time a read failed the kernel would disconnect the drive
altogether, forcing me to reboot. Altogether I spent about 2 full days
doing nothing but running dd_rescue with various starting points. Here's
my full procedure:

1) run dd_rescue to get the data off the drive and dump it into a file
on another partition. In my case, the file was /backup/sda-rescue

2) Once I had a full backup, I made a copy of sda-rescue on another
drive just in case.

3) I ran the following: reiserfsck --rebuild-tree --logfile
/root/reiserfsck-rebuild-tree.log /backup/sda-rescue

4) This resulted in about 3000 files in lost+found and nothing else. The
original partition had about 130,000 files total. Luckily, I made a copy
of the backup at /other/sda-rescue. :)

5) I re-ran reiserfsck with the --scan-whole-partition option:
reiserfsck --rebuild-tree --scan-whole-partition --logfile
/root/reiserfsck-rebuild-tree.log /other/sda-rescue

6) Once this completed, I mounted the partition with the following
command and got a good chunk of my data back: mount -t reiserfs -o
loop,ro /other/sda-rescue /rescue

Unfortunately, I'm far from being an expert on reiserfs, this just
happened to work for me. Best of luck. :)

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-12-21 21:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-21 13:27 reiserfsck 3.6.11 locks up David Fendrich
2003-12-21 21:47 ` Alex Malinovich [this message]
2003-12-22 11:41 ` Vitaly Fertman
  -- strict thread matches above, loose matches on Subject: below --
2003-12-22 12:15 David Fendrich
2003-12-22 12:31 ` 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=1072043251.2090.9.camel@Gollum \
    --to=demonbane@the-love-shack.net \
    --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.