
Chapter 2 Configuring the Xserve G5 PCI Hardware RAID Card 19
Using Megaraid to Create a RAID Volume
Creating a Single RAID Volume
Depending on the number of drives in your Xserve G5, you can create the following
volume configurations:
JBOD mode, the default configuration of the RAID card, presents each hard drive
connected to the card as a standalone volume. JBOD mode is only available if you do
not create a RAID volume. Once you create a RAID volume, JBOD mode is no longer
available. To return the RAID card to its default configuration in JBOD mode, use the
command megaraid -destroyconfig.
m
To automatically configure a single RAID volume with the optimum configuration and
RAID level for the number of drive modules installed in your Xserve, type:
megaraid -create auto
When issued on a two-drive configuration, the command builds a RAID 1 (mirrored)
volume. For a three-drive configuration, the command builds a RAID 5 volume.
Creating Two RAID Volumes
m
To create two RAID volumes of equal size using the same automatic configuration rules
mentioned above, type:
megaraid -auto -numld 2
Creating Multiple RAID Volumes
You can also create more advanced RAID configurations, including creating multiple
logical drives, using the megaraid -create command with specific parameters.
m
To create a RAID 5 volume 100 MB in size using all three drives, type:
megaraid -create R5 -drive 0 1 2 -size 100
If “-size” is omitted, the volume will be created using all available remaining capacity.
m
To create a RAID 1 volume 50 MB in size using the first two drives, type:
megaraid -create r1 -drive 0 1 -size 50
Drives Possible configurations
1 drive JBOD, RAID 0
2 drives JBOD, RAID 0, RAID 1
3 drives JBOD, RAID 0, RAID 1 with hot spare, RAID 5
Warning: The megaraid -destroyconfig command destroys any existing RAID
configuration and all data on the volume is lost.
Kommentare zu diesen Handbüchern