Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I just upgraded to Lion on my work computer and it seems like Spotlight doesn't index SMB volumes. This used to work for me perfectly under Snow Leopard. I've talked with Apple and they said it was never a supported feature, and just worked by coincidence on 10.6. Now it's not working at all. When I run the mdutil command in the terminal it says "indexing and searching disabled."

Can indexing be enabled for SMB data on Lion?

share|improve this question
    
Even if it's not supported, the first step I'd take is to run mddiagnose and pour over the information. If it was removed, you might be out of luck, but perhaps you might uncover some hints or ideas. Sorry I don't have a better answer. –  bmike Feb 20 '12 at 23:21
add comment

5 Answers

I was able to get this working by adding the volume to Privacy section of Spotlight System Preferences, then removing said share from the same location.

I think this is how I got it working in previous versions as well.

share|improve this answer
add comment

Until Apple makes Spotlight available for network drives, the best solution is Devon technologies EasyFind. We have it installed on all our campus Macs for just this purpose. It is fast, can save search parameters, and best of all - free.

Screenshot of EasyFind window searching SMB volume over-laid with Get Info window showing SMB volume itself

share|improve this answer
add comment

Check your System Prefs>Spotlight when the volume is mounted. The SMB volume may be in the Privacy tab of the Spotlight prefs.

share|improve this answer
    
I've checked that pane, and there's nothing in there. Thanks for your response! –  Jared Aug 8 '11 at 22:54
    
You are very welcome! –  daviesgeek Aug 9 '11 at 1:39
add comment

In the Terminal, try

cd /   
rm -R .Spotlight-V100/
rm .metadata_never_index
mdutil -i on /
share|improve this answer
3  
Wouldn't you want to cd to /Volumes/SMB_problem_child to remove the stores assuming that was the issue? (or does the root volume contain stub information for all mounted volumes)? –  bmike Feb 20 '12 at 23:20
add comment

You can always try to manually work with spotlight in the volume. Take a look at this AskDifferent answer: How to remove/recreate a spotlight index.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.