如题
固态硬盘,双系统,ext4 一个分区给 ubuntu
今天手欠了,直接删了 idea 的所有项目的根目录
首先排除了通过 idea 恢复
至于 git 。。。我最近一周刚好没提交,也不记得开发了点啥。。。
跑去 windows 下试了 diskgenius ,恢复数据,扫描完也只能看到项目文件夹的根目录,里面的文件完全看不见
extundelete /dev/nvme0n1p6 --restore-all
NOTICE: Extended attributes are not restored.
WARNING: EXT3_FEATURE_INCOMPAT_RECOVER is set.
The partition should be unmounted to undelete any files without further data loss.
If the partition is not currently mounted, this message indicates
it was improperly unmounted, and you should run fsck before continuing.
If you decide to continue, extundelete may overwrite some of the deleted
files and make recovering those files impossible. You should unmount the
file system and check it with fsck before using extundelete.
Would you like to continue? (y/n)
y
Loading filesystem metadata ... 800 groups loaded.
Loading journal descriptors ... 段错误 (核心已转储)
extundelete /dev/nvme0n1p6 --inode 2
NOTICE: Extended attributes are not restored.
WARNING: EXT3_FEATURE_INCOMPAT_RECOVER is set.
The partition should be unmounted to undelete any files without further data loss.
If the partition is not currently mounted, this message indicates
it was improperly unmounted, and you should run fsck before continuing.
If you decide to continue, extundelete may overwrite some of the deleted
files and make recovering those files impossible. You should unmount the
file system and check it with fsck before using extundelete.
Would you like to continue? (y/n)
y
Loading filesystem metadata ... 800 groups loaded.
Group: 0
Contents of inode 2:
0000 | ed 41 00 00 00 10 00 00 63 80 62 60 ba e9 55 60 | .A......c.b`..U`
0010 | ba e9 55 60 00 00 00 00 00 00 14 00 08 00 00 00 | ..U`............
0020 | 00 00 08 00 1b 00 00 00 0a f3 01 00 04 00 00 00 | ................
0030 | 00 00 00 00 00 00 00 00 01 00 00 00 3e 24 00 00 | ............>$..
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 00 00 00 00 00 00 00 00 00 00 00 00 | ................
0070 | 00 00 00 00 00 00 00 00 00 00 00 00 b4 80 00 00 | ................
0080 | 20 00 09 af ec 4e 03 39 ec 4e 03 39 84 09 60 79 | ....N.9.N.9..`y
0090 | d6 42 d0 5f 00 00 00 00 00 00 00 00 00 00 00 00 | .B._............
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: 16877
Low 16 bits of Owner Uid: 0
Size in bytes: 4096
Access time: 1617068131
Creation time: 1616243130
Modification time: 1616243130
Deletion Time: 0
Low 16 bits of Group Id: 0
Links count: 20
Blocks count: 8
File flags: 524288
File version (for NFS): 0
File ACL: 0
High 32 bits of Size: 0
Fragment address: 0
Direct blocks: 127754, 4, 0, 0, 1, 9278, 0, 0, 0, 0, 0, 0
Indirect block: 0
Double indirect block: 0
Triple indirect block: 0
File name | Inode number | Deleted status
我现在就想知道,我是不是已经凉透了。。。。
linux 下是不是没希望恢复了? 再去 windows 下试数据恢复还有意义吗?
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.