beautypg.com

American Megatrends MAN-STOR-ITX27-CLI User Manual

Page 28

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
-d/ --diskname
-s/--disksize
-b/--subdisk RAID10N and RAID50)>
-e/--distspare
-n/--controllerno 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
-d / --diskname
-r/ --raidlevel

-s/--size (enter ss for same size)
-b/--subdisk RAID10N and RAID50)>
-e/--distspare
-n/--controllerno 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
-n/--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

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

set raid

-t/--type {pd}
-d / --diskname
-m / --cachemode
< diskcache mode>
-n/--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
-g/--makegood
-n/--controllerno
-x/--xml
For example: set -t pd -d 1:2 -g -n 0 raid

set raid

-t/--type {controller}
-n/--controllerno
-a / --alarmmode
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