Skip navigation

Unable to search network drives with OS X - short answer

2123 Views 6 Replies Latest reply: Jun 14, 2013 4:01 AM by John Lockwood RSS
LostAccount Level 1 Level 1 (80 points)
Currently Being Moderated
Jan 10, 2013 12:04 PM

This is here not as a question but rather to summarize some point on a very long thread >> https://discussions.apple.com/message/15677220#15677220

 

 

If you are facing the issue in this title

 

Keep these in mind.

 

1 - Make sure indexing is 'on' for the SMB volume:    sudo mdutil -i on (path-to-smb-volume).

2 - Since the index is stored locally on the client's local volume, the server MUST remount with exactly the same name each time or it can't pair up the server with the local index.This applies to any of the protocols that work with Mac; SMB, FTP, AFP etc. In other words, if the server name changes or if it is a localdrive whose name has changed since the last succeful spotlight index, a subsequent index won't pair up therefore you won't find things, this is expected so try to avoid changing the name of the drives or SMB server to prevent indexes from pairing up.

 

Hope this helps you avoid a long read on that thread above.

iMac, OS X Mountain Lion, iMac early 2012, 3.4Ghz i7 32GB RAM
  • Rick Fernandez1 Level 1 Level 1 (55 points)

    It is partially working for me, where before searches yielded nothing. I now can find FOLDER names on the SMB drive. However, it will not find anything by FILE names. This seems a bizarre result and I'd appreciate any useful thoughts on this.

    Thanks.

    Rick

     

    https://discussions.apple.com/message/20870567/edit

  • fadrianoc Level 1 Level 1 (35 points)

    I can see the mounted shared volume but when execute in terminal from client that command

    sudo mdutil -i on /Volumes/Name_of_shared_volume


    I receive that error:

    Error: unable to perform operation. (-403)

    Server search enabled.


    Why ? How to solve ?

  • kcncda Calculating status...

    I have tried this and get this result:

     

    Error: unable to perform operation. (-401)

        Server search enabled.

     

    Still unable to search the network drive.

     

    Setup is an Late 2006 xServe running Lion Server with Bays 2 and 3 as a RAID data drive set up as a Sharepoint.  Using a Late 2009 MBP running 10.5.8 as cleint. 

     

    Finder and Spotlight Search results in ZERO results in searching the sharepoint. 

     

    Any other suggestions? 

  • jynk Level 1 Level 1 (10 points)

    i too get this.

    Error: unable to perform operation.  (-403)

              Server search enabled.

     

     

    I always presumed the server created an index localy which connected users' spotlights picked up.

     

    Makes a lot more sense that 20 client machines having to index one volume 20 times?

  • John Lockwood Level 5 Level 5 (5,075 points)

    jynk wrote:

     

    i too get this.

    Error: unable to perform operation.  (-403)

              Server search enabled.

     

     

    I always presumed the server created an index localy which connected users' spotlights picked up.

     

    Makes a lot more sense that 20 client machines having to index one volume 20 times?

    On a Mac OS X Server this is the case, the OS X Server not only runs a process to do the indexing on the server so clients can all search the same index, but also automatically modifies the ACLs on the share to allow the server process to be able to access all the directories in order to do its indexing and for clients to be able to access the indexes.

     

    Unofrtunately no-other server platform currently has an equivalent server based Spotlight indexing tool (possible exceptions being ExtremeZ-IP and Helios from JPY). So this affects Windows Server and SAMBA in otherwords the vast majority of SMB servers.

     

    The ideal solution for most would be for the SAMBA project to add a spotlight server component, I would think this would be reasonably straight forward for them to do, whether they would be interested is a different matter.

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.