PDA

View Full Version : hfsck nightmare, please help


cj10111
08-06-2005, 08:39 PM
I use an external firewire HFS+ formatted hard drive with Gentoo. It always tells me that the file system is unclean and will be mounted read only, even thought the OS X disk utility says everything is A-OK.

In a grand moment of stupidity, I decide to try hfsck on it. It says it found some errors and I told it to go ahead and fix them. Now the drive is hosed. Neither OS X or Linux can mount it or repair it. Disk Warrior doesn't know what to do with it. Now I'm missing two years worth of backups and I learned the hard way that hfsck is not for HFS+ partitions.

Is there anything I can do in OS X to salvage my data?

Please help. Thanks in advance.

eugex
08-13-2007, 04:13 PM
I have made the same unfortunate mistake that you made 2 years ago. I see that nobody has replied with a way to salvage your data. Were you about to salvage your data, and if so how did you go about it?

My situation is slightly more grim, because I hosed the actual system partition with hfsck, which is even more frustrating. I have tried to fix it with Disk Genius to no avail. I am attempting to acquire a copy of Disk Warrior, but I doubt it is any more effective than Disk Genius. Also it did not work for you, so I have little hope it will work for me.

This is the output of fsck.hfsplus (the proper tool for checking hfs+ partitions)
localhost Desktop # fsck.hfsplus /dev/sda2
** /dev/sda2
HFS Wrapper volume needs repair
(-1, 0)
** Checking HFS Plus volume.
Invalid B-tree node size
(3, 0)
** Volume check failed

PS: hfsck needs a warning message: not for hfsplus partitions! Even better it should distinguish between an hfs and hfsplus header and disallow changes to hfsplus headers. You had the same problem 2 years ago and hfsck still lacks the functionality to prevent hosing hfsplus volumes.