Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

crizyal

macrumors newbie
Original poster
I upgraded my late 2009 MBP to lion last week and had a bit of trouble until i decided to do a clean install. The clean install seamed to clear up most if not all the problems I was seeing. Today I woke my MBP up from sleep and it was frozen and needed a cold kill by holding the power button. A message popped up saying this needed to be done (said it was a kernel panic???). After the laptop restarted I noticed right away that spotlight began to re-index. I am not sure what happened or if it is a sign of trouble to come. My MBP has NEVER crashed like that before lion. Coincidence?
 
I wonder if the index has to do with the way the Mac was restarted.

I had to shutdown my iMac via the power button. After I booted back up I noticed that spotlight was indexing. Very odd indeed.
 
I wonder if the index has to do with the way the Mac was restarted.

I had to shutdown my iMac via the power button. After I booted back up I noticed that spotlight was indexing. Very odd indeed.

Spotlight is designed to reindex every time you force a shutdown with the power button or have a kernel panic. Not sure why but it's in the code for some reason.

To stop indexing until a more convineint time you can turn off indexing for all your drives via the terminal and then start it later.

Code:
sudo mdutil -a -i off
turns it off and similarly
Code:
sudo mdutil -a i- on
turns it back on for all drives.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.