HDD showing as RAW, Test Disk saying disk is too small?

How to use TestDisk to recover lost partition
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
Message
Author
Semicus
Posts: 4
Joined: 21 Nov 2014, 22:03

Re: HDD showing as RAW, Test Disk saying disk is too small?

#11 Post by Semicus »

I've changed Heads to 255 and sectors to 63 and then [ Analyse ]

here's the log:

Sat Nov 22 16:03:11 2014
Command line: TestDisk

TestDisk 7.0-WIP, Data Recovery Utility, October 2014
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows WorkStation 6.2.9200
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)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdc)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdd)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive3)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=107006132224
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=892827860992
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\E:)=1000202043392
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=1000202043392
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\G:)=1000202043392
filewin32_getfilesize(\\.\H:) GetFileSize err Niepoprawna funkcja.

filewin32_setfilepointer(\\.\H:) SetFilePointer err Niepoprawna funkcja.

Warning: can't get size for \\.\H:
filewin32_getfilesize(\\.\J:) GetFileSize err Niepoprawna funkcja.

filewin32_setfilepointer(\\.\J:) SetFilePointer err Niepoprawna funkcja.

Warning: can't get size for \\.\J:
Hard disk list
Disk /dev/sda - 1000 GB / 931 GiB - CHS 4811638 203 2, sector size=512 - ST31000524AS, S/N:6VPCB1HF, FW:JC45
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512 - ST31000524AS, S/N:6VPED0WE, FW:JC4B
Disk /dev/sdc - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512 - ST31000528AS, S/N:5VP08WLW, FW:CC34
Disk /dev/sdd - 1000 GB / 931 GiB - CHS 2713229 60 12, sector size=512 - SAMSUNG HD103SJ, S/N:S246J9BZ905838, FW:1AJ10001

Partition table type (auto): Intel
Disk /dev/sdd - 1000 GB / 931 GiB - SAMSUNG HD103SJ
Partition table type: Intel
New geometry
Disk /dev/sdd - 1000 GB / 931 GiB - CHS 121602 255 63 sector_size=512

Analyse Disk /dev/sdd - 1000 GB / 931 GiB - CHS 121602 255 63
Geometry from i386 MBR: head=60 sector=12
BAD_RS LBA=2048 35288
NTFS at 0/32/33
heads/cylinder 60 (NTFS) != 255 (HD)
sect/track 12 (NTFS) != 63 (HD)
Current partition structure:
Warning: number of heads/cylinder mismatches 60 (NTFS) != 255 (HD)
Warning: number of sectors per track mismatches 12 (NTFS) != 63 (HD)
1 P HPFS - NTFS 0 32 33 121601 25 24 1953519616

Bad relative sector.
No partition is bootable

search_part()
Disk /dev/sdd - 1000 GB / 931 GiB - CHS 121602 255 63
NTFS at 0/32/33
heads/cylinder 60 (NTFS) != 255 (HD)
sect/track 12 (NTFS) != 63 (HD)
filesystem size 1953519616
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 2
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 0 32 33 121601 25 24 1953519616
NTFS, blocksize=4096, 1000 GB / 931 GiB
file_pread(7,2,buffer,1953525760(121601/90/26)) lseek err Invalid argument
file_pread(7,1,buffer,1953525760(121601/90/26)) lseek err Invalid argument
file_pread(7,8,buffer,1953525248(121601/82/18)) lseek err Invalid argument
file_pread(7,1,buffer,1953525248(121601/82/18)) lseek err Invalid argument
file_pread(7,8,buffer,1953525376(121601/84/20)) lseek err Invalid argument
file_pread(7,8,buffer,1953525504(121601/86/22)) lseek err Invalid argument
file_pread(7,8,buffer,1953525632(121601/88/24)) lseek err Invalid argument
file_pread(7,7,buffer,1953525761(121601/90/27)) lseek err Invalid argument
file_pread(7,2,buffer,1953525760(121601/90/26)) lseek err Invalid argument
file_pread(7,8,buffer,1953525768(121601/90/34)) lseek err Invalid argument
file_pread(7,3,buffer,1953525776(121601/90/42)) lseek err Invalid argument
file_pread(7,3,buffer,1953525823(121601/91/26)) lseek err Invalid argument
file_pread(7,8,buffer,1953525839(121601/91/42)) lseek err Invalid argument
file_pread(7,11,buffer,1953525886(121601/92/26)) lseek err Invalid argument
file_pread(7,2,buffer,1953527808(121601/122/58)) lseek err Invalid argument

Results
* HPFS - NTFS 0 32 33 121601 25 24 1953519616
NTFS, blocksize=4096, 1000 GB / 931 GiB

interface_write()
1 * HPFS - NTFS 0 32 33 121601 25 24 1953519616
simulate write!

write_mbr_i386: starting...
write_all_log_i386: starting...
No extended partition

TestDisk exited normally.

Sponsored links

Semicus
Posts: 4
Joined: 21 Nov 2014, 22:03

Re: HDD showing as RAW, Test Disk saying disk is too small?

#12 Post by Semicus »

I've copied all data to another hard drive, removed partition and made new one in windows. All is working fine now and no warnings in Testdisk.

I also runned SMART diagnostics and there was warning:
(C7) Interface CRC Error Count 98 98 0 1298 attention

Jenananda
Posts: 2
Joined: 01 Dec 2014, 02:00

Re: HDD showing as RAW, Test Disk saying disk is too small?

#13 Post by Jenananda »

Yesterday My data drive which is not by boot drive no longer works. It is connected on a Thermotake USB docking station.

The computer list the drive, but when I click on the drive letter I get a message saying "J:/ is not accessible.
The disk structure is corrupted and unreadable."

I want to cry. I really need this data asap as I can't work without it.

I just signed up on the forum so I'm a novice at the moment but with a technical background (just not technical about hard drive partitioning).

I ran TestDisk and it said my drive is too small. I went in and had Testdisk set the 255 63 setting but still says the drive is too small.

here is my log file. What else can I do. I can't afford to lose the data.

Thanks,

Jen



Sun Nov 30 10:09:33 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)=256060514304
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=150039945216
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdc)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdd)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=256060514304
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=150039945216
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive3)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=256052934144
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=150029074944
filewin32_getfilesize(\\.\E:) GetFileSize err Incorrect function.

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

Warning: can't get size for \\.\E:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\H:)=500104691712
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\J:)=500105217024
Hard disk list
Disk /dev/sda - 256 GB / 238 GiB - CHS 31130 255 63, sector size=512 - SAMSUNG SSD 830 Seri, S/N:0SVVYNBA0A1103, FW:CXM0
Disk /dev/sdb - 150 GB / 139 GiB - CHS 18241 255 63, sector size=512 - WDC WD15 00ADFD-00NLR, S/N:W -DMWPA14058905, FW:20.0
Disk /dev/sdc - 500 GB / 465 GiB - CHS 60801 255 63, sector size=512 - ST950056 20AS
Disk /dev/sdd - 500 GB / 465 GiB - CHS 60801 255 63, sector size=512 - ST950042 0AS

Partition table type (auto): Intel
Disk /dev/sdd - 500 GB / 465 GiB - ST950042 0AS
Partition table type: Intel

Analyse Disk /dev/sdd - 500 GB / 465 GiB - CHS 60801 255 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 0/1/1
get_geometry_from_list_part_aux head=255 nbr=2
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=2
Current partition structure:
1 P HPFS - NTFS 0 1 1 60800 254 63 976768002
No partition is bootable

search_part()
Disk /dev/sdd - 500 GB / 465 GiB - CHS 60801 255 63
NTFS at 0/1/1
filesystem size 976768002
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 2
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 0 1 1 60800 254 63 976768002
NTFS, blocksize=4096, 500 GB / 465 GiB
file_pread(7,3,buffer,976773183(60801/81/16)) lseek err Invalid argument
file_pread(7,1,buffer,976773183(60801/81/16)) lseek err Invalid argument
file_pread(7,8,buffer,976773199(60801/81/32)) lseek err Invalid argument
file_pread(7,11,buffer,976773246(60801/82/16)) lseek err Invalid argument
file_pread(7,2,buffer,976775168(60801/112/48)) lseek err Invalid argument
file_pread(7,7,buffer,976773184(60801/81/17)) lseek err Invalid argument
file_pread(7,8,buffer,976773311(60801/83/18)) lseek err Invalid argument
file_pread(7,8,buffer,976773439(60801/85/20)) lseek err Invalid argument
file_pread(7,8,buffer,976773567(60801/87/22)) lseek err Invalid argument
file_pread(7,8,buffer,976773695(60801/89/24)) lseek err Invalid argument
file_pread(7,8,buffer,976773823(60801/91/26)) lseek err Invalid argument
file_pread(7,8,buffer,976773951(60801/93/28)) lseek err Invalid argument
file_pread(7,8,buffer,976774079(60801/95/30)) lseek err Invalid argument
file_pread(7,8,buffer,976774207(60801/97/32)) lseek err Invalid argument
file_pread(7,8,buffer,976774335(60801/99/34)) lseek err Invalid argument
file_pread(7,8,buffer,976774463(60801/101/36)) lseek err Invalid argument
file_pread(7,8,buffer,976774591(60801/103/38)) lseek err Invalid argument
file_pread(7,8,buffer,976774719(60801/105/40)) lseek err Invalid argument
file_pread(7,8,buffer,976774847(60801/107/42)) lseek err Invalid argument
file_pread(7,8,buffer,976774975(60801/109/44)) lseek err Invalid argument
file_pread(7,8,buffer,976775103(60801/111/46)) lseek err Invalid argument
file_pread(7,1,buffer,976775167(60801/112/47)) lseek err Invalid argument
file_pread(7,1,buffer,976775168(60801/112/48)) lseek err Invalid argument
file_pread(7,14,buffer,976775169(60801/112/49)) lseek err Invalid argument
file_pread(7,3,buffer,976775183(60801/112/63)) lseek err Invalid argument
file_pread(7,3,buffer,976775230(60801/113/47)) lseek err Invalid argument
file_pread(7,8,buffer,976775246(60801/113/63)) lseek err Invalid argument
file_pread(7,11,buffer,976775293(60801/114/47)) lseek err Invalid argument
file_pread(7,2,buffer,976777215(60801/145/16)) lseek err Invalid argument
get_geometry_from_list_part_aux head=255 nbr=2
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=2

Results
* HPFS - NTFS 0 1 1 60800 254 63 976768002
NTFS, blocksize=4096, 500 GB / 465 GiB

interface_write()
1 * HPFS - NTFS 0 1 1 60800 254 63 976768002
Incomplete multi sector transfer detected in $MFT.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
Failed to startup volume: Input/output error.
Incomplete multi sector transfer detected in $MFT.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
Incomplete multi sector transfer detected in $MFT.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
Failed to startup volume: Input/output error.
Incomplete multi sector transfer detected in $MFT.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.

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

Re: HDD showing as RAW, Test Disk saying disk is too small?

#14 Post by cgrenier »

Jenananda: Run "cmd" (right click run as administrator) and type "chkdsk /f d:" (replace d: by the correct drive letter).
If it doesn't work, run photorec, select the partition and choose [whole] instead of [Free]. Your data will be recovered but without the original filenames.

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

Re: HDD showing as RAW, Test Disk saying disk is too small?

#15 Post by cgrenier »

Semicus wrote:I also runned SMART diagnostics and there was warning:
(C7) Interface CRC Error Count 98 98 0 1298 attention
You should replace your disk by a new one. If this disk is under warranty, it's the good moment to use it. With your warranty request, add the SMART info

Jenananda
Posts: 2
Joined: 01 Dec 2014, 02:00

Re: HDD showing as RAW, Test Disk saying disk is too small?

#16 Post by Jenananda »

I ran chkdsk and it came back ' Windows cannot recover master file table. CHKDSK aborted.

Before I run photorec, I would like to make sure there is not another option first.
Please advise. Thanks for the rapid reply to my original post.

Jen

Locked