TestDisk stuck copying a particular file

Using PhotoRec to recover lost data
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
jim1944
Posts: 3
Joined: 01 Dec 2014, 20:04

TestDisk stuck copying a particular file

#1 Post by jim1944 »

Hope this is the correct forum for this. The issue is file recovery but it is with TestDisk not PhotoRec.

I have a WD 320GB hard drive whose C partition (~100GB) is no longer bootable. I took it out of the computer it was in, placed it in a USB hard drive enclosure and tried to perform check disk on it but Windows said it was not accessible. It does show up as a healthy RAW partition in disk management.

However, TestDisk 7.0 can see the partition and I started it copying all files to another USB drive around 10:00AM EST on Nov 29 - so it has been running for a while. After successfully copying about 46 GB of data, sometime yesterday (Nov 30) it got stuck on one file. Here's a screen shot of where it is now:
TestDiskStuck.jpg
TestDiskStuck.jpg (53.29 KiB) Viewed 5136 times
The number, 351770 keeps going up but the file TestDisk is trying to copy never finishes.

Here is the log file content:

Code: Select all


Sat Nov 29 09:57:10 2014
Command line: TestDisk

TestDisk 7.0-WIP, Data Recovery Utility, October 2014
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 7 (7601) SP1
Compiler: GCC 4.7, Cygwin 1007.25
Compilation date: 2014-11-13T18:59:50
ext2fs lib: 1.42.8, ntfs lib: 10:0:0, reiserfs lib: 0.3.1-rc8, ewf lib: 20120504
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdg)=64369852416
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdh)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdi)=320072933376
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=1000204886016
filewin32_getfilesize(\\.\PhysicalDrive2) GetFileSize err Incorrect function.

filewin32_setfilepointer(\\.\PhysicalDrive2) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\PhysicalDrive2
filewin32_getfilesize(\\.\PhysicalDrive3) GetFileSize err Incorrect function.

filewin32_setfilepointer(\\.\PhysicalDrive3) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\PhysicalDrive3
filewin32_getfilesize(\\.\PhysicalDrive4) GetFileSize err Incorrect function.

filewin32_setfilepointer(\\.\PhysicalDrive4) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\PhysicalDrive4
filewin32_getfilesize(\\.\PhysicalDrive5) GetFileSize err Incorrect function.

filewin32_setfilepointer(\\.\PhysicalDrive5) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\PhysicalDrive5
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive6)=64369852416
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive7)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive8)=320072933376
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=484336230400
filewin32_getfilesize(\\.\D:) GetFileSize err Incorrect function.

filewin32_setfilepointer(\\.\D:) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\D:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\E:)=50717044224
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=0
Warning: can't get size for \\.\F:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\G:)=0
Warning: can't get size for \\.\G:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\H:)=0
Warning: can't get size for \\.\H:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\I:)=0
Warning: can't get size for \\.\I:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\J:)=1000202241024
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\K:)=108771070464
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\L:)=64369819648
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\M:)=211282735104
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\Y:)=15728640000
Hard disk list
Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63, sector size=512 - ST3500418AS, S/N:2020202020202020202020205636414d30315252, FW:CC45
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512 - ST31000528AS, S/N:202020202020202020202020563935504c365a37, FW:CC38
Disk /dev/sdg - 64 GB / 59 GiB - CHS 7825 255 63, sector size=512 - PNY USB 2.0 FD, S/N:AE7E81E050000808, FW:1100
Disk /dev/sdh - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512 - SAMSUNG HD103SI
Disk /dev/sdi - 320 GB / 298 GiB - CHS 38913 255 63, sector size=512 - WDC WD32 00JB-00KFA0, S/N:W -D, FW:0000

Partition table type (auto): Intel
Disk /dev/sdi - 320 GB / 298 GiB - WDC WD32 00JB-00KFA0
Partition table type: Intel

Analyse Disk /dev/sdi - 320 GB / 298 GiB - CHS 38913 255 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 2/1/1
check_part_i386 2 type 0A: no test
NTFS at 13226/1/1
get_geometry_from_list_part_aux head=255 nbr=8
get_geometry_from_list_part_aux head=8 nbr=1
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=8
Current partition structure:
 1 P HPFS - NTFS              2   1  1 13225 254 63  212443497
 2 * OS/2 Boot Manager        0   1  1     0 254 63      16002
 3 E extended LBA         13226   0  1 38912 254 63  412661655
 5 L HPFS - NTFS          13226   1  1 38912 254 63  412661592

search_part()
Disk /dev/sdi - 320 GB / 298 GiB - CHS 38913 255 63
FAT32 at 0/1/1
check_FAT: Incorrect size of partition
OS2MB at 0/1/1
     OS/2 Boot Manager        0   1  1     1   0 63      16065
NTFS at 2/1/1
filesystem size           212443497
sectors_per_cluster       1
mft_lcn                   6616018
mftmirr_lcn               39086113
clusters_per_mft_record   2
clusters_per_index_record 8
     HPFS - NTFS              2   1  1 13225 254 63  212443497
     NTFS, blocksize=512, 108 GB / 101 GiB
NTFS at 13226/1/1
filesystem size           412661592
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               25791349
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS          13226   1  1 38912 254 63  412661592
     NTFS, blocksize=4096, 211 GB / 196 GiB
file_pread(8,2,buffer,625143808(38913/102/38)) lseek err Invalid argument
file_pread(8,1,buffer,625143808(38913/102/38)) lseek err Invalid argument
file_pread(8,8,buffer,625142505(38913/81/58)) lseek err Invalid argument
file_pread(8,1,buffer,625142505(38913/81/58)) lseek err Invalid argument
file_pread(8,8,buffer,625142633(38913/83/60)) lseek err Invalid argument
file_pread(8,8,buffer,625142761(38913/85/62)) lseek err Invalid argument
file_pread(8,8,buffer,625142889(38913/88/1)) lseek err Invalid argument
file_pread(8,8,buffer,625143017(38913/90/3)) lseek err Invalid argument
file_pread(8,8,buffer,625143145(38913/92/5)) lseek err Invalid argument
file_pread(8,8,buffer,625143273(38913/94/7)) lseek err Invalid argument
file_pread(8,8,buffer,625143401(38913/96/9)) lseek err Invalid argument
file_pread(8,8,buffer,625143529(38913/98/11)) lseek err Invalid argument
file_pread(8,8,buffer,625143657(38913/100/13)) lseek err Invalid argument
file_pread(8,8,buffer,625143785(38913/102/15)) lseek err Invalid argument
file_pread(8,1,buffer,625143807(38913/102/37)) lseek err Invalid argument
file_pread(8,1,buffer,625143808(38913/102/38)) lseek err Invalid argument
file_pread(8,14,buffer,625143809(38913/102/39)) lseek err Invalid argument
file_pread(8,3,buffer,625143823(38913/102/53)) lseek err Invalid argument
file_pread(8,3,buffer,625143870(38913/103/37)) lseek err Invalid argument
file_pread(8,8,buffer,625143886(38913/103/53)) lseek err Invalid argument
file_pread(8,11,buffer,625143933(38913/104/37)) lseek err Invalid argument
file_pread(8,2,buffer,625145855(38913/135/6)) lseek err Invalid argument
get_geometry_from_list_part_aux head=255 nbr=5
get_geometry_from_list_part_aux head=8 nbr=2
get_geometry_from_list_part_aux head=16 nbr=2
get_geometry_from_list_part_aux head=32 nbr=2
get_geometry_from_list_part_aux head=64 nbr=2
get_geometry_from_list_part_aux head=128 nbr=2
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=5

Results
   * OS/2 Boot Manager        0   1  1     1 254 63      32067
   L HPFS - NTFS              2   1  1 13225 254 63  212443497
     NTFS, blocksize=512, 108 GB / 101 GiB
   L HPFS - NTFS          13226   1  1 38912 254 63  412661592
     NTFS, blocksize=4096, 211 GB / 196 GiB
add_ext_part_i386: max
add_ext_part_i386: min

interface_write()
 1 * OS/2 Boot Manager        0   1  1     1 254 63      32067
 2 E extended LBA             2   0  1 38912 254 63  625105215
 5 L HPFS - NTFS              2   1  1 13225 254 63  212443497
 6 L HPFS - NTFS          13226   1  1 38912 254 63  412661592
simulate write!

write_mbr_i386: starting...
write_all_log_i386: starting...
write_all_log_i386: CHS: 2/0/1,lba=32130
write_all_log_i386: CHS: 13226/0/1,lba=212475690

Analyse Disk /dev/sdi - 320 GB / 298 GiB - CHS 38913 255 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 2/1/1
check_part_i386 2 type 0A: no test
NTFS at 13226/1/1
get_geometry_from_list_part_aux head=255 nbr=8
get_geometry_from_list_part_aux head=8 nbr=1
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=8
Current partition structure:
 1 P HPFS - NTFS              2   1  1 13225 254 63  212443497
 2 * OS/2 Boot Manager        0   1  1     0 254 63      16002
 3 E extended LBA         13226   0  1 38912 254 63  412661655
 5 L HPFS - NTFS          13226   1  1 38912 254 63  412661592
Backup partition structure
partition_save

search_part()
Disk /dev/sdi - 320 GB / 298 GiB - CHS 38913 255 63
FAT32 at 0/1/1
check_FAT: Incorrect size of partition
OS2MB at 0/1/1
     OS/2 Boot Manager        0   1  1     1   0 63      16065
NTFS at 2/1/1
filesystem size           212443497
sectors_per_cluster       1
mft_lcn                   6616018
mftmirr_lcn               39086113
clusters_per_mft_record   2
clusters_per_index_record 8
     HPFS - NTFS              2   1  1 13225 254 63  212443497
     NTFS, blocksize=512, 108 GB / 101 GiB
NTFS at 13226/1/1
filesystem size           412661592
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               25791349
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS          13226   1  1 38912 254 63  412661592
     NTFS, blocksize=4096, 211 GB / 196 GiB
file_pread(8,2,buffer,625143808(38913/102/38)) lseek err Invalid argument
file_pread(8,1,buffer,625143808(38913/102/38)) lseek err Invalid argument
file_pread(8,8,buffer,625142505(38913/81/58)) lseek err Invalid argument
file_pread(8,1,buffer,625142505(38913/81/58)) lseek err Invalid argument
file_pread(8,8,buffer,625142633(38913/83/60)) lseek err Invalid argument
file_pread(8,8,buffer,625142761(38913/85/62)) lseek err Invalid argument
file_pread(8,8,buffer,625142889(38913/88/1)) lseek err Invalid argument
file_pread(8,8,buffer,625143017(38913/90/3)) lseek err Invalid argument
file_pread(8,8,buffer,625143145(38913/92/5)) lseek err Invalid argument
file_pread(8,8,buffer,625143273(38913/94/7)) lseek err Invalid argument
file_pread(8,8,buffer,625143401(38913/96/9)) lseek err Invalid argument
file_pread(8,8,buffer,625143529(38913/98/11)) lseek err Invalid argument
file_pread(8,8,buffer,625143657(38913/100/13)) lseek err Invalid argument
file_pread(8,8,buffer,625143785(38913/102/15)) lseek err Invalid argument
file_pread(8,1,buffer,625143807(38913/102/37)) lseek err Invalid argument
file_pread(8,1,buffer,625143808(38913/102/38)) lseek err Invalid argument
file_pread(8,14,buffer,625143809(38913/102/39)) lseek err Invalid argument
file_pread(8,3,buffer,625143823(38913/102/53)) lseek err Invalid argument
file_pread(8,3,buffer,625143870(38913/103/37)) lseek err Invalid argument
file_pread(8,8,buffer,625143886(38913/103/53)) lseek err Invalid argument
file_pread(8,11,buffer,625143933(38913/104/37)) lseek err Invalid argument
file_pread(8,2,buffer,625145855(38913/135/6)) lseek err Invalid argument
get_geometry_from_list_part_aux head=255 nbr=5
get_geometry_from_list_part_aux head=8 nbr=2
get_geometry_from_list_part_aux head=16 nbr=2
get_geometry_from_list_part_aux head=32 nbr=2
get_geometry_from_list_part_aux head=64 nbr=2
get_geometry_from_list_part_aux head=128 nbr=2
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=5

Results
   * OS/2 Boot Manager        0   1  1     1 254 63      32067
   L HPFS - NTFS              2   1  1 13225 254 63  212443497
     NTFS, blocksize=512, 108 GB / 101 GiB
   L HPFS - NTFS          13226   1  1 38912 254 63  412661592
     NTFS, blocksize=4096, 211 GB / 196 GiB
file_pread(8,16,buffer,39118306(2435/0/32)) ReadFile Data error (cyclic redundancy check).

file_pread(8,1,buffer,39118313(2435/0/39)) ReadFile Data error (cyclic redundancy check).

NTFS filesystem need to be repaired.


dir_partition inode=5
   L HPFS - NTFS              2   1  1 13225 254 63  212443497
     NTFS, blocksize=512, 108 GB / 101 GiB
Directory /
       5 dr-xr-xr-x     0      0         0 17-Mar-2013 10:25 .
       5 dr-xr-xr-x     0      0         0 17-Mar-2013 10:25 ..
  175706 dr-xr-xr-x     0      0         0 15-Feb-2007 18:31 561de861db71db607bc6a93ae6bdae
  149486 dr-xr-xr-x     0      0         0 14-Nov-2006 20:34 95fa6bfe4fd2f4721ae3f6ba83e5
  145287 dr-xr-xr-x     0      0         0 26-Apr-2006 22:02 Borland
   79716 dr-xr-xr-x     0      0         0 24-Feb-2013 19:12 Config.Msi
   53871 dr-xr-xr-x     0      0         0  7-Feb-2002 17:50 DAPlus
   54032 dr-xr-xr-x     0      0         0 17-Mar-2013 15:14 Documents and Settings
   95885 dr-xr-xr-x     0      0         0 12-Jun-2005 07:31 Downloads for eileen
   53471 dr-xr-xr-x     0      0         0  5-Jul-2004 10:22 EPSONREG
   53958 dr-xr-xr-x     0      0         0 13-Jan-2003 23:45 Flash Players
  125256 dr-xr-xr-x     0      0         0 28-Oct-2011 23:17 Garmin
   77752 dr-xr-xr-x     0      0         0 14-Nov-2005 21:55 Inetpub
   53864 dr-xr-xr-x     0      0         0  3-Sep-2001 13:03 My Music
  145282 dr-xr-xr-x     0      0         0  2-Jan-2012 21:26 MyC
  141122 dr-xr-xr-x     0      0         0 19-Jan-2008 22:04 MyJava
   53972 dr-xr-xr-x     0      0         0  3-Jan-2003 03:08 NVIDIA
   94937 dr-xr-xr-x     0      0         0  7-Feb-2004 21:22 Orders
   16668 dr-xr-xr-x     0      0         0 24-Feb-2013 12:03 Program Files
   51893 dr-xr-xr-x     0      0         0  3-Apr-2009 23:16 QUARANTINE
   77742 dr-xr-xr-x     0      0         0 14-Apr-2003 21:01 Recycled
   71806 dr-xr-xr-x     0      0         0 17-Mar-2013 15:14 System Volume Information
      56 dr-xr-xr-x     0      0         0 17-Mar-2013 15:06 WINDOWS
   53971 dr-xr-xr-x     0      0         0  7-May-2004 20:53 WUTemp
    7370 dr-xr-xr-x     0      0         0 27-May-2005 15:09 Wedding
      19 dr-xr-xr-x     0      0         0 18-Jun-2001 08:56 _RESTORE
   84684 dr-xr-xr-x     0      0         0  2-Jan-2004 19:39 book
  206514 dr-xr-xr-x     0      0         0 27-Sep-2008 22:30 cygwin
   53791 dr-xr-xr-x     0      0         0 22-Jan-2012 09:41 downloads
   97985 dr-xr-xr-x     0      0         0  8-Feb-2004 00:24 ecs1.1
  100140 dr-xr-xr-x     0      0         0 22-Jan-2004 18:04 epson
    7838 dr-xr-xr-x     0      0         0 28-Jan-2007 12:53 floppysave
   82194 dr-xr-xr-x     0      0         0  1-Jan-2004 20:06 gs
  142126 dr-xr-xr-x     0      0         0 25-Dec-2005 13:37 junk
   73494 dr-xr-xr-x     0      0         0 15-Feb-2004 14:35 motels
   80632 dr-xr-xr-x     0      0         0  4-Dec-2009 21:23 ppt4
  183375 dr-xr-xr-x     0      0         0 19-Mar-2007 22:27 pqdi
  105201 dr-xr-xr-x     0      0         0  7-Feb-2004 16:18 print
      25 dr-xr-xr-x     0      0         0  2-Jan-2004 13:31 recycler
  104226 dr-xr-xr-x     0      0         0 25-Apr-2006 22:58 save
   78011 dr-xr-xr-x     0      0         0 24-Oct-2006 21:43 secure
   53800 dr-xr-xr-x     0      0         0 29-Nov-2011 21:31 temp
    9810 dr-xr-xr-x     0      0         0  1-Apr-2005 00:22 tmpbin
    6063 dr-xr-xr-x     0      0         0 20-Feb-2005 09:57 transfer
   93631 dr-xr-xr-x     0      0         0 27-May-2005 15:33 viewer
    7891 -r--r--r--     0      0     15235 29-Dec-2009 12:51 2009_fitness.pdf
   10095 -r--r--r--     0      0    135471 29-Dec-2009 12:49 2009_fitness.ps
    8555 -r--r--r--     0      0     15297 29-Dec-2009 16:38 2009_fitness_mail.pdf
    6888 -r--r--r--     0      0    134785 29-Dec-2009 16:37 2009_fitness_mail.ps
   53799 -r--r--r--     0      0       768  9-Dec-2001 23:11 3wxjawja.sys
   53796 -r--r--r--     0      0       194  6-Apr-2003 20:42 AUTOEXEC.BAK
   53787 -r--r--r--     0      0        79  8-Jun-2000 18:00 AUTOEXEC.DOS
   53970 -r--r--r--     0      0       194  6-Apr-2003 20:42 AutoExec.bat
   54020 -r--r--r--     0      0       512 14-Apr-2003 15:26 BOOTSECT.DOS
   73712 -r--r--r--     0      0    747160 14-Feb-2004 13:41 BensBill.ps
      54 -r--r--r--     0      0    249888 18-Jun-2001 08:55 CLASSES.1ST
   53969 -r--r--r--     0      0     35575 25-Dec-2002 21:12 CLDMA.LOG
   89631 -r--r--r--     0      0         0  7-Jan-2004 19:47 COMLOG.txt
      55 -r--r--r--     0      0         0  6-Apr-2003 20:42 CONFIG.BAK
   53788 -r--r--r--     0      0        47  8-Jun-2000 18:00 CONFIG.DOS
   16658 -r--r--r--     0      0         0  6-Apr-2003 20:42 CONFIG.SYS
   53957 -r--r--r--     0      0        64 20-Nov-2002 21:51 Capture.fcb
   53797 -r--r--r--     0      0      4210 28-Oct-2003 02:06 EyeCandyLog.txt
   77751 -r--r--r--     0      0       187  3-Jun-2003 02:47 INSTALL.LOG
   53790 -r--r--r--     0      0    129078  8-Jun-2000 18:00 LOGO.SYS
   53968 -r--r--r--     0      0      1318 20-Nov-2002 22:01 LSANS.fot
   53954 -r--r--r--     0      0   6287911 10-Jul-2002 01:46 Lemm_log.txt
      17 -r--r--r--     0      0      1660 18-Jun-2001 08:58 MSDOS.SYS
   53868 -r--r--r--     0      0         0  3-Sep-2001 13:03 N2PActiveX.log
   53867 -r--r--r--     0      0     13699  3-Sep-2001 21:30 N2pInst.log
   53956 -r--r--r--     0      0      3462 22-Aug-2002 20:14 PCcheck.LOG
   53865 -r--r--r--     0      0     13030 27-Feb-2010 17:43 PDOXUSRS.NET
   53789 -r--r--r--     0      0       469  6-Apr-2003 23:09 SCANDISK.LOG
   54021 -r--r--r--     0      0       448 15-Feb-2003 14:56 SETUPXLG.TXT
  170184 -r--r--r--     0      0    143514 22-Dec-2009 15:41 TE5_TEA.ps
   54026 -r--r--r--     0      0       712 22-Feb-2003 20:00 UC_MSG.COM
   53870 -r--r--r--     0      0        63 16-Oct-2001 14:26 WINDOWSWinHlp32.BMK
    2882 -r--r--r--     0      0     10682 28-Nov-2009 19:30 Xorg.0.log
  125322 -r--r--r--     0      0     10949 28-Nov-2009 20:10 Xorg.0.log.txt
   54028 -r--r--r--     0      0       243 22-Feb-2003 20:00 autoexec.org
   54024 -r--r--r--     0      0       194 22-Feb-2003 20:00 autoexec.osi
   71805 -r--r--r--     0      0       217 27-Sep-2011 22:16 boot.ini
   77908 -r--r--r--     0      0        12 17-Jun-2003 19:39 bootlog.csv
  102132 -r--r--r--     0      0    578215  8-Feb-2004 11:57 cd2.txt
  102133 -r--r--r--     0      0       828  8-Feb-2004 11:59 cd2top.txt
   89605 -r--r--r--     0      0     10761 25-Jul-2003 17:57 coda_connect.bat
   54027 -r--r--r--     0      0        83 22-Feb-2003 20:00 config.org
   54025 -r--r--r--     0      0         0 22-Feb-2003 20:00 config.osi
   89606 -r--r--r--     0      0     10854  7-Jan-2004 19:30 connect.bat
   73814 -r--r--r--     0      0      3651 11-Aug-2004 22:16 dir.txt
   16667 -r--r--r--     0      0   5730544 29-Dec-2003 12:47 dirlist.txt
   51705 -r--r--r--     0      0       241 28-Apr-2004 22:36 error_message.txt
    2702 -r--r--r--     0      0      5754 19-Aug-2007 23:41 ffastun.ffa
   10026 -r--r--r--     0      0   1753088 19-Aug-2007 23:41 ffastun.ffl
  202143 -r--r--r--     0      0    692224 19-Aug-2007 23:41 ffastun.ffo
  202151 -r--r--r--     0      0   8916992 19-Aug-2007 23:41 ffastun0.ffx
  127996 -r--r--r--     0      0    540672 21-Aug-2007 22:57 ffastunT.ffl
  118642 -r--r--r--     0      0   8472760 28-Oct-2006 15:33 gainesville_directions.ps
  118656 -r--r--r--     0      0    380154 28-Oct-2006 15:42 gainesville_map.ps
   53967 -r--r--r--     0      0      3004 15-Sep-2002 22:20 installer.txt
   53798 -r--r--r--     0      0    110080  8-Jun-2000 18:00 io.sys
  105206 -r--r--r--     0      0         0  7-Feb-2004 15:55 junk.txt
   84296 -r--r--r--     0      0      1773 15-Aug-2005 22:21 lanstart.bat
  192667 -r--r--r--     0      0         7 15-May-2007 23:54 mydate.bat
   54031 -r--r--r--     0      0     47564 29-Aug-2004 11:55 ntdetect.com
   54030 -r--r--r--     0      0    250048 15-May-2008 23:20 ntldr
   53869 -r--r--r--     0      0       483 25-Nov-2001 14:38 os581474.bin
  210447 -r--r--r--     0      0   2718438 17-Feb-2008 16:20 patching.ps
  171637 -r--r--r--     0      0       173  8-Jul-2009 19:45 pdisdk.log
   53866 -r--r--r--     0      0       221 14-Apr-2003 15:17 perform.log
  182280 -r--r--r--     0      0       184  8-Jul-2009 19:47 pivot.log
   54022 -r--r--r--     0      0        60 16-Jan-2003 21:47 pop3.log
   54029 -r--r--r--     0      0       435 11-Mar-2003 17:05 profile.txt
   53955 -r--r--r--     0      0       150 28-Feb-2003 14:48 systemscandata.txt
  217548 -r--r--r--     0      0    768314 15-Jul-2008 08:09 tempfile.ps
   16407 -r--r--r--     0      0    356316 24-Jul-2005 22:02 troop_roster.ps
   53953 -r--r--r--     0      0     81682 14-Dec-2004 23:16 winzip.log
   65081 -r--r--r--     0      0      2560 13-Jan-2012 21:58 {C313C650-AECD-4599-9C35-828A984416DA}
file_pread(8,16,buffer,83975444(5227/58/36)) ReadFile Data error (cyclic redundancy check).

file_pread(8,16,buffer,83975452(5227/58/44)) ReadFile Data error (cyclic redundancy check).

file_pread(8,1,buffer,83975459(5227/58/51)) ReadFile Data error (cyclic redundancy check).

ERROR: Couldn't read fileERROR: Couldn't read file <snip lots of these all on one long line> Coul
Nothing seems to have been written to the log in quite some time.

The drive from which I am trying to copy data is designated /dev/sdi in the log. The partition is the primary (P) "HPFS - NTFS" partition. The file it is stuck on is buried in the downloads directory.

Any hope this thing will break out of this infinite loop? Or should I just kill the process and start again trying to pick just the files it has not already gotten (skipping the one it is stuck on of course :=)).

Thanks
Jim

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: TestDisk stuck copying a particular file

#2 Post by cgrenier »

There are bad sectors. You should clone the disk first using gnu ddrescue to a new empty disk
http://www.cgsecurity.org/wiki/Damaged_Hard_Disk
Once the copy is done, remove the original disk and use TestDisk on the clone.

jim1944
Posts: 3
Joined: 01 Dec 2014, 20:04

Re: TestDisk stuck copying a particular file

#3 Post by jim1944 »

Well, at 9:44 PM EST on 12/1 it completed copying that file, apparently successfully, after about 30 hours of processing it. It has continued and copied an additional 9.4 GB of data as of 9:00 AM EST on 12/2 for a total of 56 GB since 10:00AM EST 11/29.

So, since 1) TestDisk did finally get past that file, 2) TestDisk copying files isn't hurting the performance of my computer, 3) I'd have to purchase another hard drive to clone my bad drive, 4) I'd have to spend time setting up for the cloning, and 5) I'm quite busy today, I'm going to just let it continue and see how far it gets and how long it takes.

But if the copying finally does fail (or I get a power failure that aborts it or something else happens that requires a reboot), then I will try the cloning.

Thanks for the help and thanks for TestDisk.

Jim

bekent
Posts: 1
Joined: 03 Dec 2014, 08:45

Re: TestDisk stuck copying a particular file

#4 Post by bekent »

it like a charm thanks for testdisk

jim1944
Posts: 3
Joined: 01 Dec 2014, 20:04

Re: TestDisk stuck copying a particular file

#5 Post by jim1944 »

TestDisk completed copying all the files (61.1 GB) at 3:28PM EST on Dec 2 with no errors reported. So it took 77.25 hours with 30 hours devoted to one file of a little less than 1 GB.

Then I turned my attention to another partition on the disk. Windows recognized it and Explorer correctly showed the directories in it but, when I tried to copy them, Windows complained of errors and offered to reformat the drive. So I tried TestDisk again and it copied everything (28GB) in under 7 hours - I started it about 10:00PM last night and it was done when I checked it about 5:00AM this morning.

So it seems like how long it takes TestDisk to copy files depends on how bad a shape they are in. The RAW partition was in worse shape than the recognizable NTFS partition and in particular the file it stuck on was in really bad shape and took a lot to reconstruct it. Or is there a better explanation of the time it took?

Anyway, I've got all my data so I'm happy

Thanks
Jim

Locked