American Megatrends MAN-STOR-ITX27-CLI manual Upgrades the firmware for a

Page 29

Command

Argument

 

Description

 

-l / --ldname <ldname>

 

 

-m/--cachemode <cache mode>

 

 

Cache Modes - ld

 

 

0 - None

1 - Read

 

 

2 - Write

3 - Read-Write

 

 

 

 

rescan raid

-n/--controllerno <controller number>

Initiates rescanning of the storage

 

 

 

bus connected to the controller.

remove raid

-t/--type {spare}

Removes a drive assigned as a

 

-d / --diskname <diskname or slotindex>

spare disk or dedicated disk.

 

-l/ --ldname <ldname> (for dedicated spare)

 

 

-n/--controllerno <controllerno>

 

 

For example: remove -t spare -d 3 -n 0 raid

 

 

remove -t spare -l /dev/md0 -d /dev/sdb raid

 

add raid

-t/--type {spare}

Adds the given drive as a global or

 

-d / --diskname or slotindex or

dedicated hot spare.

 

enclosurenumber:slotindex-

 

 

l/--ldname <ldname>(for dedicated spare)

 

 

-n/--controllerno <controllerno>

 

 

For example: add -t spare -d 1:4 -n 0 raid

 

upgrade raid

-t/--type {controller}

Upgrades the firmware for

 

-n/--controllerno <controller number>

controller.

 

-o /--code <code>

 

 

-l/ --length <length>

 

upgrade raid

-t/--type {pd}

 

Upgrades the firmware for a

 

-d / --diskname <diskname or slotindex>

physical disk.

 

-n/--controllerno <controller number>

 

 

-o /--code <code>

 

 

-l/ --length <length>

 

Chapter Two: Command Set 23

Image 29 Contents
MAN-STOR-ITX27-CLI 06/07/2010 Revision History Preface Table of Contents Technical Support Limited WarrantyLimitations of Liability Disclaimer Overview of CLI Accessing CLIPreface NIC-1 Initial SetupThis will list the available RAID LD’s present in the system Volume ConfigurationPage To create a target, use the following commands Similarly a SAN volume can be created as followsNext step is to activate a port for iSCSI traffic Then, to enable the target, use the syntax belowChapter Command SetCLIshow -h Enter For example To find out how the show command works, typeThese commands configure the way alerts are generated Alert ConfigurationThese commands configure the time zone and date Date/Time ConfigurationDomain Configuration These commands display or clear the event log Event log CommandsThese commands configure the network firewall options Firewall ConfigurationThese commands get the health information General Server ConfigurationHealth Configuration ISCSI Configuration Command Argument Description These commands configure the License License configurationNetwork Controller Configuration NAS Quota Configuration For exmaple set -t user -u test1 -p test1 -f Test1 ug NAS User / Group Configuration List retrieved will be given for both instead of singly Protocol Configuration RAID & Disk Management Commands Command Argument Description Upgrades the firmware for a These commands work on NAS shares and directory Share, Directory & ACL ConfigurationLevel for NT Volume and Snapshot Commands System Control ConfigurationThese commands configure the System controls 3provisiontype 0-ThinCommand Argument Description Command Argument Description Xml UPS ConfigurationThese commands configure the UPS for power management Synchronous replication For example update -l c0v0 -p 50 -m SyncreplicaFor example Update -l c0v0 -g rg0 syncreplica For example Update -l c0v0 -p 50 -m 172.16.70.102Utilization bandwidth utilization These commands configure asynchronous replicationAsynchronous Replication Command Argument Description Failedduetorollback Command Argument Description Command Argument Description Command Argument Description These commands configure a journal and journal file Journal Volume ManagementExample Example Get -t journalfile -c Cont0 -f jf0 journalPage These commands are to view cdp for journal file Recovery WizardThese commands are used as part of recovery wizard Continuous Data ProtectionStorage Resource Management These commands are used as part of SRMList the tasks in report, pending Workflow queueLocal and Replicated Snapshot validation These commands are used as part of snap 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