1 28 29 30 31 32 33 Previous Next 492 Replies Latest reply: Apr 7, 2014 3:20 AM by DrNicolaus Go to original post
  • 435. Re: Unable to search network drives with Lion...
    stimille Level 1 Level 1 (0 points)

    Following some advices I found on this post, I previously added some volumes in the spotlight privacy tab...so this is why terminal gave me the "Indexing and searching disabled." result.

    Now I've removed those volumes from the privacy tab and repeated the "mdutil /Volumes/_yourshare_ -i on" command and now the result is "Indexing enabled".

    In fact now the indexing seems to be working as i'm now able to search files....even if it is not flawless as before...

    hc-amis thank you very very much!


  • 436. Re: Unable to search network drives with Lion...
    WhiteMAX Level 1 Level 1 (0 points)

    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!

  • 437. Re: Unable to search network drives with Lion...
    SGrootendorst Level 1 Level 1 (0 points)

    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.

  • 438. Re: Unable to search network drives with Lion...
    Saul Herrera Level 1 Level 1 (15 points)

    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

  • 439. Re: Unable to search network drives with Lion...
    djones9000 Level 1 Level 1 (5 points)

    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

  • 440. Re: Unable to search network drives with Lion...
    KristopherW Level 1 Level 1 (0 points)

    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?

  • 441. Re: Unable to search network drives with Lion...
    LostAccount Level 1 Level 1 (80 points)

    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.

  • 442. Re: Unable to search network drives with Lion...
    KristopherW Level 1 Level 1 (0 points)

    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.

  • 443. Re: Unable to search network drives with Lion...
    The WW1 Ace Level 1 Level 1 (0 points)

    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.

  • 444. Re: Unable to search network drives with Lion...
    LostAccount Level 1 Level 1 (80 points)

    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

  • 445. Re: Unable to search network drives with Lion...
    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

  • 446. Re: Unable to search network drives with Lion...
    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 ?

  • 447. Re: Unable to search network drives with Lion...
    ron App Level 1 Level 1 (10 points)

    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.

  • 448. Re: Unable to search network drives with Lion...
    LostAccount Level 1 Level 1 (80 points)

    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.

  • 449. Re: Unable to search network drives with Lion...
    Profbib Level 1 Level 1 (0 points)

    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?