Xsan: How to set Spotlight search levels

You can change how Spotlight searches work with your Xsan.

Xsan supports two different levels of Spotlight searches:

  • ReadWrite - Searches use a full index of file system attributes and metadata from file contents. The index is kept updated as file system content changes. This is the default search level when Spotlight is enabled on Xsan volumes in Xsan 2.2 and later.
  • FsSearch - Searches against file system attributes are enabled, but no indexed searching of content is performed. This option requires metadata controllers using Mac OS X v10.6 or later and Xsan 2.2 or later.

To configure an Xsan volume to use the FsSearch search level:

  1. Locate the Xsan volume's configuration file on the metadata controllers.
  2. Using these guidelines, edit the volume configuration file's global section so that it contains these two lines:
    EnableSpotlight        Yes
    SpotlightSearchLevel   FsSearch
  3. Repeat the configuration file changes on all other metadata controllers that control the volume.
  4. Restart the volume.

If you want to revert to the default indexed search level (ReadWrite), repeat the steps listed above but change the SpotlightSearchLevel entry to:

SpotlightSearchLevel   ReadWrite

Depending on how much data is on the volume, enabling the index may require several hours while the index is built.


Last Modified:

Additional Product Support Information

Start a Discussion

in Apple Support Communities
See all questions on this article See all questions I have asked
United States (English)