Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

diskless Netboot - spotlight deactivated by System Image Utility

I have created a diskless Netboot image hosted on 10.6.6 Server for 8 10.6.6 Client computers in my office. Everything works fine, except when the client computers are booted on the Netboot image, Spotlight is disabled for the startup (Netboot image) volume - all other drives (local drives) work fine with Spotlight.

The source drive that I use to create the Netboot image (using default settings in System Image Utility) has Spotlight indexing enabled. However, once the source drive is imaged by System Image Utility, the ".metadata neverindex" file is added at the root level and the ".Spotlight-V100" directory present at the source drive root is eliminated.

I am wondering if this is default behavior for Netboot? Am I wasting my time trying to get Spotlight to be active for the Netboot image?

MacPro4,1 - 2 x 2.26 GHz Xeon, Mac OS X (10.6.6), 20 GB RAM, 3 TB RAID

Posted on Jan 19, 2011 7:28 AM

Reply
3 replies

Jan 19, 2011 8:39 AM in response to TrevorP

Yes, that is the default behavior. The theory being that it's a network volume, and effectively read only, users wouldn't want the network & CPU activity of a NetBooted lab all trying to maintain an index of the same volume.

You could probably mount the NetBoot image, delete the .metadata neverindex file and force build an index on it if you like.

Jan 19, 2011 12:01 PM in response to TrevorP

I played with this this morning. It's actually pretty easy.

mount the NetBoot image
$ rm /Volumes/<the vol>/.metadata_neverindex
(I had to eject & re-mount the volume here to flush some spotlight cache)
$ mdutil -i off /Volumes/<the_vol> (shut off future indexing of the volume)
$ mdimport /Volumes/<the_vol> (force build an index on the volume)
eject the NetBoot image

diskless Netboot - spotlight deactivated by System Image Utility

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.