紧急求救! ubuntu 下误删了 idea 开发工具的所有项目的根目录
如题
固态硬盘,双系统,ext4 一个分区给 ubuntu
今天手欠了,直接删了 idea 的所有项目的根目录
首先排除了通过 idea 恢复
至于 git 。。。我最近一周刚好没提交,也不记得开发了点啥。。。
跑去 windows 下试了 diskgenius ,恢复数据,扫描完也只能看到项目文件夹的根目录,里面的文件完全看不见
目前寄希望于 extundelete
extundelete 第一次用比较陌生。。。
试了下这个命令
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 下试数据恢复还有意义吗?