联系我们:416326801#qq.com(#改成@)

Latest from the blog

rm -rf 删除后急救

标签: Linux rm

附件下载: extundelete-0.2.4.tar.bz2

可能依赖: yum install e2fsprogs    yum install e2fslibs

tar -jxvf extundelete-0.2.4.tar.bz2
cd extundelete-0.2.4
./configure 
make && make install

# 测试是否安装成功
extundelete -v

# 查看分区
df -h

# 恢复文件
cd $dir
extundelete /dev/mapper/VolGroup-lv_root --restore-directory '/home'
extundelete /dev/mapper/VolGroup-lv_root  --restore-all

# 查看文件
cd RECOVERED_FILES/