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
Sort By: 

Jul 12, 2013 10:49 AM in response to Hans Luijten

Hans Luijten wrote:


Same here: CIFS works ...

Too bad my Mac keeps seeing my NAS as a SMB server and mounts shares as such.

Any tricks to make it always mount as CIFS?

(Automount Maker helps, but it's not as "auto" as I'd like it to be)


Here are a few tips on how to get the disks properly mounted every time.


  1. Remove any links that you might have added to your sidebar or any aliases that you may have created for your smb mounted drives.
  2. Mount the drive and add as a favorite using Finder Menu > Go > Connect to ServerUser uploaded file
  3. Access your drive and enter them once to make sure you've loaded all of the shares User uploaded file
  4. Go to Apple Menu > System Preferences > Users & Groups User uploaded file
  5. In Users & Groups: Select the Current User in the left-hand side and then click the "Login Items" button on the right side. You can drag and drop your mounted shares onto the white space and the shares will be auto mounted whenever you log into your system. User uploaded file
  6. If desired one can now add shortcuts to these mounted CIFS shares to the sidebar of Finder for easy access.
Reply

Sep 7, 2014 4:03 AM in response to miditime

Hello miditime


Thanks for the comments.


I still see command-F available for searching. In fact you should be able to even use control-shift-F to "Find by Name…". If command-F is not functioning switch to the Finder and go to the File>Find menu. It must be there. You should also note that the command-F is available as a keyboard shortcut option, as you already know. If the keyboard itself does not trigger this functionality, be sure that you are in the Finder.

User uploaded file

It is possible that the Keyboard>Shortcuts options under System Preferences are playing a role in preventing Command-F. If you never used this panel, simply click on Restore Defaults and test. If on the other hand you use the shortcuts panel, simply go through each of the options on the left side and see if you have a conflict, aka something else using Command-F and remove it. I believe if there is a conflict, two or more items defined to use the same keyboard shortcut, a warning is displayed in the lower section of the shortcuts panel.

User uploaded file


Let me know if the issue persists and whether you see the menu with command-F in place, as per the image I left at the top.


On a further note, with respect to search, I might recommend the following.

From the Finder Preferences window there is handy option, which I have set as per the image below. I personally prefer the behaviour I set but you may choose otherwise of course. When I click on command-F I like to search the Finder Window I am facing, perhaps you do too.

User uploaded file


Additionally, from the search window, you can choose "Other" and you get a lot of options to isolate your files down to specific meta data or otherwise. I thought I would throw this in.

User uploaded file


For the screenshot below I did the following.

1) I created a new folder on my desktop and titled it, Test Folder.

2) I went to the file menu and while holding control shift (search by name), I entered test folder

User uploaded file

3) Spotlight found it instantly on "This Mac"

4) If I right click over the item, a folder in this case, I can shoos to show in enclosing folder, in which case a new window showing me the contents of the desktop folder would display.

5) You should also notice that the lower part of the Finder window displays the path to the Test Folder.


All of the items I noted above are standard and should work as expected.


If you are unable to achieve this then you might have limited spotlight search significantly by accident or otherwise. Try the following steps:

1) Go to the Apple menu and choose system preferences

2) click on spotlight

3) click on the "Search Results" and be sure to turn on all those categories that interest you so that they appear in search results

4) This step is significant as it relates to a potentially damaged or corrupt spotlight index.

  • click the Privacy Tab from the same window
  • You should see an empty list. Simply drag your internal Macintosh HD drive into this window. A message may come up that reads "Are you sure you want to prevent Spotlight from searching in “Macintosh HD”?". Choose OK. If you don't see this message it might be due to the fact you are on Mac OS 10.8.x. I am on 10.9
  • Adding your Macintosh HD to the list essentially deletes a file known as the spotlight index file. It is this file that is referred to when searching, that's why it is so fast. The index file is also updated as you add and remove new files.
  • After adding the Macintosh HD to the list spotlight won't really find anything, for obvious reasons now.
  • If you now follow-up by removing Macintosh HD from the Privacy Tab, using the small + and - symbol spotlight will begin

User uploaded file



With respect to the terminal command:

That command was offered as a solution to folks who are unable to search storage volumes that are not locally connected to the computer but instead are on a network.


If issues persist, please come back to me.


I hope the images helped and I am sorry for any typos.


Alex

Reply

Sep 19, 2012 1:28 PM in response to Vance Jackson

Hello All,


It seems Apple recognized the issue: Look at this list from the new Lion (not ML) update 10.7.5.:


***

The 10.7.5 update also includes fixes that:

  • Resolve an issue where icons in Launchpad may get rearranged after a restart
  • Improve Wi-Fi reliability for iMac (Late 2009 and newer)
  • Resolve an issue using Spotlight to search an SMB server
  • Improve compatibility connecting to Active Directory servers

***


I am installing the update as I am typing this.


Let's see.

Reply

Aug 22, 2012 6:27 PM in response to UmpaEG

The command mdutil /Volumes/Shared -i on - has nothing to do with Mountain Lion

The command is actually sudo mdutil -i on /Volumes/Name of your drive here


In my case I have a drive connected to my airport extreme titled "Movies" so my command would be:

sudo mdutil -i on /Volumes/Movies


After typing the command this litte baby shows up:


User uploaded file


I can also search the drive after it's done and yes it finds things.


I tried this in Lion and Mountain Lion. The URL you quoted is about one year old.

Reply

Aug 23, 2012 7:14 PM in response to eretria

I wonder if it is already indexed?


Try the following:

In Finder:

Finder>Preferences>Advanced

When performing a search:

Searcht the Current Folder


User uploaded file


Connect to your NAS


In the Finder window displaying the content of your NAS search, don't use the spotlight icon use the Finder window to search.


User uploaded file

Reply

Aug 16, 2014 4:26 AM in response to miditime

Hi Midtime


Please try the following:


1 Make sure indexing is 'on' for the SMB, FTP or whatever remote volume by plugging this into the terminal, "sudo mdutil -i on "(path-to-smb-volume), for the part in brackets just drag and drop the remote volume into the terminal window, make sure there is a space after "on " in the preceding command I entered in quotes

2 The index is stored locally on the client's volume, the SMB/FTP server MUST remount with exactly the same name each time or it can't pair up the server with the local index.


Give it time to index, leave them overnight if you wish but give it time, this should work.


I ran this command after mounting the volumes, I only tried FTP and it solved the issue. I have yet to try SAN SMB volumes.


--I might also recommend you keep those network volumes attached to the mac in question at all times because when they get unmounted spotlight can't index them and if days go by between mounts and many changes occur on the network volume, spotlight won't account for them right away, this is obvious.


Spotlight is not trawling files on remote servers, it keeps metadata on the files so it is much more complex than a simple trawl. In terms of the slow EasyFind, you may want to read the documentation to understand how to perform a more efficient search. Your network or how busy the server is may impede the speed at which the search results come back.


I can try to help you further might you might want to leave more details.


One other thing, it helps to set Finder Preferences to search the current folder. In other words if you are facing the network volumes directory in a Finder window, this Finder preference option will search the current folder without having to do further clicks. This is my personal default choice.

User uploaded file

Reply

Aug 8, 2011 1:14 AM in response to Vance Jackson

This was the last update I got from Apple on 02 August to this issue:


I have received a response from the Engineering team regarding your concern.


Mac OS X uses Spotlight to write indexes into other disks. The drives being NTFS, means that the Mac natively does not have write access to them. The FAT32 thumb drive has a format where the Mac has write access.


Since this setup was working for you before, may I ask if there is any 3rd Party application that you used to access and Spotlight the disks?



This was my reply:


Thanks for the update.


I am experiencing this issue not just with my local NTFS drive (which I have both read and write access to), but also the SMB shares on my network and also my Windows 7 PC. I have never used a third-party product to search for files on the network prior to installing OSX Lion. On OSX Snow Leopard, network SMB share spotlight searches worked perfectly, and they stopped working immediately after the installation of Lion.


It appears that a number of other people who have recently upgraded to Lion are also experiencing the same issues, here is a link to one example of a thread that can be found on the Apple Support Communities website:


https://discussions.apple.com/thread/3194502?answerId=15823270022#15823270022


It appears that the installation of Lion has introduced a bug that prevents Spotlight from indexing network drives and that I am not the only person experiencing this issue. Please note that as I stated on our support call, I have no problems whatsoever reading or writing to the network shares, it is only the searching that is broken and returns 0 results. Based on my observation, Spotlight is not even attempting to perform the search.


Here is a grab of the local NTFS drive, as you can see I have read/write access to this disk.



No response yet, I followed up again today and will post findings...

Reply

Aug 16, 2011 11:32 PM in response to ahenket

OK, this is what I sent back today... my frustration with Apple about this bug is growing by the day. I've also had a couple of 'black screens of death' over the last couple of days. I am very disappointed with the instability of Lion compared to Snow Leopard as I thought it would introduce new features and functionality - rather it has crippling bugs that remind me of my Windows Vista experience. Anyway, let's see what happens next... will post the update when it comes through!



I do not agree with the findings that have been sent - all of my network drives have the latest firmware and simply present SMB shares to the local network.


Firstly, Snow Leopard searched the SMB network drives with no problems. What has changed in Lion to 'break' the ability to search these drives - including those presented by my Windows 7 machine that are simply shared folders that I have read/write access to?


Secondly, why would NAS suppliers be expected to support spotlight searches, in the past all you needed was the ability to read/write to the drive with Spotlight leaving its indexes in every folder that was accessed?


Finally, a simple application called Easy Find (available from the App Store) can search the drives without any problems whatsoever. I understand that Spotlight actually uses the terminal 'Find' command to search non-OSX shares - perhaps there is a bug in this command. If Easy Find works, why doesn't the most sophisticated OS ever?


If you review the conversation at: https://discussions.apple.com/thread/3194502?answerId=15823270022#15823270022 you will see that there are many others affected by this bug.


I do believe that Apple needs to address and resolve this bug - there are many people (and businesses) that need a Finder that can 'find' files when performing searches on drives that they can read and write to - it is a basic OS operation and it is inexcusable for it to not function correctly.

Reply

Aug 31, 2011 2:07 PM in response to cgameiro

@cgameiro: Different problem. Likely due to Lions changes in AFP. All non-Apple vendors use the same library that needs updating. See http://support.apple.com/kb/HT4700. Note: I have the same issue with an Iomega x2-200, and this article did not fix that for me.

If Lion did not kill my two years worth of TM-backup I would have reverted back to Snow Leopard. Life was good then, almost can't remember it anymore because Lion is truly killing me.

Reply

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.