Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!

10.4: Search Samba volumes with Spotlight System 10.4
Tiger only hintI have read many different posts about how to enable Spotlight to find archives, etc., on external volumes, but I didn't find a solution to make Spotlight to search on a Samba volume. I found one post on macosxhints, but then I found this one about how to make Terminal tell Spotlight to index external volumes. However, although it says it works on Windows volumes, it did not work for me -- I was able to make Spotlight index the volume, but it didn't search on my Samba external volume.

Today I read a fantastic post titled Using Spotlight from the OS X Command line, so I figured that mixing the two solutions would work ... and it does!

If you first index the Samba volume following the steps in the first link, you can then search using Terminal and the tips in the second link.

[robg adds: I emailed the author to confirm that simply indexing the volume wasn't enough. Spotlight failed from the GUI but worked in Terminal. Many of the tips in the second link have been published here before, but I thought it worth sharing this odd 'combo' solution in the event that it helps others in similar situations.]
    •    
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[11,114 views]  

10.4: Search Samba volumes with Spotlight | 4 comments | Create New Account
Click here to return to the '10.4: Search Samba volumes with Spotlight' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
10.4: Search Samba volumes with Spotlight
Authored by: Schwie on Mon, Apr 3 2006 at 7:40AM PDT
To search Samba volumes with a graphical user interface, press Apple F to get a find window open. You can then click "servers" to search your mounted samba shares.

[ Reply to This | # ]
10.4: Search Samba volumes with Spotlight
Authored by: rhowell on Mon, Apr 3 2006 at 8:15AM PDT
Keep in mind that the OS X kernel plays no role in the final write-to-disk for any file on a mounted networked volume...the kernel on the computer that is exporting the volume has this responsibility.

Because of this, don't expect your Spotlight index on that network volume to get updated. Its only 100% accurate immediately after you force an index, and changes thereafter to any file, either by you or any other computer mounting the volume, are not accounted for.

[ Reply to This | # ]
10.4: Search Samba volumes with Spotlight
Authored by: Schwie on Tue, Apr 25 2006 at 4:02PM PDT
Do you know of anyone whose developed a shell script that will recreate the index every night, at say midnight. That way, each day you'd have a fresh index to work with.

I am also experimenting with Searchlight RSS. Its a beautiful way to get PC users hooked on the Mac. If I can get this script to work, my PC users will be future Mac-addicts...

[ Reply to This | # ]

10.4: Search Samba volumes with Spotlight
Authored by: adamprall on Sat, Sep 22 2007 at 2:37PM PDT
Has anybody noticed a fix for this in 10.4.10? I cannot make any hint related to enabling SMB/CIFS (i.e. "Samba") shares work in any way whatsoever—and I'm no newbie!! Mahalo to anyone who can reply… Thinkingman

---
Thinkingman.com New Media Hawaii

[ Reply to This | # ]