Indexing A Networked Drive

Discussion in 'Mac OS X Server, Xserve, and Networking' started by ethan-1878, Dec 8, 2016.

  1. ethan-1878 macrumors member

    Joined:
    Jun 8, 2014
    #1
    Hi All,

    Not sure if this is the correct place for this post but I apologise if it's not. Nonetheless, I'm sure somebody here will have a solution for me.

    I've just set up a Synology NAS and I am trying to force spotlight to index my NAS. I have tried using the following command:

    Code:
    sudo mdutil /Volume/Volume\ Name -i on
    but terminal keeps giving me this response:

    Code:
    /Volumes/Volume Name:
    
        Indexing disabled.
    I have tried running
    Code:
    sudo mdutil /Volume/Volume\ Name -s
    to check whether it is enabled or not in case it was a strange Finder glitch but that gives the same response.

    If I try to disable indexing using
    Code:
    sudo mdutil /Volume/Volume\ Name -i off
    I get this response:

    Code:
    2016-12-08 15:04:02.923 mdutil[3240:1772539] mdutil disabling Spotlight: /Volumes/Volume Name -> kMDConfigSearchLevelFSSearchOnly
    
        Indexing disabled.
    
    Does anyone know what's going on here and why I can't enable indexing?

    Thanks in advance,

    Ethan.
     
  2. belvdr macrumors 603

    Joined:
    Aug 15, 2005
    #2
    Not sure if it matters, but the usage of the command is:

    Code:
    Usage: mdutil -pEsa -i (on|off) -d volume ...
    So, does this work?

    Code:
    mdutil -i on /Volumes/<VolName>
    It's quite possible that it won't work on network volumes, for good reason.
     
  3. ethan-1878 thread starter macrumors member

    Joined:
    Jun 8, 2014
    #3

    Nope, doesn't work. I have used this before and it's worked fine. Exactly the same set up too.
     
  4. Mufasa804 macrumors regular

    Joined:
    Mar 6, 2009
    #4
    I'm curious to see if anyone provides a fix. From my understanding, OS X will not index of networked volumes.
     
  5. ethan-1878 thread starter macrumors member

    Joined:
    Jun 8, 2014
    #5
    I don't have access to the NAS I have set up to index as it is in a secondary office which I'm no longer at full time but it did work. I could spotlight search any file on the mounted share. This was enabled under Yosemite or El Capitan though.

    Curious as to why it won't let me enable spotlight indexing under Sierra.

    Hope someone out there knows the answer to this!
     
  6. belvdr macrumors 603

    Joined:
    Aug 15, 2005
    #6
    It doesn't work on my El Capitan machine connected via SMB. I wonder if it's a protocol thing.
     
  7. ethan-1878, Dec 8, 2016
    Last edited: Dec 11, 2016

    ethan-1878 thread starter macrumors member

    Joined:
    Jun 8, 2014
    #7
    See the below article. OS X does support indexing network shares but only those mounted via AFP (I already knew this also was using AFP anyway).

    http://apple.stackexchange.com/ques...-yosemite-support-spotlight-on-network-drives
    --- Post Merged, Dec 8, 2016 ---
    Yeah, I've just posted a stack exchange thread above explaining this. I knew about that though so I use AFP anyway.

    The NAS in question are both synology DS216j's and I connect to both using AFP.
     
  8. hwojtek macrumors 65816

    hwojtek

    Joined:
    Jan 26, 2008
    Location:
    A small rural village in western Poland
    #8
    I bet it takes ages... My 8TB array hooked up to a Mini Server with FW800 (yeah, I know, should've bought an array with TB) indexed for like 3 days...
     
  9. ethan-1878 thread starter macrumors member

    Joined:
    Jun 8, 2014
    #9
    Terminal tells me that indexing is disabled even when I try to force spotlight to index the networked drive. I've also tried adding the drive to spotlight exclusions then removing it again but there's doesn't help. Spotlight doesn't even begin to index the drive.
     

Share This Page