disk is not recognized

Using TestDisk to repair the filesystem
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
Nubber
Posts: 7
Joined: 04 Nov 2016, 15:20

disk is not recognized

#1 Post by Nubber »

Hello there,

I tried to repair a partition from second harddisk:
2016-11-04 15_29_28.png
2016-11-04 15_29_28.png (34.5 KiB) Viewed 2457 times
I have the problem, that testdisk does not recognise the second harddisk in general.

TestDisk 7.1-WIP, Data Recovery Utility, August 2016
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

TestDisk is free software, and
comes with ABSOLUTELY NO WARRANTY.

Select a media (use Arrow keys, then press Enter):
>Disk /dev/sda - 1000 GB / 931 GiB - ST1000DM 003-9YN162










>[Proceed ] [ Quit ]

Note: Disk capacity must be correctly detected for a successful recovery.
If a disk listed above has an incorrect size, check HD jumper settings and BIOS
detection, and install the latest OS patches and disk drivers.


---------------------------------------------------------------------------------




Fri Nov 4 15:23:15 2016
Command line: TestDisk

TestDisk 7.1-WIP, Data Recovery Utility, August 2016
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, reiserfs lib: none, ewf lib: 20140608, curses lib: ncurses 6.0
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=1000204886016
filewin32_getfilesize(/dev/sdb) GetFileSize err Unzulässige Funktion.

filewin32_setfilepointer(/dev/sdb) SetFilePointer err Unzulässige Funktion.

Warning: can't get size for Disk /dev/sdb - 0 B - 0 sectors, sector size=512 - ST1000DM 003-9YN162
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=1000204886016
filewin32_getfilesize(\\.\PhysicalDrive1) GetFileSize err Unzulässige Funktion.

filewin32_setfilepointer(\\.\PhysicalDrive1) SetFilePointer err Unzulässige Funktion.

Warning: can't get size for \\.\PhysicalDrive1
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=268435456000
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=731661729792
filewin32_getfilesize(\\.\E:) GetFileSize err Unzulässige Funktion.

filewin32_setfilepointer(\\.\E:) SetFilePointer err Unzulässige Funktion.

Warning: can't get size for \\.\E:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=104857600
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\G:)=128849018880
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\I:)=871248166912
Hard disk list
Disk /dev/sda - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512 - ST1000DM 003-9YN162, S/N:S1D8KNQF, FW:CC62


TestDisk exited normally.

-------------------------------------------------------------------------------------

Could you please help what to do that testdisk will recognize the harddisk?

Regards

Marcel

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

Re: disk is not recognized

#2 Post by cgrenier »

Your 2 harddisk are the same model ST1000DM 003-9YN162 but TestDisk failed to get the size of the second one
"filewin32_getfilesize(/dev/sdb) GetFileSize err Unzulässige Funktion.
filewin32_setfilepointer(/dev/sdb) SetFilePointer err Unzulässige Funktion."
I don't know why the 2 functions are listed as illegal.
As a workaround, you can boot from a LinuxLiveUSB and run testdisk from it.

You can also run "cmd" (right click run as administrator) and "chkdsk /f G:", "chkdsk /f I:"

Nubber
Posts: 7
Joined: 04 Nov 2016, 15:20

Re: disk is not recognized

#3 Post by Nubber »

Ok, using LinuxLiveUSB sounds like a plan. Thank you. I will try that at first.

Locked