jzrobbie
asked on
Mac OSX can't search on smb via finder
OSX version 10.9.5 or 10.10.5
wndows version : windows 2008 R2
Shared folder path: smb://server01/sharedFolde r
When I open the smb shared folder and type in a file name"search01". finder shows "Searching "search01"" and stay there forever.
Is it a mis-conifguration issue or OSX doesn't support smb indexing?
Thank You
wndows version : windows 2008 R2
Shared folder path: smb://server01/sharedFolde
When I open the smb shared folder and type in a file name"search01". finder shows "Searching "search01"" and stay there forever.
Is it a mis-conifguration issue or OSX doesn't support smb indexing?
Thank You
ASKER
@nappy_d,
Tried the command without luck. ran it as root
Tried the command without luck. ran it as root
test-001:~ root# mdutil /Volumes/media/ -s
/Volumes/media:
Indexing and searching disabled.
test-001:~ root# mdutil /Volumes/media/ -i on
/Volumes/media:
Indexing and searching disabled.
test-001:~ root# mdutil /Volumes/media/ -s
/Volumes/media:
Indexing and searching disabled.
Did you turn indexing using this command?
- mdutil /Volumes/name -i on
ASKER
yes, you can see the result from my previous post
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Why are you running this command as root?
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
There is a free search utility called "EasyFind", it does not user searchlight. I use it, but not on SMB shares.
You can also go to the command line and use the unix find command.
find /Volumes/SMB_Share_Folder -name "search01"
This will take a little while if your folder has a lot of files.
If you want a spotlight type search speed on the command line and always remain connected to your SMB share, you can enable locate.
sudo launchctl load -w /System/Library/LaunchDaem ons/com.ap ple.locate .plist
Once everything is indexed, you just use:
locate "search01"
Is your SMB share permanently connected? I don't believe that Spotlight will work well if you are not always connected to the share. Differences that may have appeared in between mounts will not show up until it is re-indexed. That goes for the command line locate as well.
find /Volumes/SMB_Share_Folder -name "search01"
This will take a little while if your folder has a lot of files.
If you want a spotlight type search speed on the command line and always remain connected to your SMB share, you can enable locate.
sudo launchctl load -w /System/Library/LaunchDaem
Once everything is indexed, you just use:
locate "search01"
Is your SMB share permanently connected? I don't believe that Spotlight will work well if you are not always connected to the share. Differences that may have appeared in between mounts will not show up until it is re-indexed. That goes for the command line locate as well.
ASKER
Thank you guys, I manged to turn on index on the smb drive.
but the index function is really unstable. it works for a while and then stopped working.
I also checked the window server index function is turned on.
"Easy find" is a great app and much faster.
But this mac user 's part daily work is to upload stuff from the smb drive by searching the name to a website.
I will try to upgrade the osx to 10.11 that maybe able to fix this issue.
but the index function is really unstable. it works for a while and then stopped working.
I also checked the window server index function is turned on.
"Easy find" is a great app and much faster.
But this mac user 's part daily work is to upload stuff from the smb drive by searching the name to a website.
I will try to upgrade the osx to 10.11 that maybe able to fix this issue.
Open in new window