Page 1 of 1

help needed understanding output of testdisk.log for next steps

Posted: 03 Dec 2026, 17:27
by cbc081
I have a 20TB (18 TiB) USB HDD formatted NTFS in Windows. Recently there was accident and device fell about 1 feet (~30.5 cm) to carpeted floor. At first it seemed fine (I was even able to successfully copy at least one more file onto it), but later when device was save-removed and plugged into another computer, it no longer works--Windows no longer recognizes it as having any NTFS partitions, and sometimes there is slight screeching sound during disk reads that I guess could be sign of possible physical damage (but don't know for sure, I don't regularly come across damaged HDDs).

I tried testdisk. It found no partitions (expected), then I tried "quick search" to see if it can recover any partitions, but it seems very slow, to the point where at times I thought program froze. After about half an hour, I aborted it at about point of 3/2431599 and then quit the program. I included testdisk.log below for reference. As you can see there are a whole bunch of file_win32_pread(...) log entries that seem to fail with "read err: read after end of file". I can't tell whether that is normal for corrupted filesystem, versus indicating actual failed sector reads (bad sector or worse).

Based on the number of failed file_win32_pread() entries in the log, is it fair to say testdisk probably wouldn't be able to recover the lost partition even if I let it run to completion?

I have not tried PhotoRec yet, does that tool still work in this case where filesystem/partition is no longer recognized? The files I want to recover would be large (~1-10 GB each file, total of around 50-150 files), but HDD was new (only used for ~3 days before accident) and most files are copied from another source and then left unmodified on the HDD, so maybe most files are stored in consecutive sectors?

I'm also confused by final entries in testdisk.log: "write_mbr_i386" and "Store new MBR code". I don't believe I issued any commands in testdisk to attempt any repair action, but I can't tell whether I'm reading those log entries correctly.

Are there other tools outside of testdisk/photorec (including paid ones) that might be worth trying for my case?

Thanks!

Code: Select all

Thu Dec  3 06:26:45 2026
Command line: TestDisk

TestDisk 7.2, Data Recovery Utility, February 2024
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org
OS: Windows 8 (9200)
Compiler: GCC 11.2, Cygwin 3001.4
ext2fs lib: 1.45.3, ntfs lib: available, reiserfs lib: none, ewf lib: 20140608, curses lib: ncurses 6.1
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=512110190592
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=20000588955136
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=509722230784
Hard disk list
Disk \\.\PhysicalDrive0 - 512 GB / 476 GiB - CHS 62260 255 63, sector size=512 - SKHynix_HFM512GD3HX015N, S/N:ACE4_2E00_2A87_BC4E_2EE4_AC00_0000_0001., FW:41020C21
Disk \\.\PhysicalDrive1 - 20 TB / 18 TiB - CHS 2431599 255 63, sector size=512 - Seagate Expansion HDD, S/N:0123456789ABCDEF, FW:1802

Partition table type defaults to EFI GPT
Disk \\.\PhysicalDrive1 - 20 TB / 18 TiB - Seagate Expansion HDD
Partition table type: Intel
New options :
 Dump : No
 Align partition: Yes
 Expert mode : Yes

Interface Advanced
New options :
 Dump : Yes
 Align partition: Yes
 Expert mode : Yes

Interface Advanced

Analyse Disk \\.\PhysicalDrive1 - 20 TB / 18 TiB - CHS 2431599 255 63
Current partition structure:

Partition: Read error

search_part()
Disk \\.\PhysicalDrive1 - 20 TB / 18 TiB - CHS 2431599 255 63
file_win32_pread(624,16,buffer,32(0/0/33)) read err: read after end of file
file_win32_pread(624,3,buffer,48(0/0/49)) read err: read after end of file
file_win32_pread(624,3,buffer,95(0/1/33)) read err: read after end of file
file_win32_pread(624,8,buffer,111(0/1/49)) read err: read after end of file
file_win32_pread(624,11,buffer,158(0/2/33)) read err: read after end of file
file_win32_pread(624,2,buffer,2080(0/33/2)) read err: read after end of file
file_win32_pread(624,2,buffer,51(0/0/52)) read err: read after end of file
file_win32_pread(624,2,buffer,98(0/1/36)) read err: read after end of file
file_win32_pread(624,2,buffer,119(0/1/57)) read err: read after end of file
file_win32_pread(624,2,buffer,169(0/2/44)) read err: read after end of file
file_win32_pread(624,2,buffer,2082(0/33/4)) read err: read after end of file
file_win32_pread(624,16,buffer,63(0/1/1)) read err: read after end of file
file_win32_pread(624,3,buffer,79(0/1/17)) read err: read after end of file
file_win32_pread(624,3,buffer,126(0/2/1)) read err: read after end of file
file_win32_pread(624,8,buffer,142(0/2/17)) read err: read after end of file
file_win32_pread(624,11,buffer,189(0/3/1)) read err: read after end of file
file_win32_pread(624,2,buffer,2111(0/33/33)) read err: read after end of file
file_win32_pread(624,16,buffer,1008(0/16/1)) read err: read after end of file
file_win32_pread(624,3,buffer,1024(0/16/17)) read err: read after end of file
file_win32_pread(624,3,buffer,1071(0/17/1)) read err: read after end of file
file_win32_pread(624,8,buffer,1087(0/17/17)) read err: read after end of file
file_win32_pread(624,11,buffer,1134(0/18/1)) read err: read after end of file
file_win32_pread(624,2,buffer,3056(0/48/33)) read err: read after end of file
file_win32_pread(624,13,buffer,1074(0/17/4)) read err: read after end of file
file_win32_pread(624,8,buffer,1150(0/18/17)) read err: read after end of file
file_win32_pread(624,11,buffer,1197(0/19/1)) read err: read after end of file
file_win32_pread(624,2,buffer,3119(0/49/33)) read err: read after end of file
file_win32_pread(624,16,buffer,2048(0/32/33)) read err: read after end of file
file_win32_pread(624,3,buffer,2064(0/32/49)) read err: read after end of file
file_win32_pread(624,1,buffer,2113(0/33/35)) read err: read after end of file
file_win32_pread(624,8,buffer,2127(0/33/49)) read err: read after end of file
file_win32_pread(624,11,buffer,2174(0/34/33)) read err: read after end of file
file_win32_pread(624,2,buffer,4096(0/65/2)) read err: read after end of file
file_win32_pread(624,14,buffer,4098(0/65/4)) read err: read after end of file
file_win32_pread(624,3,buffer,4112(0/65/18)) read err: read after end of file
file_win32_pread(624,3,buffer,4159(0/66/2)) read err: read after end of file
file_win32_pread(624,8,buffer,4175(0/66/18)) read err: read after end of file
file_win32_pread(624,11,buffer,4222(0/67/2)) read err: read after end of file
file_win32_pread(624,2,buffer,6144(0/97/34)) read err: read after end of file
file_win32_pread(624,14,buffer,6146(0/97/36)) read err: read after end of file
file_win32_pread(624,3,buffer,6160(0/97/50)) read err: read after end of file
file_win32_pread(624,3,buffer,6207(0/98/34)) read err: read after end of file
file_win32_pread(624,8,buffer,6223(0/98/50)) read err: read after end of file
file_win32_pread(624,11,buffer,6270(0/99/34)) read err: read after end of file
file_win32_pread(624,2,buffer,8192(0/130/3)) read err: read after end of file
file_win32_pread(624,14,buffer,8194(0/130/5)) read err: read after end of file
file_win32_pread(624,3,buffer,8208(0/130/19)) read err: read after end of file
file_win32_pread(624,3,buffer,8255(0/131/3)) read err: read after end of file
file_win32_pread(624,8,buffer,8271(0/131/19)) read err: read after end of file
file_win32_pread(624,11,buffer,8318(0/132/3)) read err: read after end of file
file_win32_pread(624,2,buffer,10240(0/162/35)) read err: read after end of file
file_win32_pread(624,14,buffer,10242(0/162/37)) read err: read after end of file
file_win32_pread(624,3,buffer,10256(0/162/51)) read err: read after end of file
file_win32_pread(624,3,buffer,10303(0/163/35)) read err: read after end of file
file_win32_pread(624,8,buffer,10319(0/163/51)) read err: read after end of file
file_win32_pread(624,11,buffer,10366(0/164/35)) read err: read after end of file
file_win32_pread(624,2,buffer,12288(0/195/4)) read err: read after end of file
file_win32_pread(624,14,buffer,12290(0/195/6)) read err: read after end of file
file_win32_pread(624,3,buffer,12304(0/195/20)) read err: read after end of file
file_win32_pread(624,3,buffer,12351(0/196/4)) read err: read after end of file
file_win32_pread(624,8,buffer,12367(0/196/20)) read err: read after end of file
file_win32_pread(624,11,buffer,12414(0/197/4)) read err: read after end of file
file_win32_pread(624,2,buffer,14336(0/227/36)) read err: read after end of file
file_win32_pread(624,14,buffer,14338(0/227/38)) read err: read after end of file
file_win32_pread(624,3,buffer,14352(0/227/52)) read err: read after end of file
file_win32_pread(624,3,buffer,14399(0/228/36)) read err: read after end of file
file_win32_pread(624,8,buffer,14415(0/228/52)) read err: read after end of file
file_win32_pread(624,11,buffer,14462(0/229/36)) read err: read after end of file
file_win32_pread(624,2,buffer,16384(1/5/5)) read err: read after end of file
file_win32_pread(624,16,buffer,15120(0/240/1)) read err: read after end of file
file_win32_pread(624,3,buffer,15136(0/240/17)) read err: read after end of file
file_win32_pread(624,3,buffer,15183(0/241/1)) read err: read after end of file
file_win32_pread(624,8,buffer,15199(0/241/17)) read err: read after end of file
file_win32_pread(624,11,buffer,15246(0/242/1)) read err: read after end of file
file_win32_pread(624,2,buffer,17168(1/17/33)) read err: read after end of file
file_win32_pread(624,13,buffer,15186(0/241/4)) read err: read after end of file
file_win32_pread(624,8,buffer,15262(0/242/17)) read err: read after end of file
file_win32_pread(624,11,buffer,15309(0/243/1)) read err: read after end of file
file_win32_pread(624,2,buffer,17231(1/18/33)) read err: read after end of file
file_win32_pread(624,16,buffer,16065(1/0/1)) read err: read after end of file
file_win32_pread(624,3,buffer,16081(1/0/17)) read err: read after end of file
file_win32_pread(624,3,buffer,16128(1/1/1)) read err: read after end of file
file_win32_pread(624,8,buffer,16144(1/1/17)) read err: read after end of file
file_win32_pread(624,11,buffer,16191(1/2/1)) read err: read after end of file
file_win32_pread(624,2,buffer,18113(1/32/33)) read err: read after end of file
file_win32_pread(624,13,buffer,16131(1/1/4)) read err: read after end of file
file_win32_pread(624,8,buffer,16207(1/2/17)) read err: read after end of file
file_win32_pread(624,11,buffer,16254(1/3/1)) read err: read after end of file
file_win32_pread(624,2,buffer,18176(1/33/33)) read err: read after end of file
file_win32_pread(624,16,buffer,16384(1/5/5)) read err: read after end of file
file_win32_pread(624,3,buffer,16400(1/5/21)) read err: read after end of file
file_win32_pread(624,3,buffer,16447(1/6/5)) read err: read after end of file
file_win32_pread(624,8,buffer,16463(1/6/21)) read err: read after end of file
file_win32_pread(624,11,buffer,16510(1/7/5)) read err: read after end of file
file_win32_pread(624,2,buffer,18432(1/37/37)) read err: read after end of file
file_win32_pread(624,14,buffer,18434(1/37/39)) read err: read after end of file
file_win32_pread(624,3,buffer,18448(1/37/53)) read err: read after end of file
file_win32_pread(624,3,buffer,18495(1/38/37)) read err: read after end of file
file_win32_pread(624,8,buffer,18511(1/38/53)) read err: read after end of file
file_win32_pread(624,11,buffer,18558(1/39/37)) read err: read after end of file
file_win32_pread(624,2,buffer,20480(1/70/6)) read err: read after end of file
file_win32_pread(624,14,buffer,20482(1/70/8)) read err: read after end of file
file_win32_pread(624,3,buffer,20496(1/70/22)) read err: read after end of file
file_win32_pread(624,3,buffer,20543(1/71/6)) read err: read after end of file
file_win32_pread(624,8,buffer,20559(1/71/22)) read err: read after end of file
file_win32_pread(624,11,buffer,20606(1/72/6)) read err: read after end of file
file_win32_pread(624,2,buffer,22528(1/102/38)) read err: read after end of file
file_win32_pread(624,14,buffer,22530(1/102/40)) read err: read after end of file
file_win32_pread(624,3,buffer,22544(1/102/54)) read err: read after end of file
file_win32_pread(624,3,buffer,22591(1/103/38)) read err: read after end of file
file_win32_pread(624,8,buffer,22607(1/103/54)) read err: read after end of file
file_win32_pread(624,11,buffer,22654(1/104/38)) read err: read after end of file
file_win32_pread(624,2,buffer,24576(1/135/7)) read err: read after end of file
file_win32_pread(624,14,buffer,24578(1/135/9)) read err: read after end of file
file_win32_pread(624,3,buffer,24592(1/135/23)) read err: read after end of file
file_win32_pread(624,3,buffer,24639(1/136/7)) read err: read after end of file
file_win32_pread(624,8,buffer,24655(1/136/23)) read err: read after end of file
file_win32_pread(624,11,buffer,24702(1/137/7)) read err: read after end of file
file_win32_pread(624,2,buffer,26624(1/167/39)) read err: read after end of file
file_win32_pread(624,14,buffer,26626(1/167/41)) read err: read after end of file
file_win32_pread(624,3,buffer,26640(1/167/55)) read err: read after end of file
file_win32_pread(624,3,buffer,26687(1/168/39)) read err: read after end of file
file_win32_pread(624,8,buffer,26703(1/168/55)) read err: read after end of file
file_win32_pread(624,11,buffer,26750(1/169/39)) read err: read after end of file
file_win32_pread(624,2,buffer,28672(1/200/8)) read err: read after end of file
file_win32_pread(624,14,buffer,28674(1/200/10)) read err: read after end of file
file_win32_pread(624,3,buffer,28688(1/200/24)) read err: read after end of file
file_win32_pread(624,3,buffer,28735(1/201/8)) read err: read after end of file
file_win32_pread(624,8,buffer,28751(1/201/24)) read err: read after end of file
file_win32_pread(624,11,buffer,28798(1/202/8)) read err: read after end of file
file_win32_pread(624,2,buffer,30720(1/232/40)) read err: read after end of file
file_win32_pread(624,14,buffer,30722(1/232/42)) read err: read after end of file
file_win32_pread(624,3,buffer,30736(1/232/56)) read err: read after end of file
file_win32_pread(624,3,buffer,30783(1/233/40)) read err: read after end of file
file_win32_pread(624,8,buffer,30799(1/233/56)) read err: read after end of file
file_win32_pread(624,11,buffer,30846(1/234/40)) read err: read after end of file
file_win32_pread(624,2,buffer,32768(2/10/9)) read err: read after end of file
file_win32_pread(624,16,buffer,32130(2/0/1)) read err: read after end of file
file_win32_pread(624,3,buffer,32146(2/0/17)) read err: read after end of file
file_win32_pread(624,3,buffer,32193(2/1/1)) read err: read after end of file
file_win32_pread(624,8,buffer,32209(2/1/17)) read err: read after end of file
file_win32_pread(624,11,buffer,32256(2/2/1)) read err: read after end of file
file_win32_pread(624,2,buffer,34178(2/32/33)) read err: read after end of file
file_win32_pread(624,13,buffer,32196(2/1/4)) read err: read after end of file
file_win32_pread(624,8,buffer,32272(2/2/17)) read err: read after end of file
file_win32_pread(624,11,buffer,32319(2/3/1)) read err: read after end of file
file_win32_pread(624,2,buffer,34241(2/33/33)) read err: read after end of file
file_win32_pread(624,14,buffer,32770(2/10/11)) read err: read after end of file
file_win32_pread(624,3,buffer,32784(2/10/25)) read err: read after end of file
file_win32_pread(624,3,buffer,32831(2/11/9)) read err: read after end of file
file_win32_pread(624,8,buffer,32847(2/11/25)) read err: read after end of file
file_win32_pread(624,11,buffer,32894(2/12/9)) read err: read after end of file
file_win32_pread(624,2,buffer,34816(2/42/41)) read err: read after end of file
file_win32_pread(624,14,buffer,34818(2/42/43)) read err: read after end of file
file_win32_pread(624,3,buffer,34832(2/42/57)) read err: read after end of file
file_win32_pread(624,3,buffer,34879(2/43/41)) read err: read after end of file
file_win32_pread(624,8,buffer,34895(2/43/57)) read err: read after end of file
file_win32_pread(624,11,buffer,34942(2/44/41)) read err: read after end of file
file_win32_pread(624,2,buffer,36864(2/75/10)) read err: read after end of file
file_win32_pread(624,14,buffer,36866(2/75/12)) read err: read after end of file
file_win32_pread(624,3,buffer,36880(2/75/26)) read err: read after end of file
file_win32_pread(624,3,buffer,36927(2/76/10)) read err: read after end of file
file_win32_pread(624,8,buffer,36943(2/76/26)) read err: read after end of file
file_win32_pread(624,11,buffer,36990(2/77/10)) read err: read after end of file
file_win32_pread(624,2,buffer,38912(2/107/42)) read err: read after end of file
file_win32_pread(624,14,buffer,38914(2/107/44)) read err: read after end of file
file_win32_pread(624,3,buffer,38928(2/107/58)) read err: read after end of file
file_win32_pread(624,3,buffer,38975(2/108/42)) read err: read after end of file
file_win32_pread(624,8,buffer,38991(2/108/58)) read err: read after end of file
file_win32_pread(624,11,buffer,39038(2/109/42)) read err: read after end of file
file_win32_pread(624,2,buffer,40960(2/140/11)) read err: read after end of file
file_win32_pread(624,14,buffer,40962(2/140/13)) read err: read after end of file
file_win32_pread(624,3,buffer,40976(2/140/27)) read err: read after end of file
file_win32_pread(624,3,buffer,41023(2/141/11)) read err: read after end of file
file_win32_pread(624,8,buffer,41039(2/141/27)) read err: read after end of file
file_win32_pread(624,11,buffer,41086(2/142/11)) read err: read after end of file
file_win32_pread(624,2,buffer,43008(2/172/43)) read err: read after end of file
file_win32_pread(624,14,buffer,43010(2/172/45)) read err: read after end of file
file_win32_pread(624,3,buffer,43024(2/172/59)) read err: read after end of file
file_win32_pread(624,3,buffer,43071(2/173/43)) read err: read after end of file
file_win32_pread(624,8,buffer,43087(2/173/59)) read err: read after end of file
file_win32_pread(624,11,buffer,43134(2/174/43)) read err: read after end of file
file_win32_pread(624,2,buffer,45056(2/205/12)) read err: read after end of file
file_win32_pread(624,14,buffer,45058(2/205/14)) read err: read after end of file
file_win32_pread(624,3,buffer,45072(2/205/28)) read err: read after end of file
file_win32_pread(624,3,buffer,45119(2/206/12)) read err: read after end of file
file_win32_pread(624,8,buffer,45135(2/206/28)) read err: read after end of file
file_win32_pread(624,11,buffer,45182(2/207/12)) read err: read after end of file
file_win32_pread(624,2,buffer,47104(2/237/44)) read err: read after end of file
file_win32_pread(624,14,buffer,47106(2/237/46)) read err: read after end of file
file_win32_pread(624,3,buffer,47120(2/237/60)) read err: read after end of file
file_win32_pread(624,3,buffer,47167(2/238/44)) read err: read after end of file
file_win32_pread(624,8,buffer,47183(2/238/60)) read err: read after end of file
file_win32_pread(624,11,buffer,47230(2/239/44)) read err: read after end of file
file_win32_pread(624,2,buffer,49152(3/15/13)) read err: read after end of file
file_win32_pread(624,16,buffer,48195(3/0/1)) read err: read after end of file
file_win32_pread(624,3,buffer,48211(3/0/17)) read err: read after end of file
file_win32_pread(624,3,buffer,48258(3/1/1)) read err: read after end of file
file_win32_pread(624,8,buffer,48274(3/1/17)) read err: read after end of file
file_win32_pread(624,11,buffer,48321(3/2/1)) read err: read after end of file
file_win32_pread(624,2,buffer,50243(3/32/33)) read err: read after end of file
file_win32_pread(624,13,buffer,48261(3/1/4)) read err: read after end of file
file_win32_pread(624,8,buffer,48337(3/2/17)) read err: read after end of file
file_win32_pread(624,11,buffer,48384(3/3/1)) read err: read after end of file
file_win32_pread(624,2,buffer,50306(3/33/33)) read err: read after end of file
file_win32_pread(624,14,buffer,49154(3/15/15)) read err: read after end of file
file_win32_pread(624,3,buffer,49168(3/15/29)) read err: read after end of file
file_win32_pread(624,3,buffer,49215(3/16/13)) read err: read after end of file
file_win32_pread(624,8,buffer,49231(3/16/29)) read err: read after end of file
file_win32_pread(624,11,buffer,49278(3/17/13)) read err: read after end of file
file_win32_pread(624,2,buffer,51200(3/47/45)) read err: read after end of file
file_win32_pread(624,14,buffer,51202(3/47/47)) read err: read after end of file
file_win32_pread(624,3,buffer,51216(3/47/61)) read err: read after end of file
file_win32_pread(624,3,buffer,51263(3/48/45)) read err: read after end of file
file_win32_pread(624,8,buffer,51279(3/48/61)) read err: read after end of file
file_win32_pread(624,11,buffer,51326(3/49/45)) read err: read after end of file
file_win32_pread(624,2,buffer,53248(3/80/14)) read err: read after end of file
file_win32_pread(624,14,buffer,53250(3/80/16)) read err: read after end of file
file_win32_pread(624,3,buffer,53264(3/80/30)) read err: read after end of file
file_win32_pread(624,3,buffer,53311(3/81/14)) read err: read after end of file
file_win32_pread(624,8,buffer,53327(3/81/30)) read err: read after end of file
file_win32_pread(624,11,buffer,53374(3/82/14)) read err: read after end of file
file_win32_pread(624,2,buffer,55296(3/112/46)) read err: read after end of file
file_win32_pread(624,14,buffer,55298(3/112/48)) read err: read after end of file
file_win32_pread(624,3,buffer,55312(3/112/62)) read err: read after end of file
file_win32_pread(624,3,buffer,55359(3/113/46)) read err: read after end of file
file_win32_pread(624,8,buffer,55375(3/113/62)) read err: read after end of file
file_win32_pread(624,11,buffer,55422(3/114/46)) read err: read after end of file
file_win32_pread(624,2,buffer,57344(3/145/15)) read err: read after end of file
file_win32_pread(624,14,buffer,57346(3/145/17)) read err: read after end of file
file_win32_pread(624,3,buffer,57360(3/145/31)) read err: read after end of file
file_win32_pread(624,3,buffer,57407(3/146/15)) read err: read after end of file
file_win32_pread(624,8,buffer,57423(3/146/31)) read err: read after end of file
file_win32_pread(624,11,buffer,57470(3/147/15)) read err: read after end of file
file_win32_pread(624,2,buffer,59392(3/177/47)) read err: read after end of file
file_win32_pread(624,14,buffer,59394(3/177/49)) read err: read after end of file
file_win32_pread(624,3,buffer,59408(3/177/63)) read err: read after end of file
file_win32_pread(624,3,buffer,59455(3/178/47)) read err: read after end of file
file_win32_pread(624,8,buffer,59471(3/178/63)) read err: read after end of file
file_win32_pread(624,11,buffer,59518(3/179/47)) read err: read after end of file
file_win32_pread(624,2,buffer,61440(3/210/16)) read err: read after end of file
file_win32_pread(624,14,buffer,61442(3/210/18)) read err: read after end of file
file_win32_pread(624,3,buffer,61456(3/210/32)) read err: read after end of file
file_win32_pread(624,3,buffer,61503(3/211/16)) read err: read after end of file
file_win32_pread(624,8,buffer,61519(3/211/32)) read err: read after end of file
file_win32_pread(624,11,buffer,61566(3/212/16)) read err: read after end of file
file_win32_pread(624,2,buffer,63488(3/242/48)) read err: read after end of file
file_win32_pread(624,14,buffer,63490(3/242/50)) read err: read after end of file
file_win32_pread(624,3,buffer,63504(3/243/1)) read err: read after end of file
file_win32_pread(624,3,buffer,63551(3/243/48)) read err: read after end of file
file_win32_pread(624,8,buffer,63567(3/244/1)) read err: read after end of file
file_win32_pread(624,11,buffer,63614(3/244/48)) read err: read after end of file
file_win32_pread(624,2,buffer,65536(4/20/17)) read err: read after end of file
file_win32_pread(624,16,buffer,64260(4/0/1)) read err: read after end of file
file_win32_pread(624,3,buffer,64276(4/0/17)) read err: read after end of file
file_win32_pread(624,3,buffer,64323(4/1/1)) read err: read after end of file
file_win32_pread(624,8,buffer,64339(4/1/17)) read err: read after end of file
file_win32_pread(624,11,buffer,64386(4/2/1)) read err: read after end of file
file_win32_pread(624,2,buffer,66308(4/32/33)) read err: read after end of file
file_win32_pread(624,1,buffer,39063621869(2431597/254/63)) read err: read after end of file
file_win32_pread(624,1,buffer,39063621870(2431598/0/1)) read err: read after end of file
file_win32_pread(624,14,buffer,39063621871(2431598/0/2)) read err: read after end of file
file_win32_pread(624,3,buffer,39063621885(2431598/0/16)) read err: read after end of file
file_win32_pread(624,3,buffer,39063621932(2431598/0/63)) read err: read after end of file
file_win32_pread(624,8,buffer,39063621948(2431598/1/16)) read err: read after end of file
file_win32_pread(624,11,buffer,39063621995(2431598/1/63)) read err: read after end of file
file_win32_pread(624,2,buffer,39063623917(2431598/32/32)) read err: read after end of file
file_win32_pread(624,1,buffer,39063637934(2431598/254/63)) read err: read after end of file
file_win32_pread(624,1,buffer,39063637935(2431599/0/1)) read err: read after end of file
file_win32_pread(624,14,buffer,39063637936(2431599/0/2)) read err: read after end of file
file_win32_pread(624,3,buffer,39063637950(2431599/0/16)) read err: read after end of file
file_win32_pread(624,3,buffer,39063637997(2431599/0/63)) read err: read after end of file
file_win32_pread(624,8,buffer,39063638013(2431599/1/16)) read err: read after end of file
file_win32_pread(624,11,buffer,39063638060(2431599/1/63)) read err: read after end of file
file_win32_pread(624,2,buffer,39063639982(2431599/32/32)) read err: read after end of file
file_win32_pread(624,1,buffer,39063648255(2431599/163/52)) read err: read after end of file
file_win32_pread(624,1,buffer,39063648256(2431599/163/53)) read err: read after end of file
file_win32_pread(624,14,buffer,39063648257(2431599/163/54)) read err: read after end of file
file_win32_pread(624,3,buffer,39063648271(2431599/164/5)) read err: read after end of file
file_win32_pread(624,3,buffer,39063648318(2431599/164/52)) read err: read after end of file
file_win32_pread(624,8,buffer,39063648334(2431599/165/5)) read err: read after end of file
file_win32_pread(624,11,buffer,39063648381(2431599/165/52)) read err: read after end of file
Search for partition aborted

Results

interface_write()
 
No partition found or selected for recovery
simulate write!

write_mbr_i386: starting...
file_win32_pread(624,1,buffer,0(0/0/1)) read err: read after end of file

Partition: Read error
Store new MBR code
write_all_log_i386: starting...
No extended partition

TestDisk exited normally.

Re: help needed understanding output of testdisk.log for next steps

Posted: 04 Dec 2026, 20:56
by recuperation
cbc081 wrote: 03 Dec 2026, 17:27 I have a 20TB (18 TiB) USB HDD formatted NTFS in Windows. Recently there was accident and device fell about 1 feet (~30.5 cm) to carpeted floor. At first it seemed fine (I was even able to successfully copy at least one more file onto it), but later when device was save-removed and plugged into another computer, it no longer works--Windows no longer recognizes it as having any NTFS partitions,
Your USB enclosure may have some converting electronics emulating a different sector size to enable the use of the legacy MBR partition scheme. When putting your disk into a different machine, the missing conversion creates errors.


and sometimes there is slight screeching sound
Screeching sounds are not part of normal disk operation. Post your smart parameters:
viewtopic.php?f=5&t=10910

Checking the disk's self health estimate is the first thing to do if it falls down to the floor.

during disk reads that I guess could be sign of possible physical damage (but don't know for sure, I don't regularly come across damaged HDDs).

I tried testdisk.
You should have cloned your disk before as described in the manual.

It found no partitions (expected), then I tried "quick search" to see if it can recover any partitions, but it seems very slow, to the point where at times I thought program froze.
Running ddrescue makes broken areas visible as the transfer speed goes down and read errors are shown in the terminal screen and the so-called map file.
Using any other software bears the risk of degrading an already dammaged device already further.


After about half an hour, I aborted it at about point of 3/2431599 and then quit the program. I included testdisk.log below for reference. As you can see there are a whole bunch of file_win32_pread(...) log entries that seem to fail with "read err: read after end of file". I can't tell whether that is normal for corrupted filesystem, versus indicating actual failed sector reads (bad sector or worse).

Based on the number of failed file_win32_pread() entries in the log, is it fair to say testdisk probably wouldn't be able to recover the lost partition even if I let it run to completion?
Smartmontools or even CrystalDiskInfo
gives you the best health indication of your disk.
Next tool is ddrescue. Health information from smartmontools is just a snapshot in time.
When trying to clone a disk using ddrescue every unreadable sector will show up and update SMART information.
Do not use the Testdisk log as a health estimate.

I have not tried PhotoRec yet, does that tool still work in this case where filesystem/partition is no longer recognized?
Yes.

The files I want to recover would be large (~1-10 GB each file, total of around 50-150 files), but HDD was new (only used for ~3 days before accident) and most files are copied from another source and then left unmodified on the HDD, so maybe most files are stored in consecutive sectors?
Most likely yes.
Are there other tools outside of testdisk/photorec (including paid ones) that might be worth trying for my case?
I have no experience with outside tools. Once you cloned your disk you can try out every possible tool without worrying about data loss. Given that your disk seems to be already dammaged you should clone your clone because some tools are able to work in write mode on your supposedly defective device. It may be that the first clone of your defective device is the last possible one - therefore working on a clone of the clone is recommended.
Keep in mind that cloning the clone should be possible at the sustained writing speed of the slower disk of your first and second clone targets as cloning the clone does not involve the time delays of cloning a defective device.

In case of continuing or repeating screeching sounds you should consider contacting a professional recovery service.