Ventura not Indexing Mounted Windows Network Shares

I can see the shares as mounted, but when I run the following this is what I get:

sudo mdutil -s /Volumes/Transfer/System/Volumes/Data/Volumes/Transfer:

Server search enabled.


And if I try to enable indexing this is what I get:

sudo mdutil -i on /Volumes/Transfer/System/Volumes/Data/Volumes/Transfer:

Error: unable to perform operation. (-403)

Server search enabled.


Without the indexing, search does not appear to work in Finder. What am I missing? I'm told that 'Server search enabled' mean's Indexing isn't happening. Would really like some help with this if anyone has any more

information.



I have tried the following:

1) Checked firewalls, networking, etc - No luck.

2) I added the network share to the privacy settings in Spotlight and after a few minutes removed it hoping that the network share would get re-indexed. Waited a day for indexing to finish up (Waited a day coz I don't know how to monitor the progress of indexing) - didn't work.

3) Removed the connection to the network share and added it again. Waited a day for any indexing to finish up - didn't work.

4) In the Terminal - ran the command 'sudo mdutil -i on /Volumes/*' and got an output of 'Indexing enabled' for all drives except for the network share which read:

Error: unable to perform operation: (-403)

Server search enabled.

5) Following other recommendations (https://care.qumulo.com/hc/en-us/articles/115008514788-Mac-OS-X-Spotlight-Search-and-Qumulo#verify-that-a-remote-volume-is-being-indexed-0-14), I checked the /private/var/db and the Spotlight-V100 directory doesn't exist. Not able to create this directory as the present user. Soooo I activated the root user. I'm able to create the Spotlight-V100 directory as the root user, but not able to create the 'Volumes' subdirectory in it. Tried deleting the Spotlight-V100 directory (as root) and though I created it as root I can't delete it as root (Operation not permitted). root has drwx access to all of these folders.

6) Have not attempted yet - Boot into safe mode, and login as root to delete the /private/var/db/Spotlight-V100 folder.


As well as:

1. Open Finder, then click Applications \> Utilities \> Terminal.

2. In the Terminal, type and run the command: sudo -i.

3. Enter your administrator password and press Return.

4. Continue to run the commands: mdutil -Ea and mdutil -ai off.

5. Enter the command mdutil -ai on and press Return, and you will see a message saying that indexing is enabled.

6. When you search using Spotlight, it will show that it is indexing.

MacBook Pro (2021)

Posted on Jun 22, 2023 3:28 PM

Reply

Similar questions

3 replies

Jun 23, 2023 4:38 AM in response to jfrommn1

You are following a tutorial that is ancient in macOS terms. It was still OS X when the article was written.

root has very little power in macOS. That folder doesn't have the restricted flag, so I'm not sure it is protected by SIP, but another form of rootless.

I can't tell you how to make it work, but you likely need to find current information on the topic—at least from Big Sur or later.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Ventura not Indexing Mounted Windows Network Shares

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.