testdisk icon indicating copy to clipboard operation
testdisk copied to clipboard

Copying files off drive without a superblock results in infinite copying that only ends when target hard disc runs out of space

Open NathanSkene opened this issue 4 years ago • 1 comments

I'm trying to recover files off a hard disc that was setup as RAID (described here: https://superuser.com/questions/1652186/recovering-a-newly-created-raid1-that-has-no-superblock-lost-after-reboot).

I'm using testdisk to access it:

  • I select Index partition
  • Analyze
  • Get message "bad sector count - no partition is bootable".... so I do Quick search
  • I select the HPFS - NTFS partition
  • Hit P to list files
  • I select particular folders to copy

Some folders copy OK. Other folders send the copy function into what seems to be an infinite loop. My sense is that this seems to be related to the folders having hidden directories with things like .git directories or .cache directories.

Not really sure how I can create a reproducible example without posting you the drive but if you've got suggestions let me know!

Is there any way to mitigate this?

NathanSkene avatar Jun 02 '21 09:06 NathanSkene

Use 'h' to hide deleted files and try again to copy the directory. Do you still have the problem ?

cgsecurity avatar Jun 03 '21 14:06 cgsecurity