-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testdisk recovers same files again and again in linux #143
Comments
Hardlinks are not valid for directories. |
I may not stated clearly my problem and enhancements DIR A has files aa,ab,ac, DIR B has files ba bb bc DIR C has files ca cb cc. So recovering DIRA leads to recover DIRB and DIRA, and then again to recover DIRA which contains BIRB and DIRA.
Same - folder repetition - problem for SSD disk was also found when i had power brakes. |
If disk contains bad sectors, you should clone the disk to a new empty disk using ddrescue as described in https://www.cgsecurity.org/testdisk_doc/ddrescue.html and run testdisk against the clone If you tried latest 7.2-WIP version, do you have the same problem ? |
I have a faulty disk (ext4 linux).
I started testdisk.
It analyzes the hdd disk and founds something like that structure
Folders:
"a" (with red color)
"copy a" (with red color)
"a" (with green color)
"copy a" (with green color)
I found out that some files may exists in specific folders but not all. However, testdisk recovers same files again and again.
In ext4 files/folders I think they are attached with hard links.
I think that testdisk, at least in ext4 format, it must have an option to not recover duplicated files eg. based on name/folder structure and size.
Also, it will be nice to provide to extract the directory tree only without data
and given that directory txt, to be able to provide testdisk with specific folders to recover eg. testdisk --recover folders.txt
TestDisk 7.1, Data Recovery Utility, July 2019 in linux debian.
The text was updated successfully, but these errors were encountered: