狮子的雄心,骆驼的耐力,孩子的执著!
分类: 系统运维
2017-03-10 12:06:46
环境:
Ubuntu 12.04 X86 +ext4
恢复文件使用的工具:extundelete(点击下载)
说明:当文件异常消失或者rm误删除后,避免在该分区中继续读、写、删除等操作。如果是恢复整块硬盘,请考虑安装extundelete所在分区的空间大小。
安装extundelete:
tar -xjf extundelete-0.2.2.tar.bz
cd extundelete-0.2.2
./configure
make&make install
安装出现问题: 在ubuntu上安装之前,./configure 配置 extundelete-0.2.0的时候发现提示 没有找到 ext2fs 库
extundelete-0.2.0$ ./configure Configuring extundelete 0.2.0
configure: error: Can't find ext2fs library
解决办法: sudo apt-get install e2fslibs-dev e2fslibs-dev
ext4、ext3、xfs文件系统数据恢复教程(
1<span class=
"token comment"
style=
"font-family:-apple-system, "
-webkit-font-smoothing:antialiased;margin:0px;padding:0px;max-width:100%;font-size:16px;word-
break
:
break
-all;color:slategray;
"="
">extundelete</span><strong style="
white-space:pre-wrap;font-family:Arial;font-size:14px;">,<
/strong
>
123<strong style=
"white-space:pre-wrap;font-family:Arial;font-size:14px;"
>
<pre class=
"brush:bash;toolbar:false language-bash"
style=
"font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:0.8rem;line-height:1.5;font-family:Consolas, Monaco, "
-webkit-font-smoothing:antialiased;margin-
top
:0px;margin-bottom:0.5em;padding:1em;max-width:100%;word-
break
:normal;overflow-wrap:normal;background:
#f5f2f0;overflow:auto;text-shadow:white="" 0px="" 1px;tab-size:4;hyphens:none;display:inline="" !important;"=""><span class="token comment" style="font-family:-apple-system, " -webkit-font-smoothing:antialiased;margin:0px;padding:0px;max-width:100%;font-size:16px;word-break:break-all;color:slategray;"=""> debugfs,<span style="color:#3D464D;font-family:-apple-system, " white-space:normal;"="">xfs_irecover,</span></span></pre>
<
/strong
>
1<strong style=
"white-space:pre-wrap;font-family:Arial;font-size:14px;"
>)<
/strong
>
http://blog.51cto.com/net881004/2083393