beautypg.com

Apple Mac OS X Server (Version 10.6 Snow Leopard) User Manual

Page 98

background image

5

Drag the disks to the window.

6

Follow the instructions in the window to set parameters.

7

Click Create.

You can find instructions for partitioning the hard disk into multiple volumes, creating
a RAID set, and erasing the target disk or partition by viewing Disk Utility Help. To view
Disk Utility Help, open Disk Utility on another Mac computer with Mac OS X v10.6 and
choose Help > Disk Utility Help.

From the command line
You can use the diskutil command-line tool to create a RAID set. Normally, you would
use a remote shell (SSH) to log in to the newly started computer to use this method.

You can use

diskutil

to can create a RAID volume that is Mac OS Extended format,

Mac OS Extended (Journaled) format, Mac OS Extended format (Case-Sensitive) format,
Mac OS Extended (Journaled, Case-Sensitive) format, or MS-DOS FAT format. However
keep in mind the following:

You cannot create a RAID from the startup disk.

Â

When creating RAID sets or adding disks, specify the entire disk instead of a

Â

partition on that disk.
All potentially destructive diskutil operations must be done with superuser or root

Â

privileges.

For complete command syntax for diskutil, consult the tool’s man page.

Use command-line arguments that apply to your specific needs. The following
command is a sample, which creates a single mirrored RAID set (RAID 1) from the first
two disks installed in the computer (disk0 and disk1), with the resulting RAID volume
called MirrorData.

The basic syntax is:

diskutil createRAID mirror setName format device device ...

So the command is:

diskutil createRAID mirror MirrorData JournaledHFS+ disk0 disk1

98

Chapter 5

Installation and Deployment