I'm trying to turn on spotlight for my NAS drive. I have it mounted in OSX 10.8.2 as the following:

 /Volumes/Trogdor (smbfs, nodev, nosuid, mounted by soltrain)

mdutil returns the following:

mdutil -as (removed non relevent parts)
    Indexing and searching disabled.

When I try to enable it I get the following:

Noahs-MacBook-Air:~ soltrain$ mdutil -i on /Volumes/Trogdor/
                                  Indexing and searching disabled.

I've looked for a .metadata_never_index file on /Volumes/Trogdor/ but do not see any such file. I've also added/removed the volume from the privacy preferences in the spotlight pref panel with no effect. Any ideas? I'd rather not use a separate util if spotlight should be working.

3 Answers 3


Try going to System Preferences -> Spotlight -> Privacy, then adding in the share to the list not to index, then removing it again. It helped with a similar issue I had.


You need to manually enable spotlight on smb mounted volumes in Mountain Lion.

Try 'mdutil -as /Volumes/Trogdor' - you should win indexing :)

  • Gah. ignore me - sorry!
    – Huwge
    Dec 2, 2012 at 13:26
  • 5
    Did you mean to delete this answer entirely or how are we supposed to interpret the comment?
    – bmike
    Dec 2, 2012 at 13:38

try mdutil -i on /Volumes/Trogdor

  • Please see my original question for the result of this command
    – Noah Li
    Aug 2, 2013 at 9:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .