Manual Pages for UNIX Darwin command on man megaraid
MyWebUniversity

Manual Pages for UNIX Darwin command on man megaraid

MEGARAID(8) BSD System Manager's Manual MEGARAID(8)

NAME

mmeeggaarraaiidd - Command Line Utility for MegaRAID management.

SYNOPSIS

mmeeggaarraaiidd -sshhoowwaaddaapptteerr

mmeeggaarraaiidd -sshhoowwddeevviicceess

mmeeggaarraaiidd -sshhoowwccoonnffiigg [ld]

mmeeggaarraaiidd -ddeessttrrooyyccoonnffiigg [-yes]

mmeeggaarraaiidd -ccrreeaattee R0 | R1 | R5 -ddrriivvee { 0 1 2 3} [-ssttrriippeessiizzee n] [-ssiizzee x]

[-wwrriitteeccaacchhee enable | disable] [-rreeaaddaahheeaadd on | off | adaptive]

[-iiooppoolliiccyy direct | cached]

mmeeggaarraaiidd -ccrreeaattee auto [-nnuummlldd n]

mmeeggaarraaiidd -cchhaannggeeppoolliiccyy ld [-wwrriitteeccaacchhee enable | disable]

[-rreeaaddaahheeaadd on | off | adaptive] [-iiooppoolliiccyy direct | cached]

mmeeggaarraaiidd -rreebbuuiilldd pd -ssttaarrtt | -ssttoopp | -ssttaattuuss

mmeeggaarraaiidd -cchhkkccoonn ld -ssttaarrtt | -ssttoopp | -ssttaattuuss

mmeeggaarraaiidd -iinniittiiaalliizzee ld -ssttaarrtt | -ssttoopp | -ssttaattuuss

mmeeggaarraaiidd -ssppaarree pd -ccrreeaattee | -ddeelleettee

mmeeggaarraaiidd -cchhaannggeessttaattee pd -oonnlliinnee | -ffaaiill

mmeeggaarraaiidd -aallaarrmm -oonn | -ooffff | -ssiilleennccee

mmeeggaarraaiidd -ffllaasshh flashFileName

DESCRIPTION

mmeeggaarraaiidd is a command line RAID management tool. This tool can create logical drive using multiple/single physical drives. Also, it has the capability to manage these logical/ physical drives and provides options to monitor and trigger any action on these logical/physical drives.

If -log option is given, then all the displayed information will be

logged with Date and Time in a file specified by -log option. This option

will apply to all commands/operations. CCOOMMMMAANNDD DDEETTAAIILLSS

mmeeggaarraaiidd -sshhoowwaaddaapptteerr [-lloogg file]

Displays all relevant information about the adapter including product identification, battery status, number of logical drives created, cache size etc.

mmeeggaarraaiidd -sshhoowwddeevviicceess [-lloogg file]

Displays all drives connected to the MegaRAID adapter. This will display Drive Id, Identification, size, status and any SMART alerts. The status of a drive can be Online, Failed, Ready, Hotspare, and Not Responding.

mmeeggaarraaiidd -sshhoowwccoonnffiigg [ld] [-lloogg file]

Shows the RAID configuration in the system with Logical Drive Id, RAID Level, Size, Status, and participating physical drives. The logical drive status can be Failed, Degraded, or Optimal. A failed logical drive cannot be accessed and no data can be recovered from it. A degraded logical drive enables the user to access all data without a failure even though

all attached physical drives are not in good condition. A degraded logi-

cal drive does not apply to RAID0 because RAID0 is not a redundant array. Optimal state means that the logical drive is in perfect condition.

mmeeggaarraaiidd -ddeessttrrooyyccoonnffiigg [-yes] [-lloogg file]

Clears the configuration. If the user does not specify "yes" the system will prompt for reconfirmation.

mmeeggaarraaiidd -ccrreeaattee R0 | R1 | R5 -ddrriivvee { 0 1 2 3} [-ssttrriippeessiizzee n] [-ssiizzee x]

[-wwrriitteeccaacchhee enable | disable] [-rreeaaddaahheeaadd on | off | adaptive]

[-iiooppoolliiccyy direct | cached] [-lloogg file]

mmeeggaarraaiidd -ccrreeaattee auto [-nnuummlldd n] [-lloogg file]

Creates a logical drive and adds it to the existing configuration. The RAID level and participating physical drives are mandatory parameters. All other parameters are optional. If size is not specified, then the remaining size of the array will automatically be used. If stripe size

and cache policy are not specified then the default values will automati-

cally be used. The stripe size parameter is in Kilobytes and valid stripe sizes are 16, 32, 64 and 128 KiloBytes. The size parameter is in MB and the minimum size of a logical drive must be 100MB. A logical drive cannot

be created with a capacity less than 100MB. Once a logical drive is cre-

ated, the cache policy can be changed using the changepolicy command. Auto Create will automatically destroy all current configuared logical drives and create RAID Level depending on physical drive present. It can create n ( 1 to 40) logical drive(s) depending on numld parameter. By default numld is 1. Default values are as follows: stripesize 64K writecache enabled readcache off cached io

mmeeggaarraaiidd -cchhaannggeeppoolliiccyy ld [-wwrriitteeccaacchhee enable | disable] [-rreeaaddaahheeaadd on |

off | adaptive] [-iiooppoolliiccyy direct | cached] [-lloogg file]

Changes the policy of an existing logical drive. The parameter id must be the logical drive id. This option will apply to all RAID levels; however, the policies will only apply to individual logical drives.

mmeeggaarraaiidd -ssppaarree pd -ccrreeaattee | -ddeelleettee [-lloogg file]

Creates or deletes a global hotspare. Hotspares can be created from ready pool devices. After deletion, a hotspare drive will be a ready drive. The parameter pd is the physical drive id.

mmeeggaarraaiidd -rreebbuuiilldd pd -ssttaarrtt | -ssttoopp | -ssttaattuuss [-lloogg file]

Rebuilds, starts, stops or gives the status of a particular physical drive. The parameter pd is the physical drive id.

mmeeggaarraaiidd -cchhkkccoonn ld -ssttaarrtt | -ssttoopp | -ssttaattuuss [-lloogg file]

Starts, stops, or checks the status (percentage of progress) of a check consistency with a particular logical drive. The parameter id is the logical drive id.

mmeeggaarraaiidd -ffllaasshh flashFileName [-lloogg file]

Flashes new firmware from the "flashfile" to the adapter. The new firmware will be operational only after system reboot.

mmeeggaarraaiidd -iinniittiiaalliizzee ld -ssttaarrtt | -ssttoopp | -ssttaattuuss [-lloogg file]

Initializes, starts, stops, or gives the status (percentage of progress) of a particular logical drive. The parameter ld is the logical drive id.

mmeeggaarraaiidd -cchhaannggeessttaattee pd -oonnlliinnee | -ffaaiill [-lloogg file]

Changes the state of a physical drive from online to failed. The parame-

ter pd is the physical drive id.

mmeeggaarraaiidd -aallaarrmm -oonn | -ooffff | -ssiilleennccee

Turn Alarm on, off or silence. When alarm set to silence, it will turn off for current failure but it will turn on for next failure. EEXXAAMMPPLLEESS Creating RAID0 Logical Drive with a stripe size of 128K and a drive size of 1 GB = 1024 MB

mmeeggaarraaiidd -ccrreeaattee R0 -ddrriivvee 0 1 2 -ssttrriippeessiizzee 128 -ssiizzee 1024

Creating RAID1 Logical Drive with a stripe size of 64K and a drive size of full capacity

mmeeggaarraaiidd -ccrreeaattee R1 -ddrriivvee 0 1 -ssttrriippeessiizzee 64

Creating RAID5 Logical Drive with a stripe size of 64K and a drive size of full capacity, the cache policy is Read Ahead, WriteCached enabled, and CachedIO

mmeeggaarraaiidd -ccrreeaattee R1 -ddrriivvee 0 1 -ssttrriippeessiizzee 64 -wwrriitteeccaacchhee enable

-rreeaaddaahheeaadd on -iiooppoolliiccyy cached

Creating automatically 5 logcial drives

mmeeggaarraaiidd -ccrreeaattee auto -nnuummlldd 5

Run Check Consistency on logical drive 5 RAID 5

mmeeggaarraaiidd -cchhkkccoonn 5 -ssttaarrtt

Mac OS X 22 Mar 2004 Mac OS X




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™