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)
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.
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.
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.
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.
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.
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
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.
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
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:
***
I am installing the update as I am typing this.
Let's see.
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:
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.
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.
Strange,
What protocol are you using to access the drive (AFP, SMB?)
Some people have problems with network drive, it could be related.
https://discussions.apple.com/thread/3196311?start=0&tstart=0
Nice work, we are getting closer.
Could you start indexing on this particuliar drive
for this thread
https://discussions.apple.com/thread/1573997?start=0&tstart=0
there is this command
sudo mdutil -i on /Volume/network_volume
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...
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.
@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.
EasyFind works when you have a network connnection established. Your problem is a different one: you cannot connect to begin with. This requires adjustment on your side http://support.apple.com/kb/HT4700 or adjustment on your vendors side.
Same issue here. I was hoping 10.7.2 would fix this. This is VERY inconvenient... to say the least.
You all might want to drop a line here, the official OS X Lion Feedback page:
Please request for help on the feedback page with the following Subject: "Lion CIFS search not working"
Here's the request form as macobs30 kindly suggested: http://www.apple.com/feedback/macosx.html
Let's make it as massive as possible.
hschneider wrote:
@Apple:
Pleeeassse fix this ! This is a productivity show stopper.
And you have of cause reported this issue to Apple since this is a userforum right ? 🙂
http://www.apple.com/feedback/
/Dennis
Unable to search network drives with Lion...