American Megatrends MAN-STOR-ITX27-CLI User Manual

Page 28

Advertising
background image

StorTrends® iTX Software CLI (Command Line Interface) (Version 2.7) User’s Guide

22

Command

Argument

Description

expand raid

-t/--type {ld}
-l/ -- ldname <ldname >
-d/ --diskname <diskname or slotindex(optional)>
-s/--disksize <disksize in GB>
-b/--subdisk <subdiskcount (Required only for
RAID10N and RAID50)>
-e/--distspare
-n/--controllerno <controllerno (Required only for
LSI RAID controller)
For example: expand -t ld -l /dev/sdb -d 2 -s 20 raid

Expands the logical drive to
specified disksize using specified
disk.

transform raid

-t/--type {ld}
-l / --ldname <ldname>
-d / --diskname <diskname or slotindex >
-r/ --raidlevel
<raid level (0/1/3/5/6/10/1N/10N/50/60)>
-s/--size <size (optional)> (enter ss for same size)
-b/--subdisk <subdiskcount (Required only for
RAID10N and RAID50)>
-e/--distspare
-n/--controllerno <controllerno (Required only for
LSI RAID controller)
For example: transform -t ld -l /dev/md0 -r 5 -d
/dev/sda -d /dev/sdb raid

Transforms a logical drive.

blink raid

-t/--type {ld/pd}
-d / --diskname<diskname or slotindex>
-n/--controllerno <controllerno>
For example: blink –t pd –l /dev/sda –n 0 raid

Blinks a disk (not supported on a
1U yet).

blink raid

-t/--type {ld/pd}
-l / --ldname <ldname>

Blinks a logical drive (not
supported on a 1U yet).

set raid

-t/--type {pd}
-d / --diskname<diskname or slotindex>
-m / --cachemode
< diskcache mode>
-n/--controllerno <controllerno>
Cache Modes - pd
0 - None 1 - Read 2 - Read-Write
3 - Read-Ahead 4 - Read-Ahead-Write
For example: set –t pd –d 2 –m 1 –n 0 raid

Sets the cache mode for disk (HW
RAID only).

For LSI RAID Controller - Cache
Modes Format -
writecache:readcache:cachemode

writecache values - WriteThrough
/ WriteBack / ForceWriteBack

readcache values -
ReadAheadNone / ReadAhead /
ReadAdaptive

cachemode values - Direct /
Cached

set raid

-t/--type {pd}
-d / --diskname<diskname or slotindex>
-g/--makegood
-n/--controllerno <controllerno>
-x/--xml
For example: set -t pd -d 1:2 -g -n 0 raid

set raid

-t/--type {controller}
-n/--controllerno<controller no>
-a / --alarmmode <alarm mode>
Alarm Modes - controller
0 - NP 1 - Enable 2 - Disable
3 - Mute 4 - UnMute

Sets the alarm mode for controller

set raid

-t/--type {ld}

Set the cache mode for LD

Advertising