What are next steps when fsck reports "could not be repaired after 3 attempts"?

My Mac Book Pro 13.-" doesn´t get past the grey booting screen with the apple and the spinning wheel (The loading bar appears but when it´s done nothing happens)

I have 220 GB in one single Partition (Macintosh HD) and there is all my work my music and the only copy of ALL MY PHOTOS. I´m so stupid I don´t have a backup of anything but know I have an external HD with 300GB space. I would like to repair my HDD but more important I need to save my files but I don´t know how to do it in Disk Utility Mode. I read there is a Diskwarrior but I don´t know how to install it without booting the mac. Please help!!!

When I start on Single User mode and enter /sbin/fsck -fs this appears

Executing fsck_hfs (version diskdev_cmds-557-393) 
Checking Journaled HFS Plus volume. 
The volume name is Macintosh HD 
Checking extents overflow file. 
Checking catalog file 
Incorrect number of thread records  (4, 23745) 
Checking multi-linked files. 
Checking catalog hierarchy 
Invalid volume directory count (It should be 175703 instead of 175701) Checking extended attributes file. 
Incorrect number of extended attributes (It should be 340062 instead of 340064) 
Checking volume bitmap. 
Checking volume information. 
The volume Macintosh HD could not be repaired after 3 attempts.

*****The volume was modified *****

What are the next steps if fsck fails to repair a drive?


Solution 1:

You can try this but please make sure you backup first:

Boot to single-user mode, hold down the command (i.e. cloverleaf or Apple) and "s" keys as the system begins to boot.

To Debug, Repair, Force (and fix errors automatically)

/sbin/fsck_hfs -drfy /dev/disk0s2

To scan for bad blocks:

/sbin/fsck_hfs -S /dev/disk0s2

Assuming disk0s2 is the one you are looking to repair. (Usually the default "Macintosh HD" drive.)

This should get you back inside your OS.

This link may help too: http://www.westwind.com/reference/os-x/commandline/single-user.html

Solution 2:

To add here I had the similar situation. The steps I took:

  1. Boot in single mode.

  2. Run /sbin/fsck_hfs -drfy /dev/disk0s2 many times, it didn't help. In the output I noticed there is a circular link problem, the messages were something like parentID=334973 threadID=51569281. The file ids are actually inode numbers and correspond to real files.

  3. Run find / -inum 334973 to figure out which file is a problem, it appeared the file inside .Spotlight folder.

  4. Remounted disk in rw mode and deleted spotlight folder, then rebooted in single mode again.

  5. Run /sbin/fsck_hfs -drfy /dev/disk0s2 again and now the problem was fixed since problematic file was deleted.

Solution 3:

At this point, your options are as follows:

  1. Pay for technician time to re-run the Apple steps in case you did them incorrectly / missed a step / clue (unlikely, but possible)
  2. Pay for / search for software that does more to repair a drive's data catalog than Disk Utility. Of the many commercial products, Disk Warrior is what most use, but Data Rescue might work as well.
  3. Erase the HD - losing all data, and see if this was simply a catalog corruption that Disk Utility was unable / unwilling to repair (pretty fair chances)
  4. Replace the HD - postponing whether the data can be saved, but getting a good drive in the Mac so you can test if it's the drive / particular data on that drive or the Mac needs repair.
  5. Pay for a repair tech to do the repair.

Unless you have data that's valuable (in that you might pay between $100 and $1000 dollars to have professional recovery help), I would pick one of the inner two options which means buy a new drive (benefits are fixed sunk cost and limited investment of time to troubleshoot) or look extended troubleshooting like Disk Warrior or erasing the drive if you have a backup, don't really need one.