OS X: fsck_hfs unable to fix volume directory count
        Posted  
        
            by 
                Charles Duffy
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by Charles Duffy
        
        
        
        Published on 2012-09-19T07:01:40Z
        Indexed on 
            2012/09/19
            15:42 UTC
        
        
        Read the original article
        Hit count: 270
        
I'm running fsck_hfs on a very large volume. Unfortunately, there's an issue it appears to be unable to fix -- it reports it, loops back to start with Rechecking..., and reports it again, ad infinitum.
** Checking catalog hierarchy.
   Invalid volume directory count
   (It should be 513997 instead of 513998)
   Incorrect folder count in a directory (id = 27444570)
   (It should be 1 instead of 0)
I've tried adding the -r ("rebuild catalog btree") flag to fsck, but the issue still recurs.
© Server Fault or respective owner