Huawei Server RAID Controller Card User Guide (Arm) 06

Common Commands

Common Commands

Querying Controller Card Information

Function

Query basic information about a controller card.

Syntax

arcconf list controller_id

Parameter Description

Parameter

Description

Value

controller_id

Controller card ID

Usage Guidelines

None

Example

# Query the properties of controller card 1.

[root@localhost ~]# arcconf list 1
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
   Controller ID             : Status, Slot, Mode, Name, SerialNumber, WWN
----------------------------------------------------------------------
   Controller 1:             : Optimal, Slot 1, RAID (Hide RAW), MSCC Adaptec SmartHBA 2100-8i, 7A4563EDE26, 50000D1703F07180

----------------------------------------------------------------------
Array Information
----------------------------------------------------------------------
   Array ID                  : Status (Interface, TotalSize MB, FreeSpace MB)
----------------------------------------------------------------------
   Array 0                   : Has Failed Logical Drive (SATA, 19077120 MB, 0 MB)
   Array 1                   : Ok (SATA, 9538560 MB, 5343744 MB)

----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
   Logical ID                : Status (RAID, Interface, Size MB) Name
----------------------------------------------------------------------
   Logical 0                 : Failed (10, Data, 4194304 MB) A
   Logical 1                 : Optimal (10, Data, 5344246 MB) B
   Logical 2                 : Optimal (1, Data, 2097152 MB) Logical Drive 3


----------------------------------------------------------------------
Physical Device information
----------------------------------------------------------------------
   Physical ID               : State (Interface, BlockSize, SizeMB, Vendor, Model, Type) WWN, [Location]
----------------------------------------------------------------------
   Physical 0,8              : Online (SATA, 512 Bytes, 4769307MB, ATA     , HUS726050ALE610 , Hard Drive) 500E004AAAAAAA00, [Enclosure 1, Slot 0(Connector 0:CN0)]
   Physical 0,9              : Online (SATA, 512 Bytes, 4769307MB, ATA     , HGST HUS726050AL, Hard Drive) 500E004AAAAAAA01, [Enclosure 1, Slot 1(Connector 0:CN0)]
   Physical 0,10             : Online (SATA, 512 Bytes, 4769307MB, ATA     , HGST HUS726050AL, Hard Drive) 500E004AAAAAAA02, [Enclosure 1, Slot 2(Connector 0:CN0)]
   Physical 0,11             : Online (SATA, 512 Bytes, 4769307MB, ATA     , HGST HUS726050AL, Hard Drive) 500E004AAAAAAA03, [Enclosure 1, Slot 3(Connector 0:CN0)]
   Physical 0,12             : Online (SATA, 512 Bytes, 4769307MB, ATA     , HGST HUS726050AL, Hard Drive) 500E004AAAAAAA04, [Enclosure 1, Slot 4(Connector 0:CN0)]
   Physical 0,13             : Online (SATA, 512 Bytes, 4769307MB, ATA     , HGST HUS726050AL, Hard Drive) 500E004AAAAAAA05, [Enclosure 1, Slot 5(Connector 0:CN0)]
   Physical 2,0              : Ready (SES2, Not Applicable, Not Applicable, 12G SAS, Expander, Enclosure Services Device) 500E004AAAAAAA1F, [Connector 0:CN0, Enclosure 1]
   Physical 2,3              : Ready (SES2, Not Applicable, Not Applicable, MSCC    , Virtual SGPIO, Enclosure Services Device) 50000D1703F07180, [Not Applicable]


Command completed successfully.

Querying Physical Drive, Array, and LD Information

Function

Query basic information about a controller card.

Syntax

Syntax

Function

arcconf getconfig controller_id AD

Query adapter information.

arcconf getconfig controller_id LD

Query information about all LDs.

arcconf getconfig controller_id LD LD_id

Query information about an LD.

arcconf getconfig controller_id PD

Query information about all physical hard drives.

arcconf getconfig controller_id PD physical_id

Query information about a physical hard drive.

arcconf getconfig controller_id AR

Query information about all arrays.

arcconf getconfig controller_id AR AR_id

Query information about an array.

Parameters

Parameter

Description

Value

controller_id

Controller card ID

LD_id

ID of an LD

physical_id

Physical number of a hard drive

AR_id

Array ID

Usage Guidelines

None

Example

# Query information about all arrays.

[root@localhost ~]# arcconf getconfig 1 ar
Controllers found: 1
----------------------------------------------------------------------
Array Information
----------------------------------------------------------------------
Array Number 0
   Name                                     : A
   Status                                   : Has Failed Logical Drive
   Interface                                : SATA
   Total Size                               : 19077120 MB
   Unused Size                              : 0 MB
   Block Size                               : 512 Bytes
   Array Utilization                        : 100.00% Used, 0.00% Unused
   Type                                     : Data
   Transformation Status                    : Not Applicable
   Spare Rebuild Mode                       : Dedicated
   SSD I/O Bypass                           : Not Applicable
   --------------------------------------------------------
   Array Logical Device Information
   --------------------------------------------------------
   Logical 0                                : Failed (10, Data, 4194304 MB) A
   Logical 1                                : Optimal (10, Data, 5344246 MB) B
   --------------------------------------------------------
   Array Physical Device Information
   --------------------------------------------------------
   Device 8                                 : Present (4769307MB, SATA, HDD, Connector:CN0, Enclosure:1, Slot:0)             NAG24LBX
   Device 9                                 : Present (4769307MB, SATA, HDD, Connector:CN0, Enclosure:1, Slot:1) NAG24N8X
   Device 10                                : Present (4769307MB, SATA, HDD, Connector:CN0, Enclosure:1, Slot:2) NAG24L3X
   Device 11                                : Present (4769307MB, SATA, HDD, Connector:CN0, Enclosure:1, Slot:3) NAG24L0X


Array Number 1
   Name                                     : B
   Status                                   : Ok
   Interface                                : SATA
   Total Size                               : 9538560 MB
   Unused Size                              : 5343744 MB
   Block Size                               : 512 Bytes
   Array Utilization                        : 43.97% Used, 56.03% Unused
   Type                                     : Data
   Transformation Status                    : Not Applicable
   Spare Rebuild Mode                       : Dedicated
   SSD I/O Bypass                           : Not Applicable
   --------------------------------------------------------
   Array Logical Device Information
   --------------------------------------------------------
   Logical 2                                : Optimal (1, Data, 2097152 MB) Logical Drive 3
   --------------------------------------------------------
   Array Physical Device Information
   --------------------------------------------------------
   Device 12                                : Present (4769307MB, SATA, HDD, Connector:CN0, Enclosure:1, Slot:4) NAG24LMX
   Device 13                                : Present (4769307MB, SATA, HDD, Connector:CN0, Enclosure:1, Slot:5) NAG24NPX




Command completed successfully.

# Query information about all LDs.

[root@localhost ~]# arcconf getconfig 1 ld
Controllers found: 1
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical Device number 0
   Logical Device name                      : A
   Disk Name                                : Not Applicable
   Block Size of member drives              : 512 Bytes
   Array                                    : 0
   RAID level                               : 10
   Status of Logical Device                 : Failed
   Size                                     : 4194304 MB
   Stripe-unit size                         : 256 KB
   Full Stripe Size                         : 512 KB
   Interface Type                           : Serial ATA
   Device Type                              : Data
   Boot Type                                : None
   Heads                                    : 255
   Sectors Per Track                        : 32
   Cylinders                                : 65535
   Mount Points                             : Not Applicable
   LD Acceleration Method                   : None
   Volume Unique Identifier                 : 600508B1001CC135379258C5A0305DB4
   --------------------------------------------------------
   Logical Device segment information
   --------------------------------------------------------
   Group 0, Segment 0                       : Present (4769307MB, SATA, HDD, Connector:CN0, Enclosure:1, Slot:0)             NAG24LBX
   Group 0, Segment 1                       : Present (4769307MB, SATA, HDD, Connector:CN0, Enclosure:1, Slot:1) NAG24N8X
   Group 1, Segment 0                       : Present (4769307MB, SATA, HDD, Connector:CN0, Enclosure:1, Slot:2) NAG24L3X
   Group 1, Segment 1                       : Present (4769307MB, SATA, HDD, Connector:CN0, Enclosure:1, Slot:3) NAG24L0X


Logical Device number 1
   Logical Device name                      : B
   Disk Name                                : /dev/sda
   Block Size of member drives              : 512 Bytes
   Array                                    : 0
   RAID level                               : 10
   Status of Logical Device                 : Optimal
   Size                                     : 5344246 MB
   Stripe-unit size                         : 256 KB
   Full Stripe Size                         : 512 KB
   Interface Type                           : Serial ATA
   Device Type                              : Data
   Boot Type                                : None
   Heads                                    : 255
   Sectors Per Track                        : 32
   Cylinders                                : 65535
   Mount Points                             : Not Applicable
   LD Acceleration Method                   : None
   Volume Unique Identifier                 : 600508B1001C2AD867883CE2E456B2DD
   --------------------------------------------------------
   Logical Device segment information
   --------------------------------------------------------
   Group 0, Segment 0                       : Present (4769307MB, SATA, HDD, Connector:CN0, Enclosure:1, Slot:0)             NAG24LBX
   Group 0, Segment 1                       : Present (4769307MB, SATA, HDD, Connector:CN0, Enclosure:1, Slot:1) NAG24N8X
   Group 1, Segment 0                       : Present (4769307MB, SATA, HDD, Connector:CN0, Enclosure:1, Slot:2) NAG24L3X
   Group 1, Segment 1                       : Present (4769307MB, SATA, HDD, Connector:CN0, Enclosure:1, Slot:3) NAG24L0X


Logical Device number 2
   Logical Device name                      : Logical Drive 3
   Disk Name                                : /dev/sdb
   Block Size of member drives              : 512 Bytes
   Array                                    : 1
   RAID level                               : 1
   Status of Logical Device                 : Optimal
   Size                                     : 2097152 MB
   Stripe-unit size                         : 256 KB
   Full Stripe Size                         : 256 KB
   Interface Type                           : Serial ATA
   Device Type                              : Data
   Boot Type                                : None
   Heads                                    : 255
   Sectors Per Track                        : 32
   Cylinders                                : 65535
   Mount Points                             : /boot/efi 57220 MB  Partition Number 1 / 476837 MB  Partition Number 2
   LD Acceleration Method                   : None
   Volume Unique Identifier                 : 600508B1001C1B97F48F2E0DC9CC2FCA
   --------------------------------------------------------
   Array Physical Device Information
   --------------------------------------------------------
   Device 12                                : Present (4769307MB, SATA, HDD, Connector:CN0, Enclosure:1, Slot:4) NAG24LMX
   Device 13                                : Present (4769307MB, SATA, HDD, Connector:CN0, Enclosure:1, Slot:5) NAG24NPX




Command completed successfully.

Querying Controller Card Firmware and Driver Version Information

Function

Query firmware and driver version information of controller cards.

Syntax

arcconf getversion

Example

# Query the firmware and driver information of controller cards.

[root@localhost ~]# arcconf getversion
Controllers found: 1
Controller #1
==============
Firmware                               : 1.43[0] (0)
Driver                                 : Linux 1.1.2-125 (0)


Command completed successfully.

Upgrading the Firmware of a Controller Card

Function

Upgrade the firmware of a controller card.

Syntax

arcconf romupdate controller_id fwfile

Parameter description

Parameter

Description

Value

controller_id

Controller card ID

-

fwfile

Name of the .bin file required for the firmware upgrade

-

Example

# Upgrade the firmware of the controller card.

[root@linux 2.93]# arcconf romupdate 1 SmartFWx100.bin
Controllers found: 1


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

Updating controller 1 firmware...
Succeeded
You must restart the system for firmware updates to take effect.


Command completed successfully.

Setting the Working Mode for a Controller Card

Function

Set the working mode for a controller card.

The default mode is Mixed.

Syntax

arcconf setcontrollermode controller_id mode

Parameter Description

Parameter

Description

Value

controller_id

Controller card ID

mode

Working mode of the controller card

  • 2: HBA mode
  • 3: RAID mode
  • 5: Mixed mode
    NOTE:

    For details about 2100-8i working modes, see Working Modes.

Usage Guidelines

None

Example

# Set the working mode of a controller card to RAID.

[root@localhost ~]# ./arcconf setcontrollermode 1 3
Controllers found: 1

Command completed successfully.

# Query the working mode of the controller card.

[root@localhost ~]# arcconf getconfig 1
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
   Controller Status                        : Optimal
   Controller Mode                          : RAID (Hide RAW)
   Channel description                      : SCSI
   Controller Model                         : MSCC Adaptec SmartHBA 2100-8i
   Controller Serial Number                 : 7A4563EDE26
   Controller World Wide Name               : 50000D1703F07180
   Physical Slot                            : 1
   Temperature                              : 48 C/ 118 F (Normal)
   Host bus type                            : PCIe 3.0
   Host bus speed                           : 7880 MBps
   Host bus link width                      : 8 bit(s)/link(s)
   PCI Address (Bus:Device:Function)        : 0:3b:0:0
   Number of Ports                          : 2
   Internal Port Count                      : 2
   External Port Count                      : 0
   Defunct disk drive count                 : 0
   NCQ status                               : Enabled
   Queue Depth                              : Automatic
   Monitor and Performance Delay            : 60 minutes
   Elevator Sort                            : Enabled
   Degraded Mode Performance Optimization   : Disabled
   Latency                                  : Disabled
   Statistics data collection mode          : Disabled
   Post Prompt Timeout                      : 0 seconds
   Boot Controller                          : False
   Primary Boot Volume                      : None
   Secondary Boot Volume                    : None
   Driver Name                              : smartpqi
   Driver Supports SSD I/O Bypass           : Yes
   Manufacturing Part Number                : Not Applicable
   Manufacturing Spare Part Number          : Not Applicable
   Manufacturing Wellness Log               : Not Applicable
   NVRAM Checksum Status                    : Passed
   Sanitize Lock Setting                    : None
   --------------------------------------------------------
   Power Settings
   --------------------------------------------------------
   Power Consumption                        : 7910 milliWatts
   Current Power Mode                       : Maximum Performance
   Pending Power Mode                       : Not Applicable
   Survival Mode                            : Enabled
   --------------------------------------------------------
   I2C Settings
   --------------------------------------------------------
   I2C Address                              : 0xDE
   I2C Clock Speed                          : 400 KHZ
   I2C Clock Stretching                     : Enabled
   --------------------------------------------------------
   Cache Properties
   --------------------------------------------------------
   Global Physical Device Write Cache Policy: Disabled
   --------------------------------------------------------
   RAID Properties
   --------------------------------------------------------
   Logical devices/Failed/Degraded          : 3/1/0
   Automatic Failover                       : Disabled
   Background consistency check             : Idle
   Consistency Check Delay                  : 3 seconds
   Parallel Consistency Check Supported     : Enabled
   Parallel Consistency Check Count         : 1
   Inconsistency Repair Policy              : Disabled
   Consistency Check Inconsistency Notify   : Disabled
   Rebuild Priority                         : High
   Expand Priority                          : Medium
   --------------------------------------------------------
   Controller Version Information
   --------------------------------------------------------
......

In the command output, Controller Mode indicates the working mode of the controller card.

Querying Controller Cards Supported by ARCCONF

Function

Query all the controller cards supported by ARCCONF.

Syntax

arcconf list

Example

# Query all controller cards supported by ARCCONF.

[root@localhost ~]# arcconf list
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
   Controller ID             : Status, Slot, Mode, Name, SerialNumber, WWN
----------------------------------------------------------------------
   Controller 1:             : Optimal, Slot 1, Mixed, MSCC Adaptec SmartHBA 2100-8i, 7A4563EDE26, 50000D1703F07180

Command completed successfully.

Setting the Boot Drive

Function

Set a physical or logical drive as the boot device. The settings for a physical drive take effect only when the controller card working mode is HBA or Mixed. The settings for a logical drive take effect only when the controller card working mode is RAID or Mixed.

Syntax

arcconf setboot controller_id logicaldrive LD_id type boot_type

arcconf setboot controller_id device physical_id type boot_type

Parameter Description

Parameter

Description

Value

controller_id

Controller card ID

LD_id

ID of an LD

boot_type

Boot device type

Primary: sets the logical or physical drive as the first boot device.

Secondary: sets the logical or physical drive as the second boot device.

physical_id

Physical ID of a drive

Example

# Set logical drive 1 as the first boot device.

[root@localhost ~]# arcconf setboot 1 logicaldrive 1 type primary
Controllers found: 1
Do you wish to change the boot type of the selected device.
Press y, then ENTER to continue or press ENTER to abort: y


Command completed successfully.

Setting Hot Spare Mode

Function

Set the hot spare drive mode.

Syntax

arcconf setarrayparam controller_id array_id sparetype mode

Parameter description

Parameter

Description

Value

controller_id

Controller card ID

array_id

Array ID

mode

Type of the hot spare drive

  • 1: Dedicated
  • 2: Autoreplace
    NOTE:

    For details about hot spare drives, see Hot Spare Drives.

Example

# Set the hot spare drive of the array to Dedicated.

[root@localhost ~]# arcconf setarrayparam 1 0 sparetype 1
Controllers found: 1

Command completed successfully.
[root@localhost ~]#

Setting the Drive UID Indicator

Function

Turn on or off the unit identification (UID) indicator for a drive. The UID indicator helps locate a drive.

Syntax

Table 14-25

Command

Function

arcconf identify controller_id device physical_id time time

Makes the UID indicator of a physical drive blinking for certain time. time is optional and specifies the duration (in seconds) for which the indicator keeps blinking.

arcconf identify controller_id device physical_id

Makes the UID indicator of a physical drive blinking. You can press any key to stop blinking.

arcconf identify controller_id all time time

Makes the UID indicators of all physical drives blinking for certain time. time is optional and specifies the duration (in seconds) for which the indicators keep blinking.

arcconf identify controller_id all stop

Stops UID indicators of all physical drives from blinking.

arcconf identify controller_id logicaldrive LD_id time time

Makes the UID indicator of an LD blinking for certain time. time is optional and specifies the duration (in seconds) for which the indicator keeps blinking.

arcconf identify controller_id logicaldrive LD_id

Stops the UID indicator of an LD from blinking.

arcconf identify controller_id array array_id time time

Makes the UID indicator of an array blinking for certain time. time is optional and specifies the duration (in seconds) for which the indicator keeps blinking.

arcconf identify controller_id array array_id

Stops the UID indicator of an array from blinking.

Parameter Description

Parameter

Description

Value

controller_id

Controller card ID

LD_id

ID of an LD

physical_id

Physical ID of a drive

time

Time (in seconds) for which the UID indicator is on

(Optional) Specifies the duration (in seconds) for which the indicator keeps blinking.

array_id

Array ID

Example

# Turn off the UID indicator of the drive in slot 0.

[root@localhost ~]# ./arcconf identify 1 device 0 0
Controllers found: 1
Only devices managed by an enclosure processor may be identified
The specified device(s) is/are blinking.
Press any key to stop the blinking.

# Turn on the UID indicators for 60 seconds for all drives.

[root@localhost ~]# ./arcconf identify 1 all time 60
Controllers found: 1
Only devices managed by an enclosure processor may be identified

Command completed successfully.

# Turn off the UID indicators for all drives.

[root@localhost ~]# ./arcconf identify 1 all stop
Controllers found: 1

Command completed successfully.

Setting a Hot Spare Drive for an LD

Function

Set a hot spare drive for an LD.

Syntax

arcconf setstate controller_id device physical_id hsp array array_id sparetype type

Parameter Description

Parameter

Description

Value

controller_id

Controller card ID

physical_id

Physical ID of a drive

array_id

Array ID

type

Type of the hot spare drive

1: Dedicated

2: Autoreplace

NOTE:

For details about hot spare drives, see Hot Spare Drives.

Example

# Set an Autoreplace hot spare drive.

[root@localhost ~]# arcconf setstate 1 device 0 3 hsp array 0 sparetype 2
Controllers found: 1

Any existing hot-spare drives of a different sparetype will be removed.
The physical drive used for this operation is connected to Mixed Mode(Smart HBA) connector. Using it will not allow operating system to use the drive contents.

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


Command completed successfully.
[root@localhost ~]#

Setting the Number of Concurrent Consistency Checks

Function

Set the number of consistency checks that can be performed at the same time on the background.

Syntax

arcconf consistencycheck controller_id parallelcount parallelcount_number

Parameter Description

Parameter

Description

Value

controller_id

Controller card ID

parallelcount_number

Number of concurrent consistency checks

Example

# Set the number of concurrent consistency checks to 4.

[root@localhost ~]# arcconf consistencycheck 1 parallelcount 4
Controllers found: 1

Command completed successfully.
[root@localhost ~]#


 CONSISTENCYCHECK <Controller#> PARALLELCOUNT <Count>

Creating and Deleting a RAID Array

Function

Create and delete a RAID array.

Syntax

arcconf create controller_id logicaldrive option size level physical_id physical_id......

arcconf delete controller_id logicaldrive ld_id noprompt

Parameter Description

Parameter

Description

Value

controller_id

Controller card ID

Follow Querying Controller Card Information to obtain the controller_id of the controller card.

The value of controller_id starts from 1. If there are multiple controller cards, the IDs are numbered in the sequence of 1, 2, 3...

option

For details about the LD properties, see Table 14-26.

size

LD capacity

The unit is MB. You can enter only a number. For example, if the parameter is set to 1024, the capacity of the virtual drive is 1024 MB.

If this parameter is set to MAX, all the capacity of the drive is used to create a virtual drive.

level

RAID level of the LD

For details about supported RAID levels, see Support for a Variety of RAID Levels.

physical_id

Physical ID of the LD member drive

Follow Querying Physical Drive, Array, and LD Information to obtain the ID of the physical drive.

ld_id

Virtual drive ID

Follow Querying Physical Drive, Array, and LD Information to obtain the ID of the virtual drive.

Table 14-26 option

Parameter

Description

Value

Stripesize

Stripe size of the LD

16/32/64/128/256/512/1024

Name

LD name

LDcache

Controller cache

SSDOverProvisioningOptimization

SSD overprovisioning optimization

  • enable
  • disable
NOTE:
  • This parameter is available only when the RAID array consists of SSDs.
  • If this parameter is set to Enabled, all used blocks are reallocated to optimize the SSD before data is written to the SSD, accelerating the initialization speed.

DataLD

ID of the LD to be accelerated

Usage Guidelines

None

Example

# Create a RAID 0 array.

[root@localhost ~]# ./arcconf create 1 logicaldrive max 0 0 7
Controllers found: 1

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

Creating logical device: LogicalDrv 1

Command completed successfully.

# Delete the virtual drive 1.

[root@localhost ~]# ./arcconf delete 1 logicaldrive 1 noprompt
Controllers found: 1

WARNING: Deleting this logical device will automatically delete array 1 because it is the only logical device present on that array.
All data in logical device 1 will be lost.
Deleting: logical device 1 ("LogicalDrv 1")

Command completed successfully.

Enabling the Repair Policy for Consistency Checks

Function

Enable the repair policy for consistency checks.

Syntax

arcconf consistencycheck controller_id inconsistencyrepairpolicy enable

Parameter Description

Parameter

Description

Value

controller_id

Controller card ID

Example

# Enable the repair policy for consistency checks.

[root@localhost ~]# arcconf consistencycheck 1 inconsistencyrepairpolicy enable
Controllers found: 1

Command completed successfully.
[root@localhost ~]#

Enabling the Generation of Debugging Information and Notification of Consistency Checks

Function

Enable the debugging information to be generated and a notification to be sent when a consistency check is performed.

Syntax

arcconf consistencycheck controller_id eventnotify enable

Parameter Description

Parameter

Description

Value

controller_id

Controller card ID

Example

# Enable generation of debugging information and notification of consistency checks.

[root@localhost ~]# arcconf consistencycheck 1 eventnotify enable
Controllers found: 1

Command completed successfully.
[root@localhost ~]#


 CONSISTENCYCHECK <Controller#> EVENTNOTIFY <Enable | Disable>

Disabling Consistency Checks

Function

Disable consistency checks.

Syntax

arcconf consistencycheck controller_id off

Parameter Description

Parameter

Description

Value

controller_id

Controller card ID

Example

# Disable consistency checks.

[root@localhost ~]# arcconf consistencycheck 1 off
Controllers found: 1

Command completed successfully.



CONSISTENCYCHECK <Controller#> <On [Delay]|Off> [noprompt] [nologs]

Querying and Setting the Drive Write Cache Policy

Function

Query and set the drive write cache policy.

Syntax

arcconf getconfig controller_id ad

arcconf setcache controller_id drivewritecachepolicy drivetype cachepolicy drivetype cachepolicy...

Parameter description

Parameter

Description

Value

controller_id

Controller card ID

-

drivetype

Type of the drive for which the write cache policy is to be set.

  • Configured: sets the write cache policy of member drives in a RAID array in RAID or Mixed mode.
  • Unconfigured: sets the write cache policy of member drives in a non-RAID array in RAID or Mixed mode.
  • HBA: sets the write cache policy for drives in HBA mode.

cachepolicy

Hard drive cache policy.

  • 0: Default. Keeps the write cache of the drive in the default status.
  • 1: Enabled. Enables the write cache function of the drive.
  • 2: Disabled. Disables the write cache function of the drive.

Example

# Set the cache write policy to Enabled for drives in the Configured state and to Disabled for drives in the Unconfigured state.

[root@localhost ~]# ./arcconf setcache 1 drivewritecachepolicy Configured 1 Unconfigured 2
Controllers found: 1
Enabling controller drive write cache can increase write performance but risks losing the data in the cache on sudden loss.

Command completed successfully.

# Query the write cache policy of the current hard drive.

[root@localhost ~]# ./arcconf getconfig 1 ad
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
   Controller Statue             : Optimal
   Controller Mode               :Mixed
   Channle description           :SCSI
  
...
----------------------------------------------------------------------
Physical Drive Write Cache Policy Information 
----------------------------------------------------------------------
Configured Drives                :Enabled
Unconfigured Drives              :Disabled
HBA Drives                       :Default
----------------------------------------------------------------------
...

Collecting Firmware Logs

Function

Collect firmware logs of a controller card.

Syntax

arcconf SAVESUPPORTARCHIVE

Example

# Collect firmware logs of a controller card.

[root@linux /]# arcconf SAVESUPPORTARCHIVE
Controllers found: 1

 Usage: SAVESUPPORTARCHIVE [Path] [Firmware|GUI|Arcconf|Storlib|Basecode|Redfish]
 Example: SAVESUPPORTARCHIVE C:\Adaptec\maxView Firmware
 Example: SAVESUPPORTARCHIVE /var/log/maxView Storlib
 Example: SAVESUPPORTARCHIVE
 Example: SAVESUPPORTARCHIVE .
 ===================================================================================

 Saves  all the logs
    Path          : directory other than default
    Firmware      : saves Firmware logs
    GUI           : saves GUI logs
    Arcconf       : saves Arcconf logs
    StorLib       : saves StorLib logs
    Basecode      : saves Basecode logs
    Redfish       : saves Redfish logs

The path is not specified, Using the default.
The logs are saved in relevant folders in /var/log/Support

Command completed successfully.

Setting the Drive and LD Status

Function

Set the status of the drive, LD, and MaxCache.

Syntax

Syntax

Function

arcconf setstate controller_id device physical_id state

Set the drive status.

arcconf setstate controller_id logicaldrive LD_id optimal

Set the LD status to optimal.

arcconf setstate controller_id maxcache LD_id optimal

Set the MaxCache status to optimal.

Parameter Description

Parameter

Description

Value

controller_id

Controller card ID

physical_id

Physical ID of a drive

state

Sets the drive status.

  • hsp: sets the drive as a hot spare drive. For details, see Setting a Hot Spare Drive for an LD.
  • rdy: removes the hot spare state of a drive or changes the drive state from fail to ready.
  • ddd: forcibly sets the drive status to offline (faulty).
  • eed: enables the erased drive.

array_id

Array ID

type

Specifies the hot spare type.

  • 1: dedicated spare (dedicated hot spare drive)
  • 2: auto replace spare (global hot spare drive)

LD_id

ID of an LD

Usage Guidelines

Before replacing an LD member drive, you are advised to set the LD status to optimal to prevent array failures caused by incorrect insertion and removal.

Example

# Set the hard drive to offline.

[root@localhost ~]# arcconf setstate 1 device 0 11 ddd
Controllers found: 1
Changing state from Ready to Failed may delete any data partitions present on the drive.

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


Command completed successfully.

# Set the LD status to optimal.

[root@localhost ~]# arcconf setstate 1 logicaldrive 0 optimal
Controllers found: 1
Attention: Using advanced options to force a logical device online is a dangerous operation and
requires substantial knowledge of the RAID level and the nature of the logical device failure.
Even if this operation can force the logical device online,
all data on this logical device may be lost if one or more disks contain outdated data.

All available disk segments that constitute this logical device will be forced online;
the data they contain will be used as valid data.
If you are not sure, abort and contact your service representative.

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


Command completed successfully.

# Set the MaxCache status to optimal.

[root@localhost ~]# arcconf setstate 1 maxcache 1 optimal
Controllers found: 1
Attention: Using advanced options to force a maxCache logical device online is a dangerous operation and
requires substantial knowledge of the RAID level and the nature of the maxCache logical device failure.
Even if this operation can force the maxCache logical device online,
all data on this maxCache logical device may be lost if one or more disks contain outdated data.

All available disk segments that constitute this maxCache logical device will be forced online;
the data they contain will be used as valid data.
If you are not sure, abort and contact your service representative.

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

Command completed successfully.

Setting the SSD I/O Bypass Status

Function

Set the SSD I/O bypass status.

Syntax

arcconf setarrayparam controller_id array_id ssdiobypass state

Parameter Description

Parameter

Description

Value

controller_id

Controller card ID

array_id

Array ID

state

Enables or disables SSD I/O bypass

  • enable: enables SSD I/O Bypass.
  • disable: disables SSD I/O Bypass.

Usage Guidelines

None

Example

# Disable SSD I/O bypass.

[root@localhost ~]# arcconf setarrayparam 1 2 ssdiobypass disable
Controllers found: 1

Disabling SSD I/O bypass will impact the performance of all the logical device(s) in the array. You can enable the controller caching on logical device(s) to improve performance.

Command completed successfully.
Translation
Favorite
Download
Update Date:2024-04-02
Document ID:EDOC1100048773
Views:2362072
Downloads:1744
Average rating:3.67Points

Digital Signature File

digtal sigature tool