background image

ACCUSYS, INC. 

  5F, 38 TAIYUAN ST, JHUBEI, HSINCHU, TAIWAN, R.O.C. 

TITLE 

EXPERAID COMMAND LINE INTERFACE USER GUIDE 

PROJECT 

“DESKTOP RAID” 

DOCUMENT  STATUS 

OFFICIAL RELEASE 

REV. 

G–05-NOV-2007 

PAGE 

8

 OF 27

 

 

3. Type: mknod /dev/ACS_CDEV0 c 253 0 [Enter], a device file “ACS_CDEV0” will be 

created and CLI will be able to find the controller through this device file. 

 

2.2 Execution Mode 

There are two methods to run CLI commands - interactive mode and non-interactive mode.   

For each mode, all commands and parameters must follow the CLI command format to be 

executed normally. 

2.2.1 Interactive Mode 

To trigger CLI interactive mode, simply run the CLI execution file under the   

command line of the OS. If the controller has been found, a password verification 

prompt for the default controller will appear. After inputting the correct password, 

the CLI prompt “CLI>” will appear. All CLI commands can be executed under this 

prompt. 

 

2.2.2 Non-interactive Mode 

There are two types of non-interactive mode for CLI. One calls the CLI command   

"RunScript" to execute pre-written script files which contain bunches of CLI   

commands. The other one calls CLI commands by adding them as the parameter   

of the CLI execution file individually. 

 

The scripts of both types of non-interactive mode are written based on the following   

format: 

acs_cli <CLI command> [Parameters of the CLI command] 

which can be executed as a single command under the command line of the OS. 

 

2.2.2.1 CLI script Mode 

Summary of Contents for eXpeRAID

Page 1: ...eXpeRAID Command Line Interface User Guide Nov 05 2007 Version 1 0...

Page 2: ...eters of command SetLunMap CreateShot and MigrateArray added Appendix I for Migration command reference Added CancelSplitSchedule command Rev D 03 SEP 2007 ShoneCheng 4 Removed parameter Array for Cre...

Page 3: ...1 CLI script Mode 2 2 2 2 Shell script Mode 3 CLI Command Line Configuration 10 3 1 CLI Command Format 10 3 2 CLI Reply Status 11 3 3 CLI Command Set 12 3 3 1 Basic CLI Commands 12 3 3 1 1 main 3 3 1...

Page 4: ...19 3 3 4 1 ExpandArray 3 3 4 2 MigrateArray 3 3 4 3 RebuildParity 3 3 4 4 VerifyParity 3 3 4 5 RefreshArray 3 3 4 6 RefreshPriority 3 3 4 7 UnlockDrive 3 3 5 Mirror Snapshot Configuration Commands 21...

Page 5: ...SINCHU TAIWAN R O C TITLE EXPERAID COMMAND LINE INTERFACE USER GUIDE PROJECT DESKTOP RAID DOCUMENT STATUS OFFICIAL RELEASE REV G 05 NOV 2007 PAGE 5 OF 27 3 3 7 1 UpdateSystemCode 3 3 7 2 UpdateBootCod...

Page 6: ...ual for instructions 1 1 Overview This Command Line Interface CLI is provided for you to configure and manage the Accusys eXpeRAID components in Linux Mac or Windows The CLI is useful under environmen...

Page 7: ...ly mknod dev ACS_CDEVi c NUM i where number NUM is determined by referencing the Character devices listed in proc devices in which the string ACS_CDEV is located The number i should be 0 when only one...

Page 8: ...the CLI execution file under the command line of the OS If the controller has been found a password verification prompt for the default controller will appear After inputting the correct password the...

Page 9: ...s_sample1 script and acs_sample2 script contain a bunch of CLI commands 2 2 2 2 Shell script Mode This mode is implemented by executing all CLI commands following the format acs_cli CLI command Parame...

Page 10: ...Name CLI Command Name Parameter 1 n CLI Command Parameters Command Description Describe CLI Commands in brief Parameter Description Describe Parameters in detail Example Gives an example for the comma...

Page 11: ...failed CLI will display Reason Error reason description z Invalid command CLI receives unrecognized commands z Invalid parameter Param CLI receives incorrect parameter of the input command CLI will d...

Page 12: ...er to be active The default controller will be set to controller 0 if it exists Parameter 1 Parameter Description Controller index 0 n Controller index 0 n where n stands for the maximum index number...

Page 13: ...troller Name CHARS may not exceed 16 characters Example Controller Name CHARS CLI CtrlName Ctrl1 Enter The controller name will be set to Ctrl1 If the number of characters in parameter 1 is more than...

Page 14: ...Name Command Description DumpSliceInfo Use this command to display slice information of the specified array Parameter 1 Parameter Description Array No 1 4 Array No Specified array number from 1 4 to...

Page 15: ...rives Parameter Description DumpLockDriveInfo N A 3 3 2 7 Command Name Command Description Use this command to display information of all existing mirror snapshots Parameter Description DumpSnapShotIn...

Page 16: ...2 56 Parameter 3 Initialization Type Type Fly Evaluation Parameter 4 RAID Level R0 RAID Level 0 R1 RAID Level 1 R5 RAID Level 5 R6 RAID Level 6 R01 RAID Level 0 1 Stripe Size Measures in KB 1 KB 2 Bl...

Page 17: ...iption Drive No 1 n Drive No 1 n where n stands for maximum available drive number 3 3 3 4 Command Name Command Description DeleteJBOD Use this command to delete an existing JBOD Parameter 1 Parameter...

Page 18: ...rameter 3 LUN No Specify the Lun number to be mapped Array No Array 1 4 Maps Lun to a specified Array JBOD 1 n Maps Lun to a specified JBOD Slice No This parameter is not needed when parameter 2 uses...

Page 19: ...and the spare drive quantity are more then or equal to 3 3 3 4 2 Command Name Command Description MigrateArray Use this command to migrate an array from the original RAID level to a specified RAID lev...

Page 20: ...or RAID 6 3 3 4 4 Command Name Command Description VerifyParity Use this command to verify parity of an array which contains parity i e RAID 5 or RAID 6 Parameter 1 Parameter Description Array No Arra...

Page 21: ...Commands 3 3 5 1 Command Name Command Description CreateShot Use this command to create a mirror snapshot Parameter 1 Parameter Description Shot No Shot 1 8 Parameter 2 Source Array No SourceArray 1 4...

Page 22: ...esynchronized 3 3 5 4 Command Name Command Description SplitShot Use this command to split a mirror snapshot Parameter 1 Parameter Description Shot No 1 8 Shot No Specify an existing mirror snapshot t...

Page 23: ...s Commands 3 3 6 1 Command Name Command Description DiskLagProof Use this command to enable or disable Disk Lag Proof mode This mode is only effective on RAID Level 5 Parameter 1 Parameter Description...

Page 24: ...de Use this command to enable or disable the controller beeper Parameter 1 Parameter Description Enable Disable Enable Disable controller beeper 3 3 6 6 Command Name Command Description EQMode Use thi...

Page 25: ...3 3 6 10 Command Name Command Description DriveCacheMode Use this command to enable or disable drive cache s Parameter 1 Parameter Description Drive No Drive 1 n All Parameter 2 Switch setting Switch...

Page 26: ...file FileName located in the specified directory 3 3 7 2 Command Name Command Description UpdateBootCode Update boot code for the active controller The controller needs to be restarted for the new boo...

Page 27: ...R0 R1 R5 R0 1 R6 R0 N Disks Can t Migrate N 1 2N N 2 R1 N Disks 2 3 4 5 R5 N Disks N 1 Can t Migrate 2 N 1 N 2 2 R0 1 N Disks N 2 Can t Migrate N 2 1 N 1 R6 N Disks N 2 Can t Migrate 2 N 2 N 1 Note Mo...

Reviews: