Indexing NAS with "mdutil -i on" with Sierra not working anymore
I used to index my NAS with the command line mdutil -i on
. Ok, I know it's not perfect, but it worked for me.
But since I updated to macOS Sierra it's not working anymore.
If I type mdutil /Volumes/name -i on
I just get the feedback Indexing disabled.
It doesn't matter if I use SMB or AFP (SMB was always working for me).
Maybe this information is helpful for a solution, if I mdutil /Volumes/name -E
I get the feedback: mdutil disabling Spotlight: /Volumes/archiv -> kMDConfigSearchLevelFSSearchOnly. Indexing disabled.
Does anyone has any solution?
According to this support page by Qumulo, there is a fix, which basically consists of the following:
To fix this issue, create the following directory as root:
sudo mkdir -p /private/var/db/Spotlight-V100/Volumes/
And then re-enable Spotlight indexing of that Volume:
sudo mdutil -i on /Volumes/name_of_your_volume
I haven't tried it myself, but I thought it's worthwile to mention it here.