Mac – How to get OS X to index the Network Volumes with Spotlight

macnasosx-snow-leopardsearchspotlight

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.

Thanks!

Best Answer

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

example:

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.