Jump to content
5 posts in this topic

Recommended Posts

I remember a while back, i read an article somewhere about how to set up spotlight to index smb/cifs shares. I have googled a lot and can't find it anywhere now. anyone remember know how you enable this? I remember it was done from the terminal, there were one or two config changes you need to make. i think it was using mdimport. reading the man pages now to see if i can figure it out. if anyone knows off the top of their head please post it!

Thanks RammJet! Enabled indexing on samba share volume. However when i tried to publish using:

mdutil -p on /Volumes/MyVolume/

 

i get: Index not published, error -1

 

Anyway, when I use mdfind from terminal it's finding stuff on this volume, but only when i specify the volume to search

 

mdfind -onlyin /Volumes/MyVolumes "some file"

 

that's good enough anyway, i'm happy with that.

 

Do you know if it's the same deal for indexing NFS shares or would there be any advantage in storing data on NFS volume as opposed to samba?

Seems when storing Mac files on NFS, any resource forks in the file are separated and: "However, when Mac clients mount over NFS, they generate ._ files as well as the normal ones."

 

I don't know if Spotlight can index NFS - don't see any reason why not since it can index Samba. But sounds like you might get occasional extra usesless files on the system, much like the .DS_Store files.

seems that spotlight is only searching samba volumes by filename and not by content. Indexing is enabled on the volume, but the failure to publish the index i mentioned may be the problem. On the site which give the instructions, it says that spotlight icon should start working, showing a spinny thing while it's indexing - this didn't happen for me.

I wonder why mdutil -p on /Volumes/share returns error....?

×
×
  • Create New...