Apple Mac OS X Server Network Card User Manual


 
94 Chapter 7 Working with Disks and Volumes
Controlling Spotlight Indexing
By default, indexing of volumes in Mac OS X Server is disabled. However, you can use
the mdutil tool to enable or disable indexing on any volume.
To enable indexing on a volume:
Run the mdutil tool as root and set the indexing status to on.
$ sudo mdutil -i on
volume
To disable indexing on a volume:
Run the mdutil tool as root and set the indexing status to off.
$ sudo mdutil -i off
volume
See the mdutil man page for more information.
Managing RAID Volumes
In addition to standard drive management options, diskutil has the ability to manage
software RAID volumes.
To create a RAID set:
$ diskutil createRAID
type
setName
volType
disks
To get a list of of disks available to add to a RAID set:
$ diskutil list
Similarly, you can remove a RAID set with the diskutil destroyRAID command.
To view a list of available RAID sets:
$ diskutil checkRAID
device
To create an unpaired mirrored RAID from a single file system disk:
$ diskutil enableRAID
mirror
device
Parameter Description
type
Mirror or stripe.
setName
Name of the new RAID volume.
volType
HFS, HFS+, UFS, or BootableHFS.
disks
List of device names for members of the RAID set.
Parameter Description
device
Device file.
Parameter Description
mirror
Name of the mirror RAID set.
device
Device file.