Dr. Evil Posted December 14, 2006 Share Posted December 14, 2006 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! Link to comment https://www.insanelymac.com/forum/topic/35795-spotlight-searching-smbcifs-share/ Share on other sites More sharing options...
Rammjet Posted December 14, 2006 Share Posted December 14, 2006 Instead of searching "Spotlight SMB", try searching "Spotlight Samba": http://www.macosxhints.com/article.php?sto...060328031254979 Link to comment https://www.insanelymac.com/forum/topic/35795-spotlight-searching-smbcifs-share/#findComment-254838 Share on other sites More sharing options...
Dr. Evil Posted December 14, 2006 Author Share Posted December 14, 2006 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? Link to comment https://www.insanelymac.com/forum/topic/35795-spotlight-searching-smbcifs-share/#findComment-254875 Share on other sites More sharing options...
Rammjet Posted December 14, 2006 Share Posted December 14, 2006 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. Link to comment https://www.insanelymac.com/forum/topic/35795-spotlight-searching-smbcifs-share/#findComment-254909 Share on other sites More sharing options...
Dr. Evil Posted December 14, 2006 Author Share Posted December 14, 2006 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....? Link to comment https://www.insanelymac.com/forum/topic/35795-spotlight-searching-smbcifs-share/#findComment-254920 Share on other sites More sharing options...
Recommended Posts