KNOWLEDGE BASE

Mac OS X Spotlight Search and Qumulo

Follow

Comments

3 comments

  • Avatar
    Konczbeno

    The fix is really helpful. But I have some other questions:

    I am having trouble to make Spotlight permanently work for network drives on both Sierra and High Sierra.

    I have a NAS (WD MyCloud, running some proprietary linux, kinda busybox) on my local network. I connect to it using AFP protocol. The given shares mounted somewhere in my home folder ~/path-to-share. I can enable Spotlight search by manually starting indexing the volume.

    sudo mkdir /private/var/db/Spotlight-V100/Volumes/
    mdutil -i on ~/path_to_mount
    

    The first line is needed since Sierra, without that, you will always get Indexing disabled. in the terminal (this is a fix a lot of people looking for). This will start mdworker, and the indexing starts. After it finishes Spotlight works as it supposed, temporarily. BUT once you unmount the share and mount it (the same way) again Spotlight stops finding anything within it.

    During indexing, a local database is built under /private/var/db/Spotlight-V100/Volumes/afp%3A. If you take look at the content of this folder, one can find further subfolders name according to user@server_name nomenclature. This would suggest, that it would recognize the server. Manually rebuilding the index with mdutil -i on E ~/path_to_mount "restarts" proper Spotlight functioning, but it can take hours with a considerably large network share, which is unmounted automatically with one single WiFi network change (I am using a portable computer).

    So the question would be how can you make Spotlight find/read/use the already existing - not corrupted - index database.

    (This is from: https://apple.stackexchange.com/questions/302468/how-to-force-spotlight-to-import-existing-index-instead-of-rebuilding-network-s)

  • Avatar
    Mandy Evans

    This is a great question and I am sorry that this article was not able to provide you with all of the information you were looking for. Unfortunately, we do not have the resources to best support your Western Digital NAS or to troubleshoot this Spotlight question with you. You would have more success contacting either Western Digital (https://support.wdc.com/) or Apple support directly for further assistance with this question. Thanks!

  • Avatar
    Konczbeno

    Ok, I understand. My question is not really hardware specific, but more OS specific. Thx.

Please sign in to leave a comment.