linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: UZAIR LAKHANI <uzairr_bs1b@yahoo.com>
To: Erik Mouw <erik@harddisk-recovery.com>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: How To Recover Files From ext3 Partition??
Date: Thu, 4 May 2006 22:16:18 -0700 (PDT)	[thread overview]
Message-ID: <20060505051618.95519.qmail@web37902.mail.mud.yahoo.com> (raw)
In-Reply-To: <20060504143814.GF16570@harddisk-recovery.com>



--- Erik Mouw <erik@harddisk-recovery.com> wrote:

> On Thu, May 04, 2006 at 07:18:38AM -0700, UZAIR
> LAKHANI wrote:
> > Is there any way to recover the deleted files from
> a
> > folder in ext3 partition. Basically in one
> directory,
> > I gave the command (rm -rf *) and all the files
> and
> > folders of this directory are lost. How to recover
> > these. I had once found an article regarding
> > un-deleting ext2 files.
> 
> It *should* work the same, though the the last time
> I tried such a
> recovery from and ext3 filesystem, ext3 made it
> particularly hard cause
> it zeros most of the inode on delete (including
> ext3_inode->i_block[]).
> Ext2 leaves much more information behind.
> 
> You could try with the undelfs feature in Midnight
> Commander, but first
> be sure to mount the filesystem read-only in order
> to avoid any further
> changes.
> 
> 
> Erik
> 
Hello All,

Thanks for the reply. Yes it is difficult to recover
files from ext3 as compared to ext2. I found this
helpful info from one website.

Q: How can I recover (undelete) deleted files from my
ext3 partition?
Actually, you can't! This is what one of the
developers, Andreas Dilger, said about it:
In order to ensure that ext3 can safely resume an
unlink after a crash, it actually zeros out the block
pointers in the inode, whereas
ext2 just marks these blocks as unused in the block
bitmaps and marks the inode as "deleted" and leaves
the block pointers alone.

Your only hope is to "grep" for parts of your files
that have been deleted and hope for the best.

[Source] =
http://batleth.sapienti-sat.org/projects/FAQs/ext3-faq.html

Additionally where can I get the source for Midnight
Commander.

Thanks,
Uzair Lakhani
> -- 
> +-- Erik Mouw -- www.harddisk-recovery.com -- +31 70
> 370 12 90 --
> | Lab address: Delftechpark 26, 2628 XH, Delft, The
> Netherlands
> -
> To unsubscribe from this list: send the line
> "unsubscribe linux-fsdevel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at 
> http://vger.kernel.org/majordomo-info.html
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

  reply	other threads:[~2006-05-05  5:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-04 14:18 How To Recover Files From ext3 Partition?? UZAIR LAKHANI
2006-05-04 14:38 ` Erik Mouw
2006-05-05  5:16   ` UZAIR LAKHANI [this message]
2006-05-05 11:18     ` Erik Mouw
2006-05-05 16:41       ` Andreas Dilger
2006-05-08 10:51         ` Stephen C. Tweedie
2006-05-08 12:34           ` Erik Mouw
2006-05-08 12:42             ` Stephen C. Tweedie
2006-05-08 17:41               ` Andreas Dilger
2006-05-08 13:20           ` Theodore Tso

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=20060505051618.95519.qmail@web37902.mail.mud.yahoo.com \
    --to=uzairr_bs1b@yahoo.com \
    --cc=erik@harddisk-recovery.com \
    --cc=linux-fsdevel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).