From: Yury Umanets <umka@namesys.com>
To: Nicolas Vanderavero <nv@info.ucl.ac.be>
Cc: reiserfs-list@namesys.com
Subject: Re: "Unformat" a ReiserFS partition : a testimony :-)
Date: Tue, 25 Mar 2003 03:16:17 +0300 [thread overview]
Message-ID: <3E7F9FD1.7060801@namesys.com> (raw)
In-Reply-To: <3E7F5E33.4020709@info.ucl.ac.be>
Nicolas Vanderavero wrote:
> Hello,
Hello Nicolas,
>
>
> while reinstalling a Debian on a new hard drive, I made the mistake to
> format in reiserfs my good old /home which was on /dev/sda7 instead of
> formatting the new /dev/hda7. Gasp ! Eight gigabytes lost ...
>
> Or ... maybe it was not totally lost :-) I immediately made a dump of
> the partition with 'dd' and started grepping some known text on it. It
> seemed that no data was really lost. I didn't know what to do. So I
> read the man pages and found the reiserfsck command quite interesting :-)
You have lost the super block and probably old root node. I said
"probably" because it might be not used in teh time you did format.
>
>
> Ok, I am a total newbie to filesystems and to ReiserFS. So maybe it
> will sound trivial to you, but just in case it happens to anyone else,
> I just wanted to say that running a reiserfsck --rebuild-tree -S on my
> partition was enough to unformat it. I ended up with some file in
> lost+found, but a 'file *' is enough to discover what they are.
The first thing you should do in cases like this is to make backup. I
hope you'll find eight gigabytes for that. Now you may feel free to do
anything with you old partition. Then you should to do --rebuild-sb and
try to fsck the partition with --check key. Then follow to fsck sugestions.
These should be enought for getting you partition back.
>
>
> So, maybe it would be usefull to add an entry in the "Example of
> using" section of the man page of reiserfsck, saying something like :
> "If you reformatted by mistake a reiserFS partition, you can try to
> unformat it by running reiserfsck --rebuild-tree -S on it".
Sounds good. Probably Vitaly should consider about that for including it
in the next fsck -pre.
>
>
> Anyway, thank you for developing this filesystem.
> Nicolas Vanderavero.
>
>
>
>
>
>
P.S. Please read http://www.namesys.com/support.html. Can you as for
support?
--
Yury Umanets
next prev parent reply other threads:[~2003-03-25 0:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-24 19:36 "Unformat" a ReiserFS partition : a testimony :-) Nicolas Vanderavero
2003-03-25 0:16 ` Yury Umanets [this message]
2003-03-25 0:48 ` Manuel Krause
2003-03-25 1:26 ` Yury Umanets
2003-03-25 2:03 ` Manuel Krause
2003-03-25 9:29 ` Yury Umanets
2003-03-25 17:25 ` Vitaly Fertman
2003-03-25 17:40 ` Yury Umanets
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=3E7F9FD1.7060801@namesys.com \
--to=umka@namesys.com \
--cc=nv@info.ucl.ac.be \
--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.