Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Unable to search network drives with Lion...

After installing Lion, I have found I am unable to search network drives (Windows network) like I used with Snow Leopard. Any suggestions?

iMac, Mac OS X (10.7)

Posted on Jul 21, 2011 8:01 AM

Reply
504 replies

Nov 29, 2012 9:48 AM in response to Vance Jackson

Just wanted to post MY results from a couple of the solutions offered inluding EasyFind.


1 - I tried the the re-indexing terminal command and it DID start indexing after about 30-60 secs


2 - I downloaded EasyFind to compare


So, I had a shared folder named "chap" inside one of the main folders on the share


BOTH were able to find files, no problem.


However, neither was able to find the "chap" folder. Htye could only find it when I actually opened the main folder and then ran the search from the main folder.


EasyFind had the same issue as Spotlight in this case, I'm not sure why they don't search for sub-folders.


Anyway, still hoping for a solution.


running 10.7.5

searching a NAS drive share


will try to post back after searching from our other Mac running 10.6.8

Dec 16, 2012 3:24 PM in response to Vance Jackson

I had the exact same problem. Using finder/folder search on a mounted drive was not doing anything. Immediately went to "0 items". Based on some suggestions here, I tried using the following terminal command and was getting same error as others:


sudo mdutil /Volumes/MY_VOLUME -i on
Error: unable to perform operation. (-400)
Error: unknown indexing state.


I then tried adding my drive to Spotlight > Privacy list, as suggested here, but was alerted with an error saying I couldn't add the drive. This made me suspect that something was corrupt. Maybe spotlight prefs. So I deleted the prefs. This had no effect. Then I googled reseting Spotlight and came accross a solution to reset your Spotlight cache. I opened up terminal and typed: (This will cause your Spotlight to re-index everything! So it might take a while.)


sudo mdutil -E /


This solution worked and I'm now able to search all my network drives. Hope this helps others

Jan 10, 2013 12:05 PM in response to The WW1 Ace

It is a long thread - indeed. I should create a new one with just the answer and provide the link here or something.


Glad it worked.


You should find yourself rarely issuing that command.


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 volume, the SMB server MUST remount with exactly the same name each time or it can't pair up the server with the local index. In other words, if the server name changes or if it is a local SMB drive whose name you change the index won't pair up.


Hope this helps.



OK I created a new thread with just the answer … https://discussions.apple.com/thread/4693684

Feb 6, 2013 2:20 AM in response to ron App

I can't believe how long this thread has become.


I recommend people who are having trouble, just use the free app, easyfind. When I had issues with search, which I don't use much of I used it daily and it works!


Maybe the whole thing is broken, I can share an urelated issue. Mail search is completely messed up. I have to use spotlight from the upper right corner to get results - very frustrating. I won't get into it here.

Feb 22, 2013 12:48 PM in response to Vance Jackson

I have my networked drives indexed in Spotlight, and searches seem to be functioning as expected, but I am disappointed with one detail.


I have a huge collection of tagged images on the network drive, and Spotlight doesn't seem to "see" those tags, even though it can locate the image files if I type a filename (full or partial). The same files, when copied to my hard drive, are locatable using the image tags embedded in the files.


Any suggestions?

Mar 1, 2013 7:38 PM in response to Profbib

Profbib wrote:


I have my networked drives indexed in Spotlight, and searches seem to be functioning as expected...

It should be "expected" otherwise.

Now, imagine netowork drive in the office where 50 people are working on it, continuously changing and creating/deleting files.

In this situation, how anyone could imagine indexing working properly?


And, my main question is - what they were thinking, if anything at all?

Unable to search network drives with Lion...

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.