OS X: fsck_hfs unable to fix volume directory count

Solution 1:

The volume is probably locked, so you should retry what you are doing after booting into either the Recovery HD parition (Command-R while booting) or with a OS X install CD.