
3
21
3 Command Reference
This chapter describes the megaraid commands you can
use to work with your PCI Hardware RAID Card.
The commands are listed directly below. The following section explains the function
and parameters of each command.
• megaraid -alarm -on | -off | -silence
• megaraid -changepolicy ld [-writecache enable | disable][-readahead
on | off | adaptive] [-iopolicy direct | cached]
• megaraid -changestate pd -online | -fail
• megaraid -chkcon ld -start | -stop | -status
• megaraid -create auto [-numld n]
• megaraid -create R0 | R1 | R5 -drive { 0 1 2 3} [-stripesize n] [-
size x] [-writecache enable | disable] [-readahead on | off |
adaptive][-iopolicy direct | cached]
• megaraid -destroyconfig [-yes]
• megaraid -flash flashFileName
• megaraid -initialize ld -start | -stop | -status
• megaraid -rebuild pd -start | -stop | -status
• megaraid -showadapter
• megaraid -showconfig [ld]
• megaraid -showdevices
• megaraid -spare pd -create | -delete
Note: You can use the man megaraid command to see the online reference of the
megaraid commands. You can also use all megaraid commands with a [-log file]
parameter and all the displayed information is logged with date and time in the file
you specify.
Comentarios a estos manuales