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

Jun 11, 2012 5:12 AM in response to Vance Jackson

Hello,

for all an information: The same problem we have got at some customers too. But in our office we've got a sbs 2008 R2 on its shared volumes we are able to search using MacOS X 10.7.4, there is no problem. At this time we don't know why, but we're still working on it to find out what are the differences between the customers and our server (all are sbs 2008 R2).

Jun 11, 2012 8:01 AM in response to Vincent Kroll

Well I actually found a solution, well my boss did, he basically added the shared drives into the spotlight privacy settings. The restarted the computer, and the removed it from the spotlight privacy tab, then restarted the computer again. Once he did that, everything started to work again. The search function was able to find all of the files on the server, however its taking some time to index, but nonetheless its a simple solution to a foolish problem.

Jun 16, 2012 8:50 AM in response to pepa_u

Sometimes I just love Apple. Running mdimport -Vp /Volumes/z, I get:


Incorrect start/end range ordering; fixing.

Incorrect start/end range ordering; fixing.

Range {0x0000, 0xFFFF} is not 1-dimensional; handling as a special case.

Range {0x0000, 0xFFFF} is not 1-dimensional; handling as a special case.

Incorrect start/end range ordering; fixing.

Incorrect start/end range ordering; fixing.

Incorrect start/end range ordering; fixing.

Incorrect start/end range ordering; fixing.

Incorrect start/end range ordering; fixing.

Incorrect start/end range ordering; fixing.

Incorrect start/end range ordering; fixing.

Incorrect start/end range ordering; fixing.

Incorrect start/end range ordering; fixing.

2012-06-16 10:49:13.886 mdimport[964:303] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSConcreteMutableData setLength:]: absurd length: 18446744073709551615, maximum size: 9223372036854775808 bytes'

*** First throw call stack:

(

0 CoreFoundation 0x00007fff97d6df56 __exceptionPreprocess + 198

1 libobjc.A.dylib 0x00007fff92000d5e objc_exception_throw + 43

2 CoreFoundation 0x00007fff97d6dd8a +[NSException raise:format:arguments:] + 106

3 CoreFoundation 0x00007fff97d6dd14 +[NSException raise:format:] + 116

4 Foundation 0x00007fff8f70d39c -[NSConcreteMutableData setLength:] + 120

5 mdimport 0x0000000107b0f741 mdimport + 55105

6 mdimport 0x0000000107b05724 mdimport + 14116

7 mdimport 0x0000000107b0a9c2 mdimport + 35266

8 libdispatch.dylib 0x00007fff91c6dc79 _dispatch_barrier_sync_f_invoke + 33

9 mdimport 0x0000000107b051cd mdimport + 12749

10 mdimport 0x0000000107b10e7c mdimport + 61052

11 mdimport 0x0000000107b10b26 mdimport + 60198

12 mdimport 0x0000000107b04359 mdimport + 9049

13 mdimport 0x0000000107b03b34 mdimport + 6964

)

terminate called throwing an exceptionAbort


Nice.

Jun 22, 2012 3:45 AM in response to pepa_u

Hi

My situation:

Xserve with Lion Server 10.7.4

15 clients (only Macs) with Mac Os 10.5.8 or 10.6.8

All users have network home folders.

After reading and trying all the different suggestion to fix the Spotlight bug, after Pepa_u suggestion the macs with mac os 10.6 are able to search into their home folders.

The strange thing is that a couple of users working from a 10.5 computer can also use spotlight correctly, other users receive the empty window - nothing found.

Any clue about where I can search to find the difference between the users who can search and the users who can't?

Obviously all the users have been created in the same way, with Workgroup Manager, the home is assigned in the standard way for everybody... the only thing I don't see anymore is the _Spotlight user when opening the Info window to check permissions.

In the next few days I will try to upgrade one of the clients from 10.5 to 10.6 and see what happens.

Anyway is a BIG problem...

Thanks to everybody

Jun 22, 2012 4:50 AM in response to gandalf1959

I finally gave something a try and it seems to stick - so far but it was not ideal. The unideal part I will explain.


Some background.

I work with a number of remote FTP servers and some local SMB SAN devices.


I connected to one of the FTP servers and disclosed every folder while in list view. I waited for all the folders to list their contents.


I restarted the mac. After a restart, I remounted the said FTP server and searched, voila things came up. I restarted again and it continues to work. Disclosing the contents appears to work fine.


Foreseeable caveat. If things are added to the FTP server, I think they won't get indexed.


Non-ideal, I have to disclose once before things get indexed and in the same vein, the Finder window provides no feedback that a search is going on, aka no spinning cog wheel in one of the corners of a Finder window, like Snow Leopard.


Not ideal.


Does anyone have the developer preview of 10.8 to see if this is fixed? I can download it myself but don't want to be testing this, if someone can volunteer this information it would be nice. Then again, this issue appears to affect only some Lion users.


Best regards

Jun 25, 2012 8:15 AM in response to Vance Jackson

On another thread discussing the same problem I found that you could install a program called EasyFind that searches any share without indexing. It works really nice, but in no way is it a fix, unless there is a way to make it "take over" all searches by Lion. I'm not a programmer, so I have no idea how to look at that. Here is the link to the program: http://www.macupdate.com/app/mac/11076/easyfind

Jun 26, 2012 1:51 AM in response to Mojo66

Update.

Both kind of clients with os 10.5 or 10.6 are not able to perform any search in their home folders.

The only way I found which is working is to make the user connect to the user's home share point. In this way the search works...

The strange thing is that the share point is on a network volume (on the server, in my situation) and is the home folder of the user, but spotlight is not searching if I select the home, but only in the corresponding share point...

Strange...

But now we can at least search in our archives...

Hope this can help

Jun 29, 2012 2:43 AM in response to gandalf1959

I think I found the answer to this issue (caveat: You may have to follow the previous steps I supplied in the last steps - my last post)


In Lion open a Finder window and navigate, as the last poster suggested, to your computer (You should see all your sharepoints)

1) to do this, use command-shift-c from the Finder

OR

2) Finder>Go>Computer


I am using list view, so just follow along.


3) Do a command-2 from the Finder to go into list view.

4) Now collapse a sharepoint or directory, this sort of tells the Finder that this is where you want to start searching from.

5) Make sure you have your Toolbar up, use command-alt-T to bring it up quickly.

6) Enter a search term

7) From "This Mac" and "Share" make sure you select Share.


Boom! It finds stuff as fast as you can say abc. It is rocket fast.


Regards

Jun 29, 2012 4:13 AM in response to LostAccount

Argg…posting again


After further testing, I ejected the remote FTP server and back to square one. I give up on this issue. This is broken, Apple needs to fix it or the Mac will look a fool in a circle of Linux and PC users.


And after all the times Tim Cook said at the latest D-Conference that he wants Apple to make the best products. They let us down on this point, I don't know why.


Sadly yours.

Jun 29, 2012 4:40 AM in response to LostAccount

This is broken, Apple needs to fix it or the Mac will look a fool in a circle of Linux and PC users.




I think the ship sailed on this one a long time ago!




And after all the times Tim Cook said at the latest D-Conference that he wants Apple to make the best products. They let us down on this point, I don't know why.


Sadly yours.


I think its the definition of "best" that is a little subjective here. Apples best it would appear to be by the reponse to this issue is to state that thier (apples) method is best, and only things using their (apples) method and thier (apples) hardware and only a select set of thier hardware at that, as not all apple hardware works for this issue, is the "best" and everyone else, the entire pc industry is plain wrong.


What really annoys about this issue is more apple thinking that putting there head in the sand and hoping users will just accept it or f off is what really gets me. As much as I like the products apple delivers (for the most part) the company I like less and less as I cant see a future out of this attitude and approach. At least not one where apple isnt an island which talks to nothing but apple.

Jun 29, 2012 2:15 PM in response to pepa_u

Dear last two posters


I feel your frustration. I am going to do something about this. I will report this on Apple bugs report page. I will send feedback on this issue and mention this article link at apple.com/feedback.


It's outrageous that Apple can't impement a simple method of trawling a few FTP and SMB directories…and I absolutely love Apple products! Used them since '87. I am as diehard as one can get but by golly Apple!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

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 Account.