The document is too much for force! Mistakenly deleted a few important documents, shaking and then secretly recovered, saved me!!!
Http://jingyan.baidu.com/article/2f9b480d6c2bcd41cb6cc223.html
Note several places:
1) The last CD to the wrong delete directory operation, otherwise there may be logdump when told you do not exist
2) Df-t can view the file system, find your familiar to try it is not.
[Email protected] tmp]#CD.. /data/admin/weblog_wireless/
[Email protected] weblog_wireless]#Debugfs
Debugfs 1.41.12 (17-may-2010)
DebugfsOpen/dev/vdb
Debugfsls-d/admin/weblog_wireless
25165988 (12). 25165825 (12).. 25296905 () Ready
25427970 (old 25296902) pre
25184874 (4024) WEBLOG_WIRELESS_20160505_3.TXT.BK
<25184874> (Weblog_wireless_20160427_part1.txt)
<25190394> (3936) weblog_wireless_20160505_3.txt
<25190392>(3896) Weblog_wireless_20160505_2.txt
<25187335>(3856) Weblog_wireless_20160504_2.txt
Debugfs:logdump-i Weblog_wireless_20160505_2.txt
Weblog_wireless_20160505_2.txt:File not found by ext2_lookup
Debugfslogdump-i <25190392>
Inode 25190392 is at group 3074, block100664607,Offset 2944
Journal starts at block 30019, transaction 28238
Found sequence 26118 (not 29531) at Block 9458:end of Journal.
Debugfsquit
[Email protected] weblog_wireless]#DD if=/dev/vdb of=/tmp/weblog_wireless_20160505_2.txt.bk bs=4096 count=1 skip=100664607
1+0 Records in
1+0 Records out
4096 bytes (4.1 kB) copied, 0.000172198 s, 23.8 mb/s
[Email protected] weblog_wireless]#DD if=/dev/vdb of=/tmp/weblog_wireless_20160504_2.txt.bk bs=4096 count=1 skip=100664607
1+0 Records in
1+0 Records out
4096 bytes (4.1 kB) copied, 0.000162519 s, 25.2 MB/s
[Email protected] weblog_wireless]#cd/tmp/
[email protected] tmp]# LL
Linux mistakenly deleted File recovery