Why am I getting an error "No Index" when I try to CREATE a spotlight index with mdutil? I'm trying to create a spolight index of a directory on a shared drive (a corporate Windows active directory drive) using mdutil following the simple guide here. Here's an example of my syntax:

mdutil "/Volumes/volName/Directory/Directory Containing Spaces/Another Directory" -i on


The error message I get confuses me:


  Error: invalid operation.     
  
  No index.


I know there's no index, I'm running this command in order to create one. 

How am I getting a "no index" error on a command that should create an index? Is there some step I'm missing?
Indexing can be enabled or disabled only on the root of the drive, so, "/Volumes/volName". You can read more about the command by typing man mdutil into the terminal. An excerpt:


  -i on | off:
  Sets the indexing status for the provided volumes to on or off.  Note that indexing may be delayed due to low disk space or other conditions.


Also, indexing won't work on a drive mounted with SMB. You will have to use AFP in order to do so.