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)
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)
This AD is still a solution. I have a large 4TB server. A lot of people working on it. I need to search on the fly. Leopard always search good. Lion unfortunately not. APPLE please. Why do you make NEW OS AND WASTE GOOD OLD TOOLS!
The problem we had with Spotlight on a MacOSX Server was de Font.mdimporter.
It crashes on corrupt fonts.
So we trashed the Font.mdimporter and never had any problems again with Spotlight.
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
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
Running 10.8.2 here and still having the same propblem as OP with SMB share. Given it seems to work once and a while, but rarely. Has there been an official fix from Apple?
HI Christopher
It's not broken.
Please read the very last message in this thread prior to yours. You may be facing an issue but not related to anything broken with search.
Thanks, this was such are large thread and I started from the OP and started skimming until the end.
djones9000 thanks for posting a "fix", my spotlight is working on my smb shared drives now. Hope It remains working so as to not have to "sudo mdutil -E /" often.
Unfortunately that didn't work for me. After multiple hours of spotlight rebuilding, I still can't find anything on my SMB mount through Spotlight. The SMB file system is running on Windows 7.
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
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
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 ?
It's not broken.
It *is* broken, like many other things.
I do not need to index all the network drives, but I need to search them. Like it was working in Snow Leopard - without indexing. And now it is broken.
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.
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?
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...