I have multiple volumes on an Infrant ReadyNAS mounted with AFP via Ethernet at startup on my iMac. Currently Spotlight does not index these volumes (running Snow Leopard).

Is there anyway to get Spotlight to index these volumes and keep the indexes fresh to speed up searching?

I'm a bit annoyed this doesn't happen out of the box as Spotlight will index mounted Firewire drives.

I have no problem working with shell scripts or applescript to make this happen, so any solution is welcome.



You can have spotlight index networked volumes using mdutil with it's -i switch (indexing).


mdutil /Volumes/ldm -i on

the only caveat is that you must do this each time you mount the drive. There are various expansions on this and workarounds to make things easier in the article linked to above.

  • Okay ran the above, got: /Volumes/webwork: Indexing enabled. - but that Volume doesn't show up as an option in search results, nor does it seem like Spotlight is indexing it. – Darren Newton Feb 1 '10 at 13:30
  • Is the spotlight icon flashing? You have to give it a while to index. Even longer than normal since it's a network volume. – John T Feb 1 '10 at 13:36
  • No, no flashing. NAS volume is mounted via AFP. Is there a Spotlight logfile anywhere I can look at? – Darren Newton Feb 1 '10 at 13:38
  • Is there a .Spotlight-V100 file at the root of the network volume? If spotlight can't write to the volume, it can't save an indexing file. – John T Feb 1 '10 at 13:48
  • I think this is only possible with HFS volumes. Running sudo mdutil -p /Volumes/webwork gave me Error: datastore publishing not implemented. – Darren Newton Feb 1 '10 at 13:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.