我在Ubuntu 16.04上有一个ext4文件系统的特殊问题。我想使用filemanager" nautilus"将一些目录移动到不同的位置。由于未知原因,交易崩溃了。没有源文件夹是空的,因为目标文件夹也是。
我几乎立即关闭了PC并将硬盘移至另一个系统的扩展坞。我使用了工具" extundelete"恢复丢失的数据。不幸的是,这不起作用。
对我而言,看起来整个文件都存在,但保存数据的inode不会被删除"它被分配了#34;,所以extundelete无法恢复"未删除" -files。
这是我的命令和输出:
extundelete --inode 4730457 /dev/sdh1
NOTICE: Extended attributes are not restored.
Loading filesystem metadata ... 1877 groups loaded.
Group: 577
Contents of inode 4730457:
0000 | fd 41 e8 03 00 10 00 00 33 4f bf 5a 64 4f bf 5a | .A......3O.ZdO.Z
0010 | a4 39 bf 5a 00 00 00 00 e8 03 3b 00 08 00 00 00 | .9.Z......;.....
0020 | 00 00 08 00 3a 00 00 00 0a f3 01 00 04 00 00 00 | ....:...........
0030 | 00 00 00 00 00 00 00 00 01 00 00 00 bc 26 20 01 | .............& .
0040 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
0050 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
0060 | 00 00 00 00 d5 24 79 29 00 00 00 00 00 00 00 00 | .....$y)........
0070 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
0080 | 20 00 00 00 7c c9 b5 58 f0 2b 9b 4d 98 2b 49 52 | ...|..X.+.M.+IR
0090 | 15 3e 5e 59 b4 77 ac d3 00 00 00 00 00 00 00 00 | .>^Y.w..........
00a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00b0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00d0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00f0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
Inode is Allocated
File mode: 16893
Low 16 bits of Owner Uid: 1000
Size in bytes: 4096
Access time: 1522487091
Creation time: 1522487140
Modification time: 1522481572
Deletion Time: 0
Low 16 bits of Group Id: 1000
Links count: 59
Blocks count: 8
File flags: 524288
File version (for NFS): 695805141
File ACL: 0
Directory ACL: 0
Fragment address: 0
Direct blocks: 127754, 4, 0, 0, 1, 18884284, 0, 0, 0, 0, 0, 0
Indirect block: 0
Double indirect block: 0
Triple indirect block: 0
File name | Inode number | Deleted status
. 4730457
.. 5376234
<HERE FOLLOWES A LIST OF THE DIRECTORIES, NONE HAS A "DELETED STATUS">
有没有办法,教程或任何提示我如何复制/恢复/修复它?
非常感谢提前
答案 0 :(得分:1)
如何检查该文件确实消失了?通过使用以下命令。
find . -inum 4730457
或
find . -inum <inum>
如果使用此命令可以找到该文件,则该文件仍然存在。