From: Hans Reiser <reiser@namesys.com>
To: zephod@chello.be
Cc: Ramon Reiser <ramon@namesys.com>,
Vitaly Fertman <vitaly@namesys.com>,
reiserfs-list@namesys.com
Subject: Re: Undeleting a whole reiserfs partition
Date: Sat, 10 Aug 2002 14:29:58 +0400 [thread overview]
Message-ID: <3D54EB26.4070100@namesys.com> (raw)
In-Reply-To: 200208101127.54321.zephod@chello.be
zephod (by way of zephod ) wrote:
>>Yesterday, by error, a 'rm -fr' slipped through to my /music partition,
>>a 20GB reiserfs which was at arounf 85% full. SInce then no other
>>activity took place on it. Is there any easy way to recover my files?
>>
>>In the docs, it says you cannot undelete files in reiserfs partitions,
>>since what you delete is most probable overwritten by the next comitted
>>data.
>>
Where does it say that? It needs correcting.....
>>In my case, there has been no additional modification of the
>>partition, though.
>>
>>
>
>Today I did exactly the same thing (on a 3.9 GB partition though). I could
>have killed myself for doing it!
>
>I first backed up the partition just to be safe:
>
> dd if=/dev/hdsomething of=backupfie
> losetup /dev/loop5 backupfile
>
>then I tried:
>
> reiserfsck --rebuild-tree --scan-whole-partition /dev/loop5
> mount /dev/loop5 <mountpoint>
>
>and what do you know! All my deleted stuff reappeared. As we speak I am
>restoring now the original partition.
>
>I guess this only worked because immediatly unmounted the partition after my
>unfortunate error to prevent writing new nodes and data.
>
>Also: Making backups of your data is never wasted time nor a waste of CD's
> and it is better for your nervous system too (I think this cost me another
> year of my life ;) )
>
>Hope this works out for you,
>
>Z.
>
>
>
>
>
>
--
Hans
next prev parent reply other threads:[~2002-08-10 10:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-10 9:27 Undeleting a whole reiserfs partition zephod
2002-08-10 10:29 ` Hans Reiser [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-08-05 20:47 Javier Marcet
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=3D54EB26.4070100@namesys.com \
--to=reiser@namesys.com \
--cc=ramon@namesys.com \
--cc=reiserfs-list@namesys.com \
--cc=vitaly@namesys.com \
--cc=zephod@chello.be \
/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.