ext4误删文件恢复

青春壹個敷衍的年華 提交于 2020-02-26 00:40:59

操作系统: centos 6.8

文件系统: ext4 on lvm

块设备信息: /dev/dm-2: Linux rev 1.0 ext4 filesystem data (needs journal recovery) (extents) (large files) (huge files)

 

恢复操作如下:

以root进入命令行

yum install extundelete

cd [recover-dir]

extundelete --restore-all /dev/dm-2

该ext4卷中被删除的文件会被恢复到 当前目录下的RECOVERED_FILES目录中

* 恢复具体的目录或文件名提示操作不被允许
extundelete  /dev/dm-2 --restore-file xxx.json

extundelete: Operation not permitted while restoring file.
extundelete: Operation not permitted when trying to examine filesystem

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!