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)