解决方法
要记住的第一件事是 – 停止在文件系统上进行任何进一步的写入活动.
然后,您可以尝试一些工具来查看文件系统并尝试在已删除的节点中查找数据. ‘extundelete
‘是sourceforge上的一个这样的工具.
extundelete is a utility that can recover deleted files from an ext3 or ext4 partition. The ext3 file system is the most common file system when using Linux,and ext4 is its successor. extundelete uses the information stored in the partition’s journal to attempt to recover a file that has been deleted from the partition. There is no guarantee that any particular file will be able to be undeleted,so always try to have a good backup system in place,or at least put one in place after recovering your files!