Apple Mac OS X Server Network Card User Manual


 
285
Appendix
PCI RAID Card Command
Reference
In this appendix you will find information about the megaraid
command, used for managing a PCI RAID Card.
The megaraid tool uses are described in the following table, along with parameter
explanations.
megaraid -alarm -on | -off | -silence
Turns the alarm on, off, or to silence. When the alarm is set to silence, it turns off for the current failure,
but will turn on again for the next failure.
megaraid -changepolicy
ld
[-writecache
enable
|
disable
] [-readahead
on
|
off
|
adaptive
] [-iopolicy
direct
|
cached
] [-log
file
]
Changes the policy of an existing logical drive. The parameter
ld
is the logical drive ID. This option
applies to all RAID levels; however, the policies apply only to individual logical drives.
megaraid -changestate
pd
-online | -fail [-log
file
]
Changes the state of an existing physical drive to online or fail.
megaraid -chkcon
ld
-start | -stop | -status [-log
file
]
Starts, stops, or checks the status (percentage of progress) of a consistency check for a particular
logical drive. The parameter
ld
is the logical drive ID.
megaraid -create auto [-numld
n
] [-log
file
]
Automatically destroys all current configured logical drives and creates a RAID level based on the
physical drive or drives present. It can create from 1 to 40 logical drives, depending on the number of
logical drives (
numld
n
) parameter. By default numld is 1.