Skip to contentSkip to conversation

ext3 and undeletion

DISCUSSION Steven Walter 3 participants 3 messages Feb 25, 2002

lore
Share & tools
lore
#0 lore raw

After unintentionally deleting some file, I noticed what appears to be an incosistency (or at least a change) in ext3. Running debugfs and executing the command "lsdel", I saw no inodes listed since I last ran the partition as ext2. Does ext3 not add its deleted inodes to whatever list ext2 does? And can this be fixed without compromising the speed or data-integrity of ext3?

Signature · 6 lines
-Steven
In a time of universal deceit, telling the truth is a revolutionary act.
			-- George Orwell
He's alive.  He's alive!  Oh, that fellow at RadioShack said I was mad!
Well, who's mad now?
			-- Montgomery C. Burns
#1 lore raw
Quoted 6 lines · Steven Walter

After unintentionally deleting some file, I noticed what appears to be an incosistency (or at least a change) in ext3. Running debugfs and executing the command "lsdel", I saw no inodes listed since I last ran the partition as ext2. Does ext3 not add its deleted inodes to whatever list ext2 does? And can this be fixed without compromising the speed or data-integrity of ext3?

This issue has been discussed in the ext3-users mailing few monthes ago:

https://listman.redhat.com/pipermail/ext3-users/2001-March/000381.html

and more recently :

https://listman.redhat.com/pipermail/ext3-users/2002-February/002950.html

Signature · 1 line
fabrice
#2 lore raw
In reply to Steven Walter
Quoted 6 lines · Steven Walter

After unintentionally deleting some file, I noticed what appears to be an incosistency (or at least a change) in ext3. Running debugfs and executing the command "lsdel", I saw no inodes listed since I last ran the partition as ext2. Does ext3 not add its deleted inodes to whatever list ext2 does? And can this be fixed without compromising the speed or data-integrity of ext3?

Known problem. Apparently difficult to fix, unfortunately. It's not so much that ext2 adds deleted inodes to a list, as that it simply marks the inode "deleted" and doesn't overwrite any of the inode data on the disk.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/