From: Quinn Harris <quinn@quinnh.org>
To: reiserfs-list@namesys.com
Cc: Christian Trefzer <ctrefzer@web.de>
Subject: Re: reiser4: data recovery after mkfs.reiser4?
Date: Wed, 20 Dec 2006 15:05:33 -0700 [thread overview]
Message-ID: <200612201505.38544.quinn@quinnh.org> (raw)
In-Reply-To: <20061219202059.GS10358@zeus.uziel.local>
I really doubt there is any solution that would take less than a few hours. I
am sure it is possible to recover much of the data but to the best of my
knowledge no tool exists that can recover from an abandoned root node (for
reiser4). Though I believe recovery in this case would just involve finding
the root node (think that is reasonably tractable, but slow) fixing the
superblock to point to that and let fsck do its thing.
I don't think the root node has a magic number that advertises root, but
internal nodes do have a recognizable signature and in principal one could
deduce which is the root from a collection of the internal nodes.
Note that reiser4 packs lots of data in single nodes. If you create a fresh
fs with only a few small files they will reside entirely in the root node,
which will be clobbered by a mkfs. There is a very good change that mkfs
will clobber a little bit of data, but less than 4K.
I am sure a few thousand dollars would buy you a solution. Maybe less.
On Tuesday 19 December 2006 1:20 pm, Christian Trefzer wrote:
> Hi folks,
>
> a buggy script I wrote dared to mkfs a reiser4 partition after failing
> to properly tar up its contents - not that my life would depend on them,
> but it would save me a few hours if I could get the stuff back.
>
> Other than mkfs.reiser4, mount and unmount, nothing was done to the
> device ; ) Is there any way to recover most of what was stored on the
> now nuked fs?
>
> TIA,
> Chris
next prev parent reply other threads:[~2006-12-20 22:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-19 20:20 reiser4: data recovery after mkfs.reiser4? Christian Trefzer
2006-12-20 22:05 ` Quinn Harris [this message]
2006-12-21 10:21 ` Christian Trefzer
2006-12-21 11:35 ` Michael Weissenbacher
2006-12-21 12:22 ` Christian Trefzer
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=200612201505.38544.quinn@quinnh.org \
--to=quinn@quinnh.org \
--cc=ctrefzer@web.de \
--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.