Accusys eXpeRAID manual Pre-action, Example for Linux special case

Page 7

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 7 OF 27

2.Using CLI

2.1Pre-action

Before using CLI, make sure the controller(s) has been connected to the host and the driver(s) of the controller(s) has been installed on the OS properly.

Under Linux, you may need to execute the following command to let CLI find the controller normally: 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 controller is found. If other controllers are found, use 1, 2.. for i to make node of each controller one by one.

Anyway, the necessity of this procedure depends on how the driver is installed.

Example for Linux special case:

1.Type: insmod acs_ame.ko [Enter] under the folder where the driver “acs_ame.ko” is located.

2.Type: cat /proc/devices [Enter], a list of Character devices will appear, in which the device number of ACS_CDEV is 253(The value alters through different systems.)

Image 7
Contents Nov 05 Version EXpeRAID Command Line Interface User GuideRevision History Contents Basic Array Configuration Commands Appendix UpdateSystemCode UpdateBootCode UpdateBIOSEFISupported Operating Systems OverviewExample for Linux special case Pre-actionInteractive Mode Execution ModeNon-interactive Mode ACCUSYS, INC Format Conventions CLI Command FormatCommand Syntax Command Name Format 1 …Format nCLI Reply Status InBandController command success InBand command failedCLICheckPassword 00000000 Enter CLI Command SetBasic CLI Commands Command Name Command DescriptionExample CLICtrlName Ctrl1 Enter CLIDumpArrayInfo 1 Enter Information Display Commands2.9 2.62.7 2.8R5 RAID Level Basic Array Configuration Commands3.1 RAID Level Level=R0R1R5R6 R0 RAID Level R01 R1 RAID LevelCLISetSlice Array=1 Slice=0 Size=120 Enter CLIDeleteArray 1 EnterCLISetLunMap Lun=0 Array=1 Slice=0 Enter CLISetLunMap Lun=0 JBOD=1 EnterCLIExpandArray Array=1 DriveCnt=3 Enter Advanced Array Configuration CommandsCLIMigrateArray Array=1 TargetLevel=R5 DriveCnt=4 Enter Example CLIRefreshArray Array=1 State=StartEnter Example CLIRebuildParity Array=1 State=Start EnterMirror Snapshot Configuration Commands CLISplitScheduling Shot=1 Year=07 Month=12 Day=15 Hour=0 Parameter ExampleMin=0 Enter Parameter 5.6 Miscellaneous CommandsEnableDisable Enable / Disable Disk Lag Proof mode 6.2 EnableDisable Enable / Disable NCQ mode 6.3EnableDisable Enable/Disable Synchronize Cache mode EnableDisable Enable/Disable controller beeper 6.6EnableDisable Enable / Disable Equalization Mode 6.7 EnableDisable Enable/Disable controller cache 6.8Day Day =1~31 CtrlTime Use this command to set controller time6.9 Month Month =1~127.1 Firmware Update CommandsR0+1 N Disks Array Migration MatrixR0 N Disks R1 N Disks R5 N Disks