PDA

View Full Version : Spotlight index on each reboot, how to fix?




yalag
May 27, 2012, 01:32 PM
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.



Damers
May 27, 2012, 08:06 PM
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.

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.

yalag
May 29, 2012, 09:04 PM
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.

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!

GGJstudios
May 30, 2012, 01:38 AM
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!
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 (http://support.apple.com/kb/ht2409)

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

sjinsjca
Jun 27, 2012, 10:35 AM
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.

AND IT WORKED.

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.

GGJstudios
Jun 27, 2012, 11:26 AM
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.
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 (http://forums.macrumors.com/showpost.php?p=11570070&postcount=31) and here (http://forums.macrumors.com/showpost.php?p=12029337&postcount=41). You don't need any 3rd party app to keep your Mac malware-free. Mac Virus/Malware FAQ (http://guides.macrumors.com/Mac_Virus/Malware_FAQ)