How to proceed from Disk repair "invalid directory item count" "this disk needs to be repaired"?

I'm trying to repair the hard drive on a MacBook running Mac OS X 10.6.8. To be honest I'm surprised the machine has lasted so long. It's very sluggish at the moment.
When verifying the hard drive, I get these details:
Verifying volume “Macintosh HD”
Performing live verification.
Checking Journaled HFS Plus volume.
Checking extents overflow file.
Checking catalog file.
Checking multi-linked files.
Checking catalog hierarchy.
Invalid directory item count
(It should be 37 instead of 35)
Checking extended attributes file.
Checking volume bitmap.
Checking volume information.
The volume Macintosh HD was found corrupt and needs to be repaired.
"This disk needs to be repaired. Start up your computer with another disk (such as your Mac OS X installation disc), and then use Disk Utility to repair this disk."
How should I proceed from here? Is the only path to use a mac OS X installation disk (which I don't have, so would have to source and borrow)?
Many thanks

Get the disk and insert it in the optical drive, then restart holding down the C key. You will come to an install screen to pick language. Unless you want some other language click inter. Then before you go any further, look to the top of the screen for a drop down utilities menu. Go to disk utilities open an select your Internal hard drive use repair option in the menu and repair drive . You may have to do this more than once. If this will not repair you drive,you will need a third party repair tool such as disk warrior or a new drive.

Similar Messages

  • Solution for invalid directory item count, startup disk corruption and regular crashes

    Hi,
    My late 2006 MacBook (10.6.8) has recently started crashing quite frequently. The screen becomes dark and a multi-language dialogue appears stating that the computer must be restarted with the power button. When this occurs any audio which was playing begins to repeat/skip and the computer goes into complete lockdown. This is now happening perhaps twice a day or more under moderate use.
    This morning I ran 'Verify Disk' in Disk Utility and the process was stopped, stating that I had two 'Invalid directory item counts' and 'the volume Macintosh
    HD was found to be corrupt'. Here is a screenshot of the Disk Utility window:
    I have rebooted, run a software update and rerun the disk verification but to no avail. I also booted using CMD-S, advised by an older post in another forum which suggested using 'fsck -yf' which ran and stated that the disk had been repaired.
    I bought the MacBook second hand from an Apple dealer but it didn't come with an install disc so I am unable to reboot and repair the disk like that.
    My questions, therefore, are what does this mean for my computer in the future, will either of these issues cause me more trouble?
    What can I do about it without the install disc
    And are these issues directly related to the crashes? (I have been running the computer connected to an external drive and monitor - for watching movies)
    Thanks in advance for any help you can offer!
    Twitch

    Not much you can do without an install disc which can be purchased from Apple Store >  Mac OS X 10.6 Snow Leopard - Apple Store (U.S.)
    multi-language dialogue appears
    That is referred to as a kernel panic. OS X: About kernel panics
    Regardless of the kernel panics, you will still need the install disc to repair and reinstall OS X if necessary.
    And are these issues directly related to the crashes? (I have been running the computer connected to an external drive and monitor - for watching movies)
    Could be part of the problem.

  • Disk Utility: Invalid Directory Item Count

    I have noticed a minor problem with my Mac Pro when restarting. Sometimes it will fail to restart correctly and simply displays the grey screen (but not the apple icon). Usually powering down the Mac Pro will get it to start up correctly. Not ideal, but manageable.
    I ran Disk Utility earlier to check what may be causing this issue and was given the following after Verifying Disk:
    Verifying volume “Macintosh HD”
    Checking file systemPerforming live verification.
    Checking Journaled HFS Plus volume.
    Checking extents overflow file.
    Checking catalog file.
    Checking multi-linked files.
    Checking catalog hierarchy.
    Invalid directory item count
    (It should be 33 instead of 32)
    Checking extended attributes file.
    Checking volume bitmap.
    Checking volume information.
    The volume Macintosh HD was found corrupt and needs to be repaired.
    Error: This disk needs to be repaired using the Recovery HD. Restart your computer, holding down the Command key and the R key until you see the Apple logo. When the Mac OS X Utilities window appears, choose Disk Utility.
    If I restart and launch Recovery HD will I lose any data or mess things up? The machine works perfectly fine once booted and I was none the wiser to this error until I ran disk utility. The timing is unfortunate as I have just ordered a replacement drive for Time Machine due to an unrelated external hard drive error, so I don't have a recent backup which is a bit unnerving.
    I want to run Recovery HD but I'm worried its going to cause a problem on an otherwise fully operational machine. I don't want to create an issue unless there is one (especially when I dont have a secure backup for a few more days). I also have Disk Warrior which has been fantastic in the past, but I cannot use it on the Mackintosh HD as it wont allow rebuilding of the startup disc.
    So my question is:  Should I run recovery HD now or just wait until I have a secure backup just in case it screws up? Is it possible Recovery HD may "create" a problem for me on my machine which runs and operates perfectly (minus the restart problem).

    I went into Recovery HD and ran Disk Utility. It verified and repaired the permissions without any data loss or problems. As a bonus the boot problem seems to have been recitifed.

  • Invalid directory item count

    Hi all
    I have a 2008 model iMac running Snow Leopard 10.6.4.
    After installing the most recent security update this weekend, the machine rebooted and hung on start up (it was stuck on the circular activity indicator / gray screen for well over an hour). In the end I killed the power and restarted. The machine came up straight away.
    I verified the disk using Disk Utility and it reported errors. So I rebooted into single user and ran fsck -fy, which fixed a whole bunch of stuff. Booted the machine and ran Disk Utility again, and it still reported errors!
    Back into single user and fsck -fy the disk until it reports no changes twice in a row. Start the machine and run Disk Utility and again it reports a problem!
    So now I am stuck in a loop:
    - Boot in single user
    - Run fsck -fy
    - fsck reports that 'Invalid directory item count' error and corrects it
    - Boot the machine
    - Run Disk Utility, the 'Invalid directory item count' has returned
    - Back to single user and it starts again
    Can anyone advise on this? Do I need to worry about that message? It's the same error every time - and every time I fix it in single user and it's back by the time the machine boots. Do I just need to go out and buy DiskWarrior? I'd rather not - on the surface there's nothing wrong with the machine and I never would've known if I hadn't run Disk Utility after that hang.
    Thanks in advance for any help

    Thank you for the reply.
    SMART validates as 'OK'.
    I will try the hardware test. The OEM hard disk that came with this machine failed last year and the hardware test identified that before it finally died. However that had a lot of problems leading up to it - the machine would hang and was often very slow - checking Console showed a lot of I/O errors. Fortunately nothing like that is happening this time.
    Hopefully this disk is OK. Thanks again.

  • How to boot from a repairing disk error? Windows 8.1

    Hello, 
    I installed the iCloud yesterday for my iPhone 5s, and then a box popped up saying to restart and so I clicked OK as you do as i needed
    to restart my PC anyway. So it restarted and went into Automatic Repair and now every time i start my computer it goes into this and then goes to a black screen, i need my computer for school and exams so need this sorted pretty quickly. i have read that it
    is a common problem, but i can't seem to get F8 up the only think i can do is go into my motherboard settings and from there i can boot it form my SSD where the boot file is but this just tries to load it and goes to Automatic Repair. i can't get Microsoft
    to help me as i need product identification number which can only be found when you have booted up the computer. Idiots !!!! Please can some one find me a step-by-step guide as I need this sorted quickly as i am in the middle of my exams. Thank you. Zach.

    Hi,
    Apologize for the late reply.
    Do we have a Windows repair disk available? If yes, we may consider to take a system restore from there. We could contact the manufacturer to get a repair disk.
    a) After you boot your computer using Windows DVD or System Repair Disc, a black screen appears with gray text "Press any key to boot from CD or DVD". Press any key.
    b) Select the correct time and Keyboard type.
    c) Click Repair your computer in the lower left corner.
    d) Select Troubleshoot from Choose an option screen.
    e) Click Advanced options in Troubleshoot screen.
    f) Select System Restore.
    ======
    Or take a try to do a selective boot up with bios:
    get cmd to open and check
    bootrec /fixMBR
    bootrec /Fixboot
    bootrec /rebuildBCD
    and also
    chkdsk /r c:
    chkdsk /r d:
    chkdsk /r e:
    chkdsk /r f:
    Hope this may help
    Best regards
    Michael Shao
    TechNet Community Support

  • How to recover from a repair DVD?

    I created my repair disk on DVD about 6 months ago, without the image, just the repair disk. This is a 2-year old HP desktop Pavillion.
    Now I have a brand new drive WD 500GB (original was Seagate 500GB, both SATA) and the repair disk does not work with it. I formatted the new drive using the same desktop from the command prompt using the command Format C:, one NTFS volume 500GB. The repair disk loads fine but none of the options get me to recovery. When I go to the Recovery Manager, all the options are not enabled, and no way to select the recovery options.
    What is the problem?

    The problem is you needed to create a set of about 3 HP recovery DVD's when you first got your computer. If you still have the original hard drive and it functions properly and you didn't erase or format it, than you could reinstall it and make a set of recovery discs. If it was broke, erased/formatted, or you got rid of it... you will need to order a set of discs from HP.
    Frank
    Frank
    {------------ Please click the "White Kudos" Thumbs Up to say THANKS for helping.
    Please click the "Accept As Solution" on my post, if my assistance has solved your issue. ------------V
    This is a user supported forum. I am a volunteer and I don't work for HP.
    HP 15t-j100 (on loan from HP)
    HP 13 Split x2 (on loan from HP)
    HP Slate8 Pro (on loan from HP)
    HP a1632x - Windows 7, 4GB RAM, AMD Radeon HD 6450
    HP p6130y - Windows 7, 8GB RAM, AMD Radeon HD 6450
    HP p6320y - Windows 7, 8GB RAM, NVIDIA GT 240
    HP p7-1026 - Windows 7, 6GB RAM, AMD Radeon HD 6450
    HP p6787c - Windows 7, 8GB RAM, NVIDIA GT 240

  • How to restart from disk when Diskwarrior 4.2 wont quit and the option

    I routinely defragmented my Mac Pro after setting the startup disk to Diskwarrior, now it won't quit and keeps rebooting. I cannot fint the eject hole on the disk platter so am stuck with it in mys machine. Have tried rebooting using Pram reset, option, shiftand the eject keys.
    Are there any other keys that cancel the startup disk options and reset back to my boot disk?

    I routinely defragmented my Mac Pro after setting the startup disk to Diskwarrior...
    Disk Warrior doesn't defragment drives. Please don't waste any more time on this pointless action, which will either have no effect at all (apart from hours of lost productivity) or will cause problems like the one you have now.
    Restart and hold down the mouse or trackpad button until the disc ejects. You might need to use a wired mouse to do this. If it doesn't work, the disc is physically stuck in the drive.

  • I cannot activate LR5 and find 2 hosts file in html. not sure how to proceed from now

    i cannot activate lr5
    Contacted help desk and found the info on the site but i ma supposed to copy the hosts file and remove reference to adobe activation. issue is that i see two host file but in html format. how am i supposed to do this? sorry, am not a techy.

    What operating system are you on?
    Win: - How can I reset the Hosts file back to the default?
    Mac: - restore orginal host file | Apple Support Communities
    Or get in contact with the support of the Operating system and ask them to guide on getting the Host file restored.
    It is a System Related file, they should be able to assist you in restoring it to default.

  • Ok i have figued out how to email from Iphone to a regular phone like this

    you can add the [email protected] it would look like this [email protected] the question I have because the Iphone does not have a way to lower the resolutions and use less kb for a picture. I can email a picture to another phone the kb is arround 900k or so with the unlimited picture text the max is I think 600k what is att going to charge the person that received that file from an Iphone? Does anyone know? I dont want to cause friend a big bill just to send them picture.
    for other cariers here is the information
    Alltel = [email protected]
    AT&T = [email protected]
    Cingular (AT&T) = [email protected]
    Einstein PCS = [email protected]
    T-Mobile = [email protected]
    US Cellular = [email protected]
    Verizon Wireless = [email protected]

    You should send Feedback to Apple.
    They're not here.
    I cannot replicate that on my Mini.

  • How to associate both a collection and one item of this collection to an entity

    I'm working on a project in which I have an entity, we may call Users and another entity
    Address.
    I want to define the entity User in a way that an user would have a collection of addresses (typically a One-To-Many relationship), but I also need an attribute of user, let it be
    main_address that would target a single value of the previous collection.
    I would like to know if there is a conventional of doing this. The only solution I have now is to create another One-to-One relationship between
    Users . main_address and Address but this does not insure that the
    main_address will actually be part of the User . addresses collection.
    I don't know if it could be important, because it's a rather theoretical question, but I'm using Doctrine 2.

    Add a field main_address_id in the User entity or table that holds the ID of the Address record that is the main one. Make that a one to one relationship, if you like.
    The only solution I have now is to create another One-to-One relationship between
    Users.main_address and Address but this does not insure that the
    main_address will actually be part of the User.addresses collection.
    Quite right. You need another mechanism that insures that. You can either validate that in your business logic, or use a stored procedure or trigger on the RDBMS during creation or editing of
    User that enforces this restriction.
    Doctrine might have a "business rules" module that you can use. The point is that the additional restriction you are imposing on
    main_address_id doesn't have anything to do with your database schema, per se. It's a business rule, basically.

  • Invalid Directory

    I am receiving the following error after receivng countless ones telling me my drive was corrupted and needed to be repaired after upgrading to Mountain Lion.  I rebooted in safe mode and it now gives me this error when verifying my disk:
    Invalid Directory Item Count
    (it should be 929 instead of 930)
    The disk was found corrupt and needs to be repaired.
    Anyone know of a fix for this if so thanks in advance for your assistance.

    Bootup holding CMD+r, or the Option/alt key to boot from the Restore partition & use Disk Utility from there to Repair the Disk, then Repair Permissions.

  • Error: This disk needs to be repaired using the Recovery HD.  When I boot on Recovery and run verify disk, the error doesn't come anymore. Just when I run verify disk on normal mode. Anybody has seen this before?

    My Macbook Pro (Retina, 13-inch, Early 2013) has been freezing out of the blue probably once every two months. I restarted on safe mode, went to Disk Utility, repaired permissions and ran "Verify Disk" and got  the following:
    Invalid directory item count(It should be 114483 instead of 114484)
    File system check exit code is 8.
    Error: This disk needs to be repaired using the Recovery HD. Restart your computer, holding down the Command key and the R key until you see the Apple logo. When the OS X Utilities window appears, choose Disk Utility.
    Rebooted on Recovery mode and ran "Verify Disk" but the message didn't appear anymore, thus not letting me to access the "Recovery HD" procedure.
    When I restart normally and do the disk verification I get the same error.
    Has anybody come to something similar?
    Suggestions?

    I never  ever run a Verify Disk. I simple repair the disk drive and then the user partition(s).
    And do one or two Safe Boots.
    Also helpful to have two full backups: TimeMachine at least, plus a clone of your system drive and data.
    Install or clone the system to an external hard drive, repair that and then boot from it, check that everything works, repair the internal drive.
    You need to use Repair to TRIM an SSD.
    Lots of problems with Yosemite when updating install a new OS. Always better to backup, erase, install, and then use Setup Assistant to import and restore settings and files.
    Probably better to post in the MacBook Pro forum or better yet, in Yosemite forum.

  • HT201328 Bell unlocked my phone for me. their next step was for me to connect my iPhone to itunes. I downloaded iTunes and am now stuck about how to proceed. HELP!

    Bell's next step was for me to connect to iTunes. I downloaded iTunes and can't figure out how to proceed from there. The basic info in the Apple site for "unlocking" only addresses a SIM card that doesn't work. My SIM card is correct. How do I go on from here? Thanks,

    Bell should have given you instructions, but in case they did not here is what you do:
    Put a Bell SIM in the phone. It does not have to be a currently active SIM, but it must have worked on Bell at some time in the past.
    Connect the phone to your computer with the USB cable.
    It should appear in iTunes. Click on its name.
    Click the Backup button.
    Click the Restore iPhone button. When prompted to restore the backup choose that option.
    The phone will reload iOS. If your current iOS version is not 7.0.4 it will update to this first. If that happens when the update finishes click Restore iPhone again.
    If the process succeeds you should see the message: "Congratulations. Your iPhone is unlocked". If you don't get this message wait a couple of days and repeat the whole process again.
    Note: to unlock the phone you do not have to Restore as New. Restoring and reloading the backup will work also.

  • How to monitor on disk i/o on healthcheck and awr report on biweekly health

    can you explain how to monitor from disk i/o and awr report from old snap shot to new snap shot
    how to check and analyze .,,,,,,,,,,,,,,,,,,,,,can any one tell few points which we can **regularly maintain for health check**
    thanks in advance
    SQL> SELECT group_number ,disk_number ,mount_status ,total_mb/1024 ,free_mb/1024
    2 ,reads, (bytes_read / (1024*1024*1024)) mb_read ,read_errs ,read_time,writes
    3 ,write_errs ,write_time FROM v$asm_disk;
    GROUP_NUMBER DISK_NUMBER MOUNT_S TOTAL_MB/1024 FREE_MB/1024 READS
    MB_READ READ_ERRS READ_TIME WRITES WRITE_ERRS WRITE_TIME
    2 0 OPENED 199.989258 0 13697147
    402.589765 0 44542.38 4358669 0 8883.86
    2 1 OPENED 199.989258 0 13653653
    405.503195 0 46014.33 4805783 0 11138.13
    2 2 OPENED 199.989258 0 15272350
    415.620874 0 45524.7 4571038 0 9806.01
    GROUP_NUMBER DISK_NUMBER MOUNT_S TOTAL_MB/1024 FREE_MB/1024 READS
    MB_READ READ_ERRS READ_TIME WRITES WRITE_ERRS WRITE_TIME
    2 3 OPENED 199.989258 0 22713630
    533.380945 0 48105.68 4692729 0 9994.31
    2 4 OPENED 199.99707 0 23986390
    547.804756 0 57601.79 5788565 0 11073.44
    1 0 OPENED 199.989258 0 310810
    47.4352741 0 9652.12 1877994 0 3490.5
    GROUP_NUMBER DISK_NUMBER MOUNT_S TOTAL_MB/1024 FREE_MB/1024 READS
    MB_READ READ_ERRS READ_TIME WRITES WRITE_ERRS WRITE_TIME
    1 1 OPENED 199.99707 0 137665
    44.7837362 0 9155.21 751099 0 3092.96
    1 2 OPENED 199.99707 0 139561
    44.7904587 0 9424.26 753116 0 2858.23
    1 3 OPENED 199.99707 0 141139
    44.7718539 0 9506.27 802414 0 2768.22
    9 rows selected.
    can you please tell me how to monitor on disk i/os which is as shown above and
    please tell me AWR report to analyze some basic points for health check
    please give some details for health check of database.
    thanks in advance

    Hi;
    What is DB version?
    Please check below doc:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28275/tdppt_degrade.htm#CACGCJDC
    Also see:
    What is AWR( Automatic workload repository ) and How to generate the AWR report? [ID 748642.1]
    How To Understand AWR Report / Statspack Report [ID 842884.1]
    Regard
    Helios

  • Need to reduce tablespace physical size -unsure how to proceed

    Hello everyone,
    my problem is that I am running out of disc space and I noticed that my dbf files are crazy big, so naturally, I am looking to reduce them.
    However, I am not a DBA and I am unsure how to proceed, maybe someone here can give me a pointer to more info or maybe even has the right command for me.
    My dbf files are in C:\app\Fargo\oradata\orcl
    I am running Oracle 11g locally on my computer (research project).
    I have the following files
    CONTROL01.CTL --- 11,536 KB
    CONTROL02.CTL --- 11,536 KB
    CONTROL03.CTL --- 11,536 KB
    EXAMPLE01.DBF --- 102,408 KB
    LIDAR_DATA2.DBF --- 11,517,960 KB
    LIDAR_PROJECT.DBF --- 33,554,424 KB
    LIDAR_TEMP.DBF ---3,408,904 KB
    REDO01.TXT --- 51,201 KB
    REDO02.TXT --- 51,201 KB
    REDO03.TXT --- 51,201 KB
    SYSAUX01.DBF --- 22,472,392 KB
    SYSTEM01.DBF --- 716,808 KB
    TEMP01.DBF --- 550,920 KB
    TEMP_2.DBF --- 819,208 KB
    UNDOTBS01.DBF --- 33,554,424 KB
    USERS01.DBF --- 5,128 KB
    My main tablespace that I use is called LIDAR_PROJECT and has the files lidar_project.dbf and lidar_data2.dbf.
    I found the following command online:
    SQL> select file_name, hwm, blocks total_blocks, blocks-hwm+1 shrinkage_possible
    2 from dba_data_files a,
    3 (select file_id, max(block_id+blocks) hwm
    4 from dba_extents group by file_id ) b
    5 where a.file_id = b.file_id;
    FILE_NAME
    HWM TOTAL_BLOCKS SHRINKAGE_POSSIBLE
    C:\APP\FARGO\ORADATA\ORCL\SYSTEM01.DBF
    89113 89600 488
    C:\APP\FARGO\ORADATA\ORCL\LIDAR_PROJECT.DBF
    4194185 4194302 118
    C:\APP\FARGO\ORADATA\ORCL\SYSAUX01.DBF
    2705801 2809048 103248
    FILE_NAME
    HWM TOTAL_BLOCKS SHRINKAGE_POSSIBLE
    C:\APP\FARGO\ORADATA\ORCL\EXAMPLE01.DBF
    10249 12800 2552
    C:\APP\FARGO\ORADATA\ORCL\USERS01.DBF
    393 640 248
    C:\APP\FARGO\ORADATA\ORCL\LIDAR_DATA2.DBF
    1438729 1439744 1016
    FILE_NAME
    HWM TOTAL_BLOCKS SHRINKAGE_POSSIBLE
    C:\APP\FARGO\ORADATA\ORCL\UNDOTBS01.DBF
    3484121 4194302 710182
    7 rows selected.
    I am unsure how to proceed from this in order to reduce the file size.
    My block size is
    SQL> show parameter db_block_size
    NAME TYPE VALUE
    db_block_size integer 8192
    I would really appreciate help!!!!!
    Cheers,
    F.

    The UNDO tablespace is 33G, I think you can reduce it by creating a new UNDO tablespace and dropping the old one.
    for example,
    CREATE UNDO TABLESPACE undotbs2 DATAFILE 'C:\APP\FARGO\ORADATA\ORCL\UNDOTBS02.DBF' SIZE 500M AUTOEXTEND ON;
    ALTER SYSTEM SET undo_tablespace = undotbs2;
    DROP TABLESPACE undotbs1 INCLUDING CONTENTS AND DATAFILES;

Maybe you are looking for

  • HT4007 printing a light table on larger formate printers

    printing light table layout to large formate printers

  • "You have been signed out" Immediately after CC login

    Every time I try to login to the Creative Cloud app I immediately get to a screen that just says You've Been Signed Out, Please login to continue. Then you click Sign In and try to sign in again and get the exact same message. Tried restarting, etc.

  • OSX 10.5.6

    I recently got a hold of a iMac G5 with 10.4 on it. Now I have an install DVD with 10.5.6 that came with my Mac Mini 09 Intel. Can I still load this DVD on my G5?

  • Widening Reference Conversion

    5.1.4 Widening Reference Conversions From any array type to type Cloneable. From any array type to type java.io.Serializable Why does the following code fail when trying to convert array as mentioned above?      String[] arr1 = new String[] { "hello"

  • CUPC 8.0.3 busy status doesn't change to offline on OS (windows) shutdown

    Hi, We found the following problem with CUPC8.0.3. When you set the status to 'busy' or 'do not disturb' and you shut down or restart windows (without closing the CUPC program manually) the status doesn't change to offline (from the perspective of ot