From: Phil Frost <indigo@unununium.org>
To: dan@ngenllc.com
Cc: reiserfs-list@namesys.com
Subject: Re: Need help recovering lost partitions
Date: Wed, 28 Jan 2004 17:36:35 -0500 [thread overview]
Message-ID: <20040128223635.GA9570@unununium.org> (raw)
In-Reply-To: <20040128123530.20160.h009.c001.wm@mail.ngenllc.com.criticalpath.net>
It's unlikely you will be able to do anything before you restore your
partition table. To do that, there exist utilities that scan the drive
for patterns that imply a filesystem was there at some time. I suggest
gpart, but there are many others.
It's likely that trying to rebuild the filesystem as one huge FS did
more harm than good. If you have a backup image of the drive, use that;
if you don't make one before you do anything with dd, such as
'dd if=/dev/hdX of=backup_image'. Then you can do all sorts of
diagnostics on the image, and you can copy it before you make any
changes, and eventually restore it to the drive, by using dd again,
should you be able to recover your data.
On Wed, Jan 28, 2004 at 03:35:28PM -0500, dan@ngenllc.com wrote:
> I have a hard drive which had about 5 ReiserFs 3.6
> logical partitions on it until last night. After
> booting up my computer (running Mandrake 9.2) I got
> some error messages saying that it needed to fsck the
> drive. It went in a loop for quite a bit of time --
> fscking all the partitions and then rebooting, finding
> errors again, and rebooting. I figured out how to get
> in manually, and tried backing up my data. In the
> process though my partition table was lost. (I tried
> deleting an ext2 partition I didn't need using fdisk
> and when I wrote teh new partition table to disk the
> partition was empty).
>
> At some point I decided that enough is enough and
> installed Mandrake on another hard drive, and tried
> finding partitions using parted and gpart. Neither
> utility managed to detect my partitions.
>
> So I took a big jump. I put one giant partition on the
> hard drive (ReiserFS) and ran reiserfsck --rebuild-tree
> -scan-whole-partition.
>
> I was overjoyed to find that the files were there --
> 6,000+ files and numberous directoies were found.
> However, every file I opened was either filled with
> nulls or gobblygook.
>
> I know the data is on the drive. However reiserfsck
> found them proves this. However, I figured that
> (perhaps) the --rebuild-tree is reading all files from
> the start of the giant partition.
>
> How can I go about recovering my data?
>
> Many many thanks in advance,
>
> -Dan
>
>
>
> Dan Anderson
> Manager
> nGen, LLC.
> Phone: (914) 466-8526
> Fax: (775)562-2622
> Email: dan@ngenllc.com
next prev parent reply other threads:[~2004-01-28 22:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-28 20:35 Need help recovering lost partitions dan
2004-01-28 22:10 ` Matt Stegman
2004-01-28 22:36 ` Phil Frost [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-01-28 22:38 dan
2004-01-28 23:22 ` Matt Stegman
2004-01-28 23:35 ` Carl-Daniel Hailfinger
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=20040128223635.GA9570@unununium.org \
--to=indigo@unununium.org \
--cc=dan@ngenllc.com \
--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.