Space conflict leads to unmountable written partition

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
Locked
Message
Author
danzcgsecurity
Posts: 1
Joined: 05 Apr 2015, 03:46

Space conflict leads to unmountable written partition

#1 Post by danzcgsecurity »

I get a space conflict as per the log below. Even when I set the heads to 8 as suggested, go through the process, I end up with an unmountable disk.

I'm using OSX. They were all MAC OS Extended (Journaled) Partitions of one 3TB disk.

The files on the disk are recoverable with photorec, yet I seem unable to restore the partition. Is there anything else I can try?

Code: Select all


Sat Apr  4 23:02:45 2015
Command line: TestDisk

TestDisk 6.13, Data Recovery Utility, November 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Darwin, kernel 14.1.0 (Darwin Kernel Version 14.1.0: Thu Feb 26 19:26:47 PST 2015; root:xnu-2782.1
Compiler: GCC 4.0
Compilation date: 2011-11-15T08:36:43
ext2fs lib: 1.41.8, ntfs lib: libntfs-3g, reiserfs lib: 0.3.1-rc8, ewf lib: 20100226
Hard disk list
Disk /dev/disk0 - 121 GB / 113 GiB - CHS 236978176 1 1 (RO), sector size=512
Disk /dev/disk2 - 3000 GB / 2794 GiB - CHS 1565565873 1 1, sector size=512
Disk /dev/rdisk0 - 121 GB / 113 GiB - CHS 236978176 1 1 (RO), sector size=512
Disk /dev/rdisk1 - 120 GB / 111 GiB - CHS 234643592 1 1, sector size=512
Disk /dev/rdisk2 - 3000 GB / 2794 GiB - CHS 1565565873 1 1, sector size=512

Partition table type (auto): Intel
Disk /dev/rdisk2 - 3000 GB / 2794 GiB
Partition table type: Intel

Analyse Disk /dev/rdisk2 - 3000 GB / 2794 GiB - CHS 1565565874 1 1
Geometry from i386 MBR: head=8 sector=1

HFS+ magic value at 614448/0/1

HFS+ magic value at 1465720368/0/1
check_part_i386 failed for partition type AF
get_geometry_from_list_part_aux head=1 nbr=6
get_geometry_from_list_part_aux head=8 nbr=4
get_geometry_from_list_part_aux head=16 nbr=4
get_geometry_from_list_part_aux head=255 nbr=1
Current partition structure:
 1 * HFS                       614448 1465458223 1464843776

Warning: Bad starting head (CHS and LBA don't match)
 2 P HFS                   1465720368 4395407919 2929687552

Warning: Bad starting head (CHS and LBA don't match)
No HFS or HFS+ structure
 3 P HFS                   4294967295 5759568214 1464600920
 3 P HFS                   4294967295 5759568214 1464600920

Warning: Bad starting head (CHS and LBA don't match)
Space conflict between the following two partitions
 2 P HFS                   1465720368 4395407919 2929687552
 3 P HFS                   4294967295 5759568214 1464600920
Ask the user for vista mode
Allow partial last cylinder : No
search_vista_part: 0

search_part()
Disk /dev/rdisk2 - 3000 GB / 2794 GiB - CHS 1565565874 1 1
check_FAT: Unusual media descriptor (0xf0!=0xf8)
check_FAT: Incorrect number of bytes per sector 4096 (FAT) != 512 (HD)
check_FAT: Unusual media descriptor (0xf0!=0xf8)
check_FAT: Incorrect number of bytes per sector 4096 (FAT) != 512 (HD)

HFS+ magic value at 614448/0/1
part_size 1464843776
     HFS                       614448 1465458223 1464843776
     HFS+, 750 GB / 698 GiB

HFS+ magic value at 1465720368/0/1
part_size 2929687552
     HFS                   1465720368 4395407919 2929687552
     HFS+, 1500 GB / 1396 GiB

HFS+ magic value at 100702768/0/1
part_size 1464600920
     HFS                   4395670064 5860270983 1464600920
     HFS+, 749 GB / 698 GiB
get_geometry_from_list_part_aux head=1 nbr=6
get_geometry_from_list_part_aux head=8 nbr=6
get_geometry_from_list_part_aux head=16 nbr=5
Warning: the current number of heads per cylinder is 1 but the correct value may be 8.

Results
   * HFS                       614448 1465458223 1464843776
     HFS+, 750 GB / 698 GiB
   P HFS                   1465720368 4395407919 2929687552
     HFS+, 1500 GB / 1396 GiB
   P HFS                   4395670064 5860270983 1464600920
     HFS+, 749 GB / 698 GiB

interface_write()
 1 * HFS                       614448 1465458223 1464843776
 2 P HFS                   1465720368 4395407919 2929687552
 3 P HFS                   4395670064 5860270983 1464600920
 

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

Re: Space conflict leads to unmountable written partition

#2 Post by cgrenier »

You can try to restore only one partition, after a reboot, mount it and copy the files. And try to recover the second partition.

Locked