Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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!

share|improve this question

1 Answer 1

up vote 3 down vote accepted

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.

share|improve this answer
    
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

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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