Page 1 of 1
Forum

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.

Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!



MasOS - shares are ...
 
Share:
Notifications
Clear all

[Solved] MasOS - shares are unsearchable

5 Posts
2 Users
0 Reactions
691 Views
(@Anonymous)
Joined: 1 second ago
Posts: 0
Topic starter  

This is a tough one - I am mouting drives from a Synology NAS that has indexing enabled so MacOS can actually search the shares and it works fine; searches are quite fast.

But - only when I mount manually or with AutoMounter that I have used so far (but I was looking for an alternative as shares often do not automount and they also drop out and do not remount)

When I mount with ConnectMeNow - searches do not work. Nothing shows as found.

I can unmount via the app - mount manually. Search is immediate and fast. Unmount that, mount via ConnectMeNow. Nothing.

I really do like the program - it (generally - see my other topic just raised on v4 Apple Silicon) works quite fine, thanks!

But this one is a showstopper, sadly. I really hope there is an explanation that is not too hard to find.


   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2728
 

Hi Madseno42!

Well, first of all, I'm sorry to hear you're running into issues, and happy to hear you like the application.

I do have a question though, since indexing my shares never worked on my Mac, no matter how I mount my shares (Finder, Terminal, CMN etc).
So my question would be: how do you manually mount a share and get it indexed? I mean this as a serious question: since it's something I run into often as well.

Having said that: CMN mounts either with the official Apple API (which Finder would use as well), or in Commandline mode (if you set it like so, which would be the manual mount method one would use in Terminal).

I guess the best way to see if there is something different, we could comparing the "mount" output in Terminal. Maybe that could give away a hint on what may be going on.

1. Mount your share manual, as you described, and post the "mount" out here. (feel free to copy only the relevant line)
2. Unmount the share, and now mount it with Automounter, and see what the "mount" output is.
3. Unmount again, and now mount it with CMN, and see what the "mount" output is.

The output lines you're looking for:

//username@servername/pathname on /path/where/itsmounted (smbfs, nodev, nosuid, mounted by username)

 

Note:
As far as I know, indexing network shares is a little iffy since (if I recall correctly) macOS Monterey (or earlier).
You can tell Spotlight to index a volume, but for me this never worked in a reliable way. You can force Spotlight to index a drive like shown below. If this works for you, than I can maybe add this as a CMN option 😊 

Enable indexing in a share (where /Volumes/MyNASShare is the directory where the share is mounted);

sudo mdutil /Volumes/MyNASShare -i on

Please let me know if this helps as well, as it could be a helpful function to add to CMN. I'm running another test on my NAS as we speak, but it takes a while to finish indexing.


   
ReplyQuote
(@Anonymous)
Joined: 1 second ago
Posts: 0
Topic starter  

Thanks for getting back!!

Indexing is achieved via a service on Synology:
https://www.youtube.com/watch?v=TCLRp3KHV_M

Mount info:

Automounter:
//OleM@LVNas._smb._tcp.local/photo on /Volumes/photo (smbfs, nodev, nosuid, mounted by olemadsen)

Mounted manually:
//OleM@LVNas._smb._tcp.local/photo on /Volumes/photo (smbfs, nodev, nosuid, mounted by olemadsen)

ConnectMeNow (not execute auto mount but clicking the shares):
//OleM@LVNas/Photo on /Volumes/Photo (smbfs, nodev, nosuid, mounted by olemadsen)

So, there seems to be a difference.


   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2728
 

I see that the servername has been definied differently. LVNas vs LVNas._smb._tcp.local ...

Could you try the servername "LVNas._smb._tcp.local" in CMN?

Not sure where that servername came from (besides that its and SMB share over a local TCP/IP connection). 😉 
If I do a manual mount (in Finder), then only .local. is begin added (running macOS Sonoma 14.1.1).

Something like this (1st one is a normal [CNM] mount, 2nd one if a Finder mount);

//admin@192.168.22.200/MyShare on /Volumes/MyShare (smbfs, nodev, nosuid, mounted by hans)

//admin@Marvin.local./MyShare on /Volumes/MyShare (smbfs, nodev, nosuid, mounted by hans)

 

Interesting find though, would be good to know why the "._smb._tcp" is added. An initial Google search didn't give any good info (yet).
(the ".local" is very common with servers in a local network, when one uses the name of the server, but I noticed Finder actually added ".local." instead of ".local")


   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2728
 

p.s. I do not have a Synology NAS available, and it seems my QNAP doesn't support this [yet] (or I haven't look well enough yet 😎 ).


   
ReplyQuote
Share: