debugfs and dump help

Jovial Shah jovialshah at gmail.com
Tue Jan 31 21:06:38 UTC 2006


Hi
I accidently deleted a file and am trying to recover them using debugfs

I see the inode of the deleted files is marked as <   0>.
===
debugfs:  ls -ld
 4916335   40755   4524    100    4096 30-Jan-2006 23:38 .
 5506117   40777   4524    100    4096 30-Jan-2006 17:21 ..
<     0>      0      0      0       0                   Content
<     0>      0      0      0       0                   4913
<     0>      0      0      0       0
query-property-type.pl
<     0>      0      0      0       0                   property_type_1.0.pl
<     0>      0      0      0       0
property_type_1.0.pl.bk
===


A ls -d displays the inodes of the deleted files.
===
debugfs:  ls -d
 4916335  (12) .    5506117  (4084) ..   <1983677> (4072) Content
<4916338> (12) 4913   <4916372> (108) query-property-type.pl
<4916357> (28) property_type_1.0.pl   <4916388> (48) property_type_1.0.pl.bk
===

using dump <4916357> /var/tmp/recover-query-property-type.pl , I don;t
recover the blocks pointed by the inode.

Any ideas ? Is recovery still possible.

Appreciate your help
Thanks
- Jovial



More information about the redhat-list mailing list