No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Huawei V2 and V3 Server RAID Controller Card User Guide 36

This document describes the appearances and features of the redundant array of independent disks (RAID) controller cards, how to configure properties for the RAID controller cards, and how to install drivers. The RAID controller cards include the LSI SAS2208, LSI SAS2308, LSI SAS3008, LSI SAS3108, LSI SoftRAID, PM8060, and PM8068.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Common Commands

Common Commands

Setting Spinup Parameters

Function

Set the number of drives that spin up simultaneously upon power-on.

Format

arcconf setpower controller_id spinup internal external

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card for drives.

-

internal

Specifies the number of internal drives that spin up simultaneously upon power-on.

-

external

Specifies the number of external drives (such as external JBOD) that spin up simultaneously upon power-on.

-

Usage Guidelines

None

Example

# Set drive spinup parameters.

domino:~# ./arcconf setpower 1 spinup 4 0
Controllers found: 1 


Command completed successfully.

# Query spinup settings.

domino:~# ./arcconf getconfig 1 | grep Spinup
   Spinup limit internal drives             : 4 
   Spinup limit external drives             : 0

Setting Drive PowerSave Parameters

Function

Set the PowerSave parameters for a virtual drive.

Format

arcconf setpower controller_id ld ld_id slowdown timer1 poweroff timer2

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card.

-

ld_id

Indicates the ID of a virtual drive.

-

timer1

Specifies a deceleration timer.

The unit is minute.

timer2

Specifies a power-off timer.

The unit is minute.

Usage Guidelines

None

Example

# Set the Powersave parameters

domino:~# ./arcconf setpower 1 ld 0 slowdown 3 poweroff 5
Controllers found: 1 

Command completed successfully.

Setting the Drive Initialization Function

Function

Set the initialization function for physical and virtual drives.

Format

arcconf task start controller_id logicaldrive ld_id option [noprompt]

arcconf task stop controller_id logicaldrive ld_id

arcconf task start controller_id device channel_id slot_id option [noprompt]

arcconf task stop controller_id device channel_id slot_id

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card.

-

ld_id

Specifies the ID of a virtual drive.

-

slot_id

Specifies a slot number.

-

channel_id

Specifies a drive channel ID.

-

option

Specifies the initialization type.

For virtual drives:

  • verify_fix
  • verify
  • clear

For physical drives:

  • verify_fix
  • verify
  • clear
  • initialize
  • securerase

Usage Guidelines

If the noprompt parameter is contained, the operation will be performed forcibly.

The noprompt parameter does not ask you to confirm the operation and is not recommended.

Example

# Initialize the drive in slot 3.

domino:~# ./arcconf task start 1 device 0 3 clear
Controllers found: 1 
Clear of a Hard drive is a long process. 

Are you sure you want to continue? 
Press y, then ENTER to continue or press ENTER to abort: y 

Clearing Channel 0, Device 3. 

Command completed successfully.

# Query the task status.

domino:~# ./arcconf getstatus 1
Controllers found: 1 
Physical Device Task: 
   Channel,Device                   : 0,3 
   Task ID                          : 100 
   Current operation                : Clear 
   Status                           : In Progress 
   Priority                         : High 
   Percentage complete              : 0 

Command completed successfully.     

Setting the Priority for a Background Task

Function

Set the priority for a background task and make the priority take effect.

Format

arcconf setpriority controller_id priority [current]

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card.

-

priority

Specifies the priority of a background task.

  • high
  • medium
  • low

Usage Guidelines

None

Example

# Set the priority to high and make the priority take effect.

domino:~# ./arcconf setpriority 1 high current
Controllers found: 1 

Command completed successfully.

Querying and Setting the Performance Mode for a RAID Controller Card

Function

Query and set the performance mode for a RAID controller card.

Format

arcconf setperform controller_id mode

arcconf getperform controller_id

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card.

-

mode

Specifies the performance mode of a RAID controller card.

  • 1: Dynamic
  • 2: OLTP/Database
  • 3: Big Block Bypass mode
  • 4: User defined mode

Usage Guidelines

None

Example

# Set the performance mode to Dynamic.

domino:~# ./arcconf setperform 1 1
Controllers found: 1 

Command completed successfully.

# Query the performance mode.

domino:~# ./arcconf getperform 1
Controllers found: 1 

   Performance Mode                        : Default/Dymatic 

   CACHE_REPRESSPREFETCHING                : DISABLE 
   CACHE_IO_SORTING                        : ENABLE 
   CACHE_INSERT_LRU                        : DISABLE 
   CACHE_DYNAMIC_SHARING                   : ENABLE 
   CACHE_READ_LOAD_BYPASS_VALID            : ENABLE 
   CACHE_WRITE_LOAD_BYPASS_VALID           : ENABLE 
   CACHE_LARGE_WRITE_BYPASS                : DISABLE 
   IO_COALESCING                           : ENABLE 
   CACHE_MAX_DIRTY                         : 75 percent 
   CACHE_DEMAND_FLUSH_THRESHOLD            : 75 percent 
   CACHE_PAGE_SIZE                         : 256 KB 
   CACHE_RESERVED_FOR_INACTIVE             : 10 
   CACHE_ADDITIONAL_WRITES                 : 4 
   CACHE_MIN_FLUSH_STRIPE                  : 64 KB 
   CACHE_BYPASS_WRITE_IO_SIZE              : 128 KB 
   IO_LIMIT_SATA_HDD                       : 32 
   IO_LIMIT_SATA_SSD                       : 32 
   IO_LIMIT_SAS_HDD                        : 64 
   IO_LIMIT_SAS_SSD                        : 64 
   R1_SEQ_READ_LOW_QW_THRESHOLD            : 4 
   R1_SEQ_DETECTION_THRESHOLD              : 4 

Command completed successfully.

Setting the Working Mode for a RAID Controller Card

Function

Set the working mode for a RAID controller card.

Format

arcconf setpcontrollermode controller_id mode

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card.

-

mode

Specifies the working mode of a RAID controller card.

  • 0 (default): indicates RAID: expose RAW. If drives are not configured with RAID properties, the controller card reports them to the OS as raw drives. Therefore, the drives can be operated on the OS directly.
  • 1: indicates RAID: hide RAW. The RAID controller card reports only the drives with the RAID properties.
  • 2: indicates HBA. No RAID level is supported, and all drives are reported as raw drives.
  • 3: indicates Auto Volume. If the drives are not configured with the RAID properties but contain OS partitions, the controller card reports them to the OS as raw drives. If the drives are not configured with the RAID properties and do not contain the OS partitions, the controller card reports them after volumes are created in the drives by using the controller card.

Usage Guidelines

None

Example

# Set the working mode to RAID: expose RAW.

domino:~# ./arcconf setcontrollermode 1 0
Controllers found: 1 

Command completed successfully.

# Query the working mode.

domino:~# ./arcconf getconfig 1
Controllers found: 1 
-------------------------------------------------------------- 
Controller information 
-------------------------------------------------------------- 
   Controller Status                       : Optimal 
   Controller Mode                         : RAID (Expose RAW)
   Channel description                     : SAS/SATA 
......

Setting a SATA Password

Function

Set a SATA password to prevent SATA drive data from being securely erased.

Format

arcconf atapassword controller_id set new_password channel_id slot_id

arcconf atapassword controller_id clear current_password channel_id slot_id

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card.

-

channel_id

Specifies a drive channel ID.

-

slot_id

Specifies a slot number.

-

new_password

Specifies the new password.

-

current_password

Specifies the current password of the SATA drive.

-

Usage Guidelines

None

Example

# Set the password of the SATA drive in slot 0 to huawei.

domino:~# ./arcconf atapassword 1 set huawei 0 0
Controllers found: 1 
Setting the ATA security password on the SATA harddrive 

Are you sure you want to continue? 
Press y, then ENTER to continue or press ENTER to abort: y 

Command completed successfully.

# Clear the password of the SATA drive in slot 0.

domino:~# ./arcconf atapassword 1 clear huawei 0 0
Controllers found: 1 
Clearing the ATA security password on the SATA harddrive 

Are you sure you want to continue? 
Press y, then ENTER to continue or press ENTER to abort: y 

Command completed successfully.

Creating and Deleting a RAID Array

Function

Create and delete a RAID array.

Format

arcconf create controller_id logicaldrive stripesize stripesize name ld_name priority ld_priority method mode capacity raid_level channel_id1 slot_id1 channel_id2 slot_id2...channel_idN slot_idN [noprompt]

arcconf delete controller_id logicaldrive ld_id noprompt

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card.

-

stripesize

Specifies the sector size of the virtual drive.

-

ld_name

Specifies the name of the virtual drive.

-

ld_id

Specifies the ID of a virtual drive.

-

ld_priority

Specifies the priority of the virtual drive creation task.

  • high
  • medium
  • low

mode

Specifies the follow-up action after creating a virtual drive.

  • Quick and Skip can be performed for RAID 0, 1, and Volume. Quick allows you to quickly initialize the array data, and Skip allows you to recover the array and set the RAID properties between two different hard drives without clearing the data.
  • Besides Quick and Skip, Build, Verify, and Clear can also be performed for arrays with a redundant function and allow you to initialize and clear the RAID data.

capacity

Specifies the capacity of a virtual drive.

-

raid_level

Specifies the RAID level of a virtual drive.

-

channel_idN

Specifies a drive channel ID.

-

slot_idN

Specifies a member drive slot number.

-

Usage Guidelines

None

Example

# Create a RAID 5 array.

domino:~# ./arcconf create 1 logicaldrive stripesize 64 name test01 priority high method quick 102400 5 0 0 0 1 0 2
Controllers found: 1 

For arrays with all SSD drives, caching is not recommended. Disable all cache settings?(Y/N) 

Are you sure you want to continue? 
Press y, then ENTER to continue or press ENTER to abort: y 

Do you want to add a logical device to the congirutaion? 
Press y, then ENTER to continue or press ENTER to abort: y 

Creating logical device: test01 

Command completed successfully.

# Delete the virtual drive whose ID is 1.

domino:~# ./arcconf delete 1 logicaldrive 1 nopromt
Controllers found: 1 
All data in logical device 1 will be lost: 
Deleting: logical device 1 ("LogicalDrv 1") 

Command completed successfully.     

Setting the cache read and write properties for a RAID array

Function

Set the cache read and write properties for a RAID array.

Format

arcconf setcache controller_id logicaldrive ld_id mode

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card.

-

ld_id

Specifies the ID of a virtual drive.

-

mode

Specifies the cache read and write policies of a RAID array.

The read policies include:

  • ron: enables the read cache function.
  • roff: disables the read cache function.

The write policies include:

  • wb: RAID write cache is still enabled in case of no capacitor protection, and data loss may be caused if a power failure occurs.
NOTE:

Exercise caution when selecting wb.

  • wbb: RAID write cache is disabled in case of no capacitor protection or in case that capacitor protection is not ready. This setting is recommended.
  • wt: disables the write cache function all the time.

Usage Guidelines

None

Example

# Enable the read cache function for a RAID array.

domino:~# ./arcconf setcache 1 logicaldrive 0 ron
Controllers found: 1 

Command completed successfully.

Setting the Hot Spare Drive Status

Function

Set the hot spare drive status to global or dedicated.

Format

arcconf setstate controller_id device channel_id slot_id hsp [logicaldrive ld_id1 ld_id2]

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card.

-

channel_id

Specifies a drive channel ID.

-

slot_id

Specifies a slot number.

-

ld_id1 ld_id2

Specifies the ID of a virtual drive.

A dedicated hot spare drive can be used by a maximum of two virtual drives at the same time.

Usage Guidelines

If logicaldrive ld_id1 ld_id2 is not contained, the drive is a global hot spare drive.

If logicaldrive ld_id1 ld_id2 is contained, the drive is a dedicated hot spare drive.

Example

# Set the drive in slot 3 to a global hot spare drive.

domino:~# ./arcconf setstate 1 device 0 3 hsp
Controllers found: 1 
This global hot spare will only protect logicals whose member block size is 512 Bytes. 

Command completed successfully.

Modifying the RAID Stripe Size, Capacity, and Level

Function

Adjust RAID stripe size and RAID capacity at the same time, and change the RAID level.

Format

arcconf modify controller_id from ld_id to [stripesize size] capacity raid_level channel_id1 slot_id1 ... channel_idN slot_idN [noprompt]

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card.

-

ld_id

Specifies the ID of the target virtual drive.

-

size

Specifies the target stripe size.

-

capacity

Specifies the target virtual drive size.

-

raid_level

Specifies the RAID level of the target virtual drive.

-

channel_id1...channel_idN

Specifies a drive channel ID.

-

slot_id1...slot_idN

Specifies a slot number.

-

Usage Guidelines

If the noprompt parameter is contained, the operation will be performed forcibly.

Example

# Adjust the stripe size to 1024 without adding drives.

domino:~# ./arcconf modify 1 from 0 to stripesize 1024 1525760 0 0 0 0 1
Controllers found: 1 
Reconfiguration of a logical device is a long process. Are you sure you want to continue? 
Press y, then ENTER to continue or press ENTER to abort: y 

Reconfiguring logical device: LogicalDrv 0 

Command completed successfully.

# Change the RAID level of VD 0 to RAID 5.

domino:~# ./arcconf modify 1 from 0 to 1024 5 0 0 0 1 0 2 noprompt
Controllers found: 1 
Reconfiguring logical device: LogicalDrv 0 

Command completed successfully.

Setting Consistency Check Parameters

Function

Sets consistency check parameters.

Format

arcconf consistencycheckcontroller_idperiod time

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card for drives.

-

time

Specifies the frequency of performing automatic consistency checks.

At least 10 days.

Usage Guidelines

None

Example

# Set the frequency of performing automatic consistency checks to 10 days.

domino:~# ./arcconf consistencycheck 1 period 10
Controllers found: 1 
Setting the period will automatically turn on backgroud consistency check. 

Are you sure you want to continue? 
Press y, then ENTER to continue or press ENTER to abort: y 

Command completed successfully.

Enabling or Disabling the NCQ Function

Function

Enable and disable the NCQ function.

Format

arcconf setncqcontroller_id state

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card for drives.

-

state

Specifies the state of the NCQ function.

  • enable
  • disable

Usage Guidelines

None

Example

# Enable the NCQ function.

domino:~# ./arcconf setncq 1 enable
Controllers found: 1 

WARNING : NCQ setting changes will be reflected only after next power cycle. 

Command completed successfully.

Setting a Drive as a Pass-Through Drive

Function

Set a drive as a pass-through drive so that the OS can directly manage the drive.

Format

arcconf uninitcontroller_id channel_id slot_id

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card for drives.

-

slot_id

Specifies a slot number.

-

channel_id

Specifies a drive channel ID.

-

Usage Guidelines

None

Example

# Set the drive in slot 3 as a pass-through drive.

domino:~# ./arcconf uninit 1 0 3
Controllers found: 1 

1 device(s) uninitialized. 

Command completed successfully.

Setting the Status of a Drive UID Indicator

Function

Turn on and off the UID indicator of a specified drive.

Format

arcconf identify controller_iddevice channel_id slot_id

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card for drives.

-

channel_id

Specifies a drive channel ID.

-

slot_id

Specifies a slot number.

-

Usage Guidelines

None

Example

# Turn on the UID indicator of the drive in slot 3.

domino:~# ./arcconf identify 1 device 0 3
Controllers found: 1 
The specified device(s) is/are blinking. 
Press any key to stop the blinking. 

Command completed successfully.

Querying Device Information

Function

Query detailed information about RAID controller cards, physical drives, and virtual drives.

Format

arcconf getconfig controller_id <ad | ld ld_id | pd channel_id slot_id | mc | al>

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card for drives.

-

ad

Queries controller properties.

-

ld

Queries virtual drive properties.

-

ld_id

Specifies the ID of a virtual drive.

-

pd

Queries physical drive properties.

-

channel_id

Specifies a drive channel ID.

-

slot_id

Specifies a slot number.

-

mc

Queries maxCache information.

-

al

Queries all information.

-

Usage Guidelines

None

Example

# Query controller properties.

domino:~# ./arcconf getconfig 1 ad
Controllers found: 1 
---------------------------------------------------------------------- 
Controller information 
---------------------------------------------------------------------- 
   Controller Status                     : Optimal 
   Controller Mode                       : RAID (Expose RAW) 
   Channel description                   : SAS/SATA 
   Controller Model                      : PM8060-RAID 
   Controller Serial Number              : 123A456B789 
   Controller World Wide Name            : 5E0247F95EEF7000 
   Controller Alarm                      : Enabled 
   Physical Slot                         : 6 
.................     

Querying the Status of a Hard Drive

Function

Query the status of a hard drive.

Format

arcconf getconfig controller_id <pd>

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card for the target drive.

-

pd

Specifies the type of the target drive.

-

Usage Guidelines

None

Example

# Query the status of a hard drive.

domino:~# ./arcconf getconfig 1 pd

Device #2---------------------------------------------------------------------- 
Device is a Hard drive 
   State                                 : Global Hot-Spare 
   Block Size                            : Bytes 
   Supported                             : Yes 
   Programmed Max Speed                  : SATA 6.0 Gb/s 
   Transfer Speed                        : SATA 12.0 Gb/s 
   Reported Channel,Device(T:L)          : 0,1(11:0) 
   Reported Location                     : Enclosure 0, Slot 3(Connector 0, Connector 1 ) 
   Reported ESD(T:L)                     : 2,0(0:0) 
   Vendor                                : ATA 
   Model                                 : INTEL SSDSC2BX01 
   Firmware                              : 0150 
   Serial Number                         : BTHC445301D81P6PGN 
   Reserved Size                         : 435480 KB 
   Used Size                             : 1525760 MB 
   Unused Size                           : 64 KB 
   Total Size                            : 1526185 MB 
   Write Cache                           : Enabled (write-back) 
   FRU                                   : None 
   S M A R T                             : NO 
   S M A R T  warnings                   : 0 
   Power States                          : Full RPM 

The command output Reported Channel,Device(T:L):0,1(11:0) shows that the channel ID is 11 and the device ID is 0.

Translation
Download
Updated: 2019-11-01

Document ID: EDOC1000004186

Views: 705407

Downloads: 20581

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next