Page 1 of 1

On Windows7, qphotorec can detect the real harddisk but photorec cannot

Posted: 03 May 2017, 12:56
by drtrivago
The error drive splits into D drive and H drive. They are empty seen from Explorer.
I tried running testdisk but it can only detect one drive(D). Then I tried photorec but to no avail. When I tried qphotorec, surprisingly it could detect the real harddisk.
qphotorec.png
qphotorec.png (89.89 KiB) Viewed 1508 times
drives.png
drives.png (20.52 KiB) Viewed 1508 times
diskman.png
diskman.png (40.47 KiB) Viewed 1508 times

Re: On Windows7, qphotorec can detect the real harddisk but photorec cannot

Posted: 03 May 2017, 20:01
by cgrenier
Can you run "cmd" (right click run as administrator), "photorec_win.exe /debug /log /all" ?
Choose Quit and please post the photorec.log file content.

Re: On Windows7, qphotorec can detect the real harddisk but photorec cannot

Posted: 04 May 2017, 20:12
by drtrivago

Code: Select all

Using locale 'C.UTF-8'.


Fri May  5 03:08:20 2017
Command line: PhotoRec /debug /log /all

PhotoRec 7.1-WIP, Data Recovery Utility, April 2017
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 7 (7601) SP1
Compiler: GCC 5.4, Cygwin 2005.2
ext2fs lib: 1.43.1, ntfs lib: 10:0:0, ewf lib: 20140608, libjpeg: libjpeg-turbo-1.5.0, curses lib: ncurses 6.0
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=500107862016
filewin32_getfilesize(/dev/sdb) GetFileSize err 功能錯誤。

filewin32_setfilepointer(/dev/sdb) SetFilePointer err 功能錯誤。

Warning: can't get size for Disk /dev/sdb - 0 B - 0 sectors (RO), sector size=512 - ATA ST3320613AS
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdc)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdd)=2000398934016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=500107862016
filewin32_getfilesize(\\.\PhysicalDrive1) GetFileSize err 功能錯誤。

filewin32_setfilepointer(\\.\PhysicalDrive1) SetFilePointer err 功能錯誤。

Warning: can't get size for \\.\PhysicalDrive1
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive3)=2000398934016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=500106813440
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=104857600
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\E:)=1000202043392
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=2000263577600
filewin32_getfilesize(\\.\G:) GetFileSize err 功能錯誤。

filewin32_setfilepointer(\\.\G:) SetFilePointer err 功能錯誤。

Warning: can't get size for \\.\G:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\H:)=319965626368
Hard disk list
Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63 (RO), sector size=512 - ATA Samsung SSD 850, S/N:S2R9NX0H620625F, FW:2B6Q
Disk /dev/sdc - 1000 GB / 931 GiB - CHS 121601 255 63 (RO), sector size=512 - ATA WDC WD10EZEX-08M, S/N:WD-WCC3F4862374, FW:1A01
Disk /dev/sdd - 2000 GB / 1863 GiB - CHS 243201 255 63 (RO), sector size=512 - ATA WDC WD20EARS-00J, S/N:WD-WCAYY0222267, FW:0A80
Disk \\.\PhysicalDrive0 - 500 GB / 465 GiB - CHS 60801 255 63 (RO), sector size=512 - ATA Samsung SSD 850, S/N:S2R9NX0H620625F, FW:2B6Q
Disk \\.\PhysicalDrive2 - 1000 GB / 931 GiB - CHS 121601 255 63 (RO), sector size=512 - ATA WDC WD10EZEX-08M, S/N:WD-WCC3F4862374, FW:1A01
Disk \\.\PhysicalDrive3 - 2000 GB / 1863 GiB - CHS 243201 255 63 (RO), sector size=512 - ATA WDC WD20EARS-00J, S/N:WD-WCAYY0222267, FW:0A80
Drive C: - 500 GB / 465 GiB - CHS 60801 255 63 (RO), sector size=512 - ATA Samsung SSD 850, S/N:S2R9NX0H620625F, FW:2B6Q
Drive D: - 104 MB / 100 MiB - CHS 204800 1 1 (RO), sector size=512 - ATA ST3320613AS, S/N:9SZ2B98T, FW:CC2F
Drive E: - 1000 GB / 931 GiB - CHS 121600 255 63 (RO), sector size=512 - ATA WDC WD10EZEX-08M, S/N:WD-WCC3F4862374, FW:1A01
Drive F: - 2000 GB / 1862 GiB - CHS 243184 255 63 (RO), sector size=512 - ATA WDC WD20EARS-00J, S/N:WD-WCAYY0222267, FW:0A80
Drive H: - 319 GB / 297 GiB - CHS 624932864 1 1 (RO), sector size=512 - ATA ST3320613AS, S/N:9SZ2B98T, FW:CC2F

PhotoRec exited normally.

Re: On Windows7, qphotorec can detect the real harddisk but photorec cannot

Posted: 04 May 2017, 20:14
by drtrivago
Although qphotorec could identify the correct disk size, it could not find any file from the drive.

Re: On Windows7, qphotorec can detect the real harddisk but photorec cannot

Posted: 08 May 2017, 11:38
by drtrivago
Any thoughts on this?
Much appreciated.