HFS Disk Partition corrupt, but file system still present.
by sgbotsford - 2/25/13 12:23 PM
External drive 3.0 TB. HFS+ Journaled.
Drive wouldn't mount. Ran Disk Utility, It ran twice, and on second pass finished with message about rebuilding boot stuff as required. (Don't have the text in front of me.
Tried mounting again.
Disk Utility reported bad journal.
Fired up a terminal window:
diskutil disableJournal force /dev/disk6
diskutil complained about no filesystem
Then just what was Disk Utility checking catalogs etc of?
So, then I tried using testdisk 6.13 to query the existing partition info. It found what looks like the right partition.
Since the article claimed that testdisk wouldn't write proper partitions, I then tried using pdisk to create a new partition table.
A physical block is 512 bytes:
A logical block is 512 bytes:
size of 'device' is 1564894038 blocks (512 byte blocks): 5860270983
new size of 'device' is 1565303687 blocks (512 byte blocks)
Oops. Pdisk doesn't seem to be able to cope with 3TB disks.
version 0.9a2 (16 May 2004)
Ok, so all you mac boffins out there: What's my next step.
Also: everytime I started pdisk, it would start an fsck on the drive.
My data is still there, I think. How do I rebuild the partition?