Successful but RAID0 is still RAW in Windows

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
User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Successful but RAID0 is still RAW in Windows

#11 Post by cgrenier »

Can you post the content of testdisk.log file after a RebuildBS of this partition ?

Megalomac
Posts: 10
Joined: 14 Mar 2012, 19:38

Re: Successful but RAID0 is still RAW in Windows

#12 Post by Megalomac »

Ok, I ran RebuildBS under Intel, as it wasn't an option under EFI FPT. Below is the log file immediately following the command.


Fri Mar 16 13:35:01 2012
Command line: TestDisk

TestDisk 6.14-WIP, Data Recovery Utility, March 2012
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 7 (7601) SP1
Compiler: GCC 4.7, MinGW 3.11
Compilation date: Mar 5 2012 23:17:44
ext2fs lib: none, ntfs lib: 10:0:0, reiserfs lib: none, ewf lib: none
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=120034123776
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=4000792444928
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=15606349824
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
filewin32_getfilesize(\\.\PhysicalDrive6) GetFileSize err Incorrect function.


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


Warning: can't get size for \\.\PhysicalDrive6
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive7)=3000592977920
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=120031543296
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=3000582144000
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(\\.\F:)=15602221056
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\G:)=2199023255040
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:)=0
Warning: can't get size for \\.\J:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\K:)=0
Warning: can't get size for \\.\K:
Hard disk list
Disk \\.\PhysicalDrive0 - 120 GB / 111 GiB - CHS 14593 255 63, sector size=512
Disk \\.\PhysicalDrive1 - 4000 GB / 3726 GiB - CHS 486401 255 63, sector size=512
Disk \\.\PhysicalDrive2 - 15 GB / 14 GiB - CHS 1897 255 63, sector size=512
Disk \\.\PhysicalDrive7 - 3000 GB / 2794 GiB - CHS 45600 255 63, sector size=4096
Drive C: - 120 GB / 111 GiB - CHS 14593 255 63, sector size=512
Drive D: - 3000 GB / 2794 GiB - CHS 45600 255 63, sector size=4096
Drive F: - 15 GB / 14 GiB - CHS 1896 255 63, sector size=512
Drive G: - 2199 GB / 2047 GiB - CHS 267349 255 63, sector size=512

Partition table type (auto): EFI GPT
Disk \\.\PhysicalDrive1 - 4000 GB / 3726 GiB
Partition table type: Intel

Interface Advanced
Geometry from i386 MBR: head=255 sector=63
NTFS at 16/113/34
Error: size boot_sector 3518814208 > partition 4294967295
check_part_i386 failed for partition type 07
1 * HPFS - NTFS 16 113 34 267365 202 36 4294967295

ntfs_boot_sector
1 * HPFS - NTFS 16 113 34 267365 202 36 4294967295
NTFS at 16/113/34
Error: size boot_sector 3518814208 > partition 4294967295
filesystem size 7813781504 16981922250350657613
sectors_per_cluster 8 255
mft_lcn 786432 2337931262
mftmirr_lcn 2 5019180
clusters_per_mft_record -10 -103
clusters_per_index_record 1 89
Boot sector
Error: size boot_sector 3518814208 > partition 4294967295
Status: Bad

Backup boot sector
Status: Bad

Sectors are not identical.

A valid NTFS Boot sector must be present in order to access
any data; even if the partition is not bootable.
rebuild_NTFS_BS
mft at 16, seq=1, main=0 res=1
ntfs_find_mft: mft_lcn 786432
ntfs_find_mft: mftmirr_lcn 2
ntfs_find_mft: sectors_per_cluster 8
ntfs_find_mft: mft_lcn 786432
ntfs_find_mft: mftmirr_lcn 2
ntfs_find_mft: mft_record_size 1024
ntfs_find_mft: index_block_size 4096
New / Current boot sector
filesystem size 4294967295 7813781504
sectors_per_cluster 8 8
mft_lcn 786432 786432
mftmirr_lcn 2 2
clusters_per_mft_record -10 -10
clusters_per_index_record 1 1
Extrapolated boot sector and current boot sector are different.
filesystem size 4294967295 7813781504
sectors_per_cluster 8 8
mft_lcn 786432 786432
mftmirr_lcn 2 2
clusters_per_mft_record -10 -10
clusters_per_index_record 1 1
Write new boot!

ntfs_boot_sector
1 * HPFS - NTFS 16 113 34 267365 202 36 4294967295
NTFS at 16/113/34
NTFS at 16/113/34
filesystem size 4294967295
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 2
clusters_per_mft_record -10
clusters_per_index_record 1
Boot sector
Status: OK

Backup boot sector
Status: OK

Sectors are identical.

A valid NTFS Boot sector must be present in order to access
any data; even if the partition is not bootable.

User avatar
Fiona
Posts: 2835
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: Successful but RAID0 is still RAW in Windows

#13 Post by Fiona »

Have you been able to list your files?
Looks like, that you wrote your boot sector.

Megalomac
Posts: 10
Joined: 14 Mar 2012, 19:38

Re: Successful but RAID0 is still RAW in Windows

#14 Post by Megalomac »

Yes - I can list my files (roughly half of them) just like before. I ran RebuildBS as requested by Christophe, so if that wrote my boot sector, I guess I did. I was willing to try anything, even though this partition was not my boot drive. And now I can't even boot, nor get to my bios unless I disconnect the 2 raid drives...so I avoided my computer for the weekend. :(

User avatar
Fiona
Posts: 2835
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: Successful but RAID0 is still RAW in Windows

#15 Post by Fiona »

If you write a boot sector you can make your file system visible.
If there are any errors it might hang or doesn't start.
Please, use a LiveCD to have a try to start with your RAID.
http://www.cgsecurity.org/wiki/TestDisk_Livecd
For disks larger than 2.2 TB always GPT should be used.

Just try to boot from a LiveCD containing TestDisk.
If it works, please check your RAID should still 4 TB.
I'll need infos from Analyse about your partition table.
Also, don't change your partition table type to Intel.
Please copy the log.

Megalomac
Posts: 10
Joined: 14 Mar 2012, 19:38

Re: Successful but RAID0 is still RAW in Windows

#16 Post by Megalomac »

Thanks for all your help, but I gave up and just formatted my drive. The LiveCD did not recognize my drive after several attempts and switching to GPT never was able to list my files. I was able to recover some files with PhotoRec, so at least I didn't lose everything.

Locked