Specifications
302 Appendix PCI RAID Card Command Reference
megaraid -create
R0
|
R1
|
R5
-drive {
0 1 2 3
} [-stripesize
n
]
[-size x
] [-writecache
enable
|
disable
]
[-readahead
on
|
off
|
adaptive
]
[-iopolicy
direct
|
cached
] [-log
file
]
Creates a logical drive and adds it to the
configuration. The RAID level and
participating physical drives’ parameters
are required. Other parameters are
optional.
If
size is not specified, the remaining size
of the array is used.
If
the stripesize and iopolicy
parameters are not specified, the default
values are used. The
stripesize
parameter is in kilobytes, and valid stripe
sizes are
16
,
32
,
64
, and
128
kilobytes.
The
size parameter is in megabytes.
You cannot create a logical drive smaller
than100 MB. After you create a logical
drive, you can change the cache policy
using the
changepolicy command.
Default values are as follows:
Â
stripesize: 64K
 writecache: disabled
 readcache: off
 iopolicy: direct
megaraid -destroyconfig [-
yes
] [-log
file
] Clears the configuration. If you don’t
specify the
yes parameter, the computer
prompts for confirmation before clearing
the configuration.
megaraid -flash
flashFileName
[-log
file
] Flashes new firmware from the flash file to
the adapter. The firmware becomes
operational only after the computer
restarts.
megaraid -initialize
ld
-start | -stop |
-status [-log
file
]
Initializes, starts, stops, or displays the
status (percentage of progress) of a
specific logical drive.
The parameter
ld
is the logical drive ID.
megaraid -rebuild
pd
-start | -stop |
-status [-log
file
]
Rebuilds, starts, stops, or displays the
status of a specific physical drive. The
parameter
pd
is the physical drive ID.
megaraid -showadapter [-log
file
] Displays information about the adapter,
including product identification, battery
status, number of logical drives created,
cache size, and more.
Parameter Description