Spotlight index on each reboot, how to fix?

Discussion in 'Mac OS X Lion (10.7)' started by yalag, May 27, 2012.

  1. yalag macrumors 65816

    Nov 18, 2007
    Began a few weeks ago, each time I rebooted (from windows and back) spot light wants to reindex each time. This is painful because during index the disk is really slow. And so my mac is basically unusable for the first 15 min after each reboot.

    Any ideas how to fix? thanks.
  2. Damers macrumors regular

    Jun 2, 2010
    Is it possible spotlight is indexing your bootcamp partition? You could always go into system preferences > spotlight > privacy and add the bootcamp volume to the ignore list.
  3. yalag thread starter macrumors 65816

    Nov 18, 2007
    I turned off the spotlight for my bootcamp drive. Still the same problem?

    Please help!! It's really annoying! I can't use my mac after boot!
  4. GGJstudios macrumors Westmere


    May 16, 2008
    Try forcing a reindex and give it time to complete, which may take a few hours in some cases.

    Spotlight: How to re-index folders or volumes

    If that fails to index, enter the following command in Terminal:
    sudo mdutil -i on "/Volumes/your drive name"​
  5. sjinsjca macrumors 68020


    Oct 30, 2008
    Spotlight's insistence on re-indexing after every reboot has been driving me nuts for about six weeks. It brought my machine to its knees. Early 2010 MBP, 2.66GHz, 8GB RAM, Seagate Momentus XT 500GB drive running SD28 firmware, OS X Lion 10.7.4, no Boot Camp partition.

    I tried the terminal tricks referenced in this and other threads to reset Spotlight's index:

    Turn indexing off for /
    sudo mdutil -i off /

    Clear the metadata store for /
    sudo mdutil -E /

    Turn indexing back on for /
    sudo mdutil -i on /​

    ...No help. (Took its sweet time, too.)

    I ran Disk Utility and found some errors on my drive. Rebooted in the Recovery Partition and used Disk Utility there to fix them.

    ...No help.

    Finally I began to suspect that the issue's onset may have coincided with my installation of Sophos' free antivirus utility for the Mac in the days after the Flashback kerfuffle. Now, I'd turned off Sophos' on-access scanning after initially scanning my disk, but given others' warnings about Intego's antivirus utility, I wondered if Sophos might have been contributing to this issue somehow. So I uninstalled it (using the uninstaller app that Sophos provided), and rebooted.


    No re-indexing! No glacial performance affliction for eons after restarting!

    It's early yet, so we'll just have to see if subsequent reboots also go well. But this is the first reboot in weeks that hasn't had me gnashing my teeth in frustration.
  6. GGJstudios macrumors Westmere


    May 16, 2008
    That's another reason to avoid that app. I recommend that you avoid using Sophos, as it could actually increase your Mac's vulnerability, as described here and here. You don't need any 3rd party app to keep your Mac malware-free. Mac Virus/Malware FAQ

Share This Page