Appendix a - cli ascii-based interface – Sonnet Technologies Fusion RAID Configuration Tool and Utilities Operation Manual User Manual

Page 74

Advertising
background image

x

Appendix A - CLI ASCII-Based Interface

RGCreate (Immediate)
Creates a new empty RAID group. GroupName is an ASCII
name for the RAID group (14 characters maximum, no spaces).
The optional value after the RAID group type parameter
represents the desired interleave for the RAID group. KB denotes
interleave in kilobytes; without the KB suffix, interleave is set in
512 byte blocks. If interleave is not provided, the system-default
interleave is used.

RGCreate [GroupName] [RAID [ 0 | 1 | 10 | 4 | 5
| 6 ] | JBOD] <8KB | 16KB | 32KB | 64KB | 128KB
| 256KB | 512KB | 1024KB | 2048KB>

• RGDiskWriteCache (Immediate)

Produces higher write performance with a small risk of data
loss after a system failure. If disabled, drives are updated at the
expense of some write performance.

set RGDiskWriteCache [GroupName | all] [enabled
| disabled]
get RGDiskWriteCache [GroupName | all]

RGDisplay (Immediate)
Displays status information for a single RAID group, or if

all is

used, all available RAID groups.

RGDisplay <GroupName | all>

RGErase (Immediate)
Erases the data from the specified existing RAID group.
Warning: All data is lost when you use the RGErase command!

RGErase [GroupName]

RGHaltConversion (Immediate)
Stops the conversion on the specified existing RAID group.

RGHaltConversion [GroupName]

RGHaltErase (Immediate)
Stops the erase on the specified existing RAID group.

RGHaltErase [GroupName]

RGHaltInitialization (Immediate)
Stops the initialization process on the specified existing RAID
group.

RGHaltInitialization [GroupName]

RGHaltMediaScan (Immediate, Disabled on Error)
Halts a media scan on the specified existing RAID group.

RGHaltMediaScan [GroupName]

RGHaltRebuild (Immediate)
Halts the rebuild(s) on the specified existing RAID group.
Optional parameter

MemberIndex specifies the RAID member

whose rebuild will be halted. For RAID 6 RAID groups, if
a MemberIndex is specified, all rebuilding RAID members
on the span with that MemberIndex will halt as well. If no
MemberIndex is specified, all rebuilds on that RAID group will
be halted.

RGHaltRebuild [GroupName] <MemberIndex>

• RGMediaScan (Immediate, Disabled on Error)

Initiates a Media Scan. A Media Scan reads all of a RAID group’s
member drives and corrects media errors by calculating the
expected data and rewriting it, so the drive can relocate it to a
good sector. The

verify option adds a data integrity check by

verifying that the data and parity match.

Verify plus fix causes

the parity to be rewritten when a verify mismatch occurs. Enter
the time (must be HH:MM in 24-hour time format) and the
day of the week without the “daily/weekly“ option to schedule
a one-time scan for a later date. Enter time, day of week and
daily or weekly to schedule a scan on a recurring basis.

RGMediaScan [GroupName] <verify | verify fix>
<[HH:MM] <day of week> <daily | weekly>>

• RGMediaScanErrorReport (Immediate, Disabled on Error)

Displays error statistics for either a single RAID group or all
RAID groups in the system.

RGMediaScanErrorReport [GroupName | all]

RGMemberAdd (Immediate)
Adds available drives to a new RAID group or as part of an
RGAddStorage operation. GroupName is the ASCII name of
the RAID group to receive the RAID member. BlockDevID is
the index of an available drives provided by the BlockDevScan
CLI command. Up to 10 BlockDevIDs may be specified. If all is
specified, then all available unused BlockDevIDs will be added
to the RAID group until the maximum number of RAID group
members has been met. This command also resets the number
of RAID group partitions to 1.

RGMemberAdd [GroupName | all] [BlockDevID]

RGMemberRemove (Immediate)
RGMemberRemove removes a RAID member from a new RAID
group. GroupName is the ASCII name of the new RAID group
from which to remove the RAID member. MemberIndex is
the index of the RAID member to remove. This also resets the
number of partitions to 1.

RGMemberRemove [GroupName] [MemberIndex]

Advertising