Spotlight looking for folder/file on Mac Mini Server (from other iMac)

Discussion in 'Mac mini' started by fa.ce, Jan 23, 2013.

  1. fa.ce macrumors 6502

    Joined:
    Oct 8, 2006
    #1
    I've a shared folder on a Mac Mini Server.
    I'd like to enable spotlight on other iMac to search for that folder (and subfolders/files).
    Is it possible ?
    I'm trying it with no success !
    Thanks
     
  2. ConCat macrumors 6502a

    ConCat

    Joined:
    Jul 27, 2012
    Location:
    In an ethereal plane of existence.
    #2
    Doesn't seem to be possible. The next best thing however is to create a disk image on a remote server, mount it, then tell Spotlight to index the mounted disk image. Just be sure to keep anything you want indexed on that disk image. It wont index it by default though so you'll have to use this command:

    Code:
    mdutil -V /Volumes/DiskImageDiskName -i on
    Replace "DiskImageDiskName" with the name of the disk image in the Finder and it should work.
     
  3. fa.ce thread starter macrumors 6502

    Joined:
    Oct 8, 2006
    #3
    But if the server will be down i need to reopen manually the disk image.
    It seems really odd that a simple search with spotlight is not possible.
    Apple states that the new OS X Server has that functionality but frankly i cannot find it.
     
  4. ConCat macrumors 6502a

    ConCat

    Joined:
    Jul 27, 2012
    Location:
    In an ethereal plane of existence.
    #4
    Well, if you can somehow manage to convince mdutil to index a network drive let me know, but it seems reluctant. This is an AFP share too.
     
  5. fa.ce thread starter macrumors 6502

    Joined:
    Oct 8, 2006
  6. fa.ce thread starter macrumors 6502

    Joined:
    Oct 8, 2006
    #6
    sudo mdutil -i on /Volumes/Name_of_shared_volume

    I receive that error:
    Error: unable to perform operation. (-403)
    Server search enabled.

    Why ?
     
  7. fa.ce thread starter macrumors 6502

    Joined:
    Oct 8, 2006

Share This Page