American Megatrends MAN-STOR-ITX27-CLI manual Command Argument Description

Page 28

Command

Argument

 

Description

expand raid

-t/--type {ld}

 

Expands the logical drive to

 

-l/ -- ldname <ldname >

specified disksize using specified

 

-d/ --diskname <diskname or slotindex(optional)>

disk.

 

-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

 

transform raid

-t/--type {ld}

 

Transforms a logical drive.

 

-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

 

blink raid

-t/--type {ld/pd}

 

Blinks a disk (not supported on a

 

-d / --diskname<diskname or slotindex>

1U yet).

 

-n/--controllerno <controllerno>

 

 

For example: blink –t pd –l /dev/sda –n 0 raid

 

blink raid

-t/--type {ld/pd}

 

Blinks a logical drive (not

 

-l / --ldname <ldname>

supported on a 1U yet).

set raid

-t/--type {pd}

 

Sets the cache mode for disk (HW

 

-d / --diskname<diskname or slotindex>

RAID only).

 

-m / --cachemode

 

 

 

< diskcache mode>

 

For LSI RAID Controller - Cache

 

-n/--controllerno <controllerno>

Modes Format -

 

Cache Modes - pd

 

writecache:readcache:cachemode

 

0 - None 1 - Read

2 - Read-Write

 

 

3 - Read-Ahead 4 - Read-Ahead-Write

writecache values - WriteThrough

 

For example: set –t pd –d 2 –m 1 –n 0 raid

/ 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}

 

Sets the alarm mode for controller

 

-n/--controllerno<controller no>

 

 

-a / --alarmmode <alarm mode>

 

 

Alarm Modes - controller

 

 

0 - NP 1 - Enable

2 - Disable

 

 

3 - Mute 4 - UnMute

 

 

 

 

 

set raid

-t/--type {ld}

 

Set the cache mode for LD

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

Image 28 Contents
MAN-STOR-ITX27-CLI 06/07/2010 Revision History Preface Table of Contents Limitations of Liability Limited WarrantyTechnical Support Disclaimer Preface Accessing CLIOverview of CLI Initial Setup NIC-1Volume Configuration This will list the available RAID LD’s present in the systemPage Similarly a SAN volume can be created as follows To create a target, use the following commandsThen, to enable the target, use the syntax below Next step is to activate a port for iSCSI trafficCommand Set ChapterFor example To find out how the show command works, type CLIshow -h EnterAlert Configuration These commands configure the way alerts are generatedDomain Configuration Date/Time ConfigurationThese commands configure the time zone and date Event log Commands These commands display or clear the event logFirewall Configuration These commands configure the network firewall optionsHealth Configuration General Server ConfigurationThese commands get the health information ISCSI Configuration Command Argument Description License configuration These commands configure the LicenseNetwork Controller Configuration NAS Quota Configuration List retrieved will be given for both instead of singly NAS User / Group ConfigurationFor exmaple set -t user -u test1 -p test1 -f Test1 ug Protocol Configuration RAID & Disk Management Commands Command Argument Description Upgrades the firmware for a Share, Directory & ACL Configuration These commands work on NAS shares and directoryLevel for NT System Control Configuration Volume and Snapshot CommandsThese commands configure the System controls 3provisiontype 0-ThinCommand Argument Description Command Argument Description These commands configure the UPS for power management UPS ConfigurationXml For example update -l c0v0 -p 50 -m Syncreplica Synchronous replicationFor example For example Update -l c0v0 -p 50 -m 172.16.70.102 Update -l c0v0 -g rg0 syncreplicaAsynchronous Replication These commands configure asynchronous replicationUtilization bandwidth utilization Command Argument Description Failedduetorollback Command Argument Description Command Argument Description Command Argument Description Journal Volume Management These commands configure a journal and journal fileExample Example Get -t journalfile -c Cont0 -f jf0 journalPage Recovery Wizard These commands are to view cdp for journal fileThese commands are used as part of recovery wizard Continuous Data ProtectionThese commands are used as part of SRM Storage Resource ManagementList the tasks in report, pending Workflow queueThese commands are used as part of snap validation Local and Replicated Snapshot validationPage Appendix a Error Codes Code 175 Error in mounting the share 338 License file read write error Code Code Code Code Description Code Description Code Description