Spotlight indexing shows up stuck, what can I do?
My Spotlight index obtained damaged, stopping me from looking messages in Mail.app. I included my HD to Spotlight's personal privacy checklist to delete the index. I after that eliminated it from the personal privacy checklist so Spotlight would certainly reindex the drive from square one.
I have actually done this prior to without actual trouble.
Nonetheless, this moment Spotlight seems stuck. It's been "Estimating indexing time" for around 6 hrs currently.
What can/should I do?
You can attempt to momentarily disable Spotlight, eliminating its documents and afterwards reenabling it.
The procedure to do this entails implementing Terminal commands, so please listen and also three-way check each action.
Open a Terminal.app (/ Applications/Utilities/Terminal. application ) and also type :
cd /Volumes ls -l
Check out the result of that, one need to be your "damaged" Volume. As soon as you have it recognized, wage these actions, done in the Terminal. The very first time you execute a command, your password might be called for, this is regular.
The result might resemble :
lrwxr-xr-x 1 root admin 1 Sep 2 12:23 MacintoshHD -> /
So the name you're after is "MacintoshHD".
Tip Number One : Disable Spotlight for your Drive.
sudo mdutil -i off "/Volumes/the_name_you_have_identified_before"
Tip Number Two : Remove the indexes from the Drive.
sudo mdutil -E "/Volumes/the_name_you_have_identified_before"
Tip Number Three : Eliminate all Spotlight Files from the Drive. (2 commands )
cd "/Volumes/the_name_you_have_identified_before" sudo rm -fr .Spotlight-V100
Take care with the last command, see to it you type it specifically as it shows up.
Tip Number Four : Re-enable spotlight in the Drive.
sudo mdutil -i on "/Volumes/the_name_you_have_identified_before"
Currently this need to cause a Spotlight full re-indexing. You need to be exceptionally patient with it. Spotlight occasionally seems iced up yet it's actually indexing. It's ideal to leave it over night and also hold your horses.