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

Querying RAID Array Information

Function

Query information about the RAID array of the LSI SoftRAID.

Format

MegaCli64 -ldinfo -lall -acontroller_id

MegaCli64 -ldinfo -lVD_id -acontroller_id

Parameter Description

Parameter

Parameter Description

Value

controller_id

Controller ID.

VD_id

RAID array ID.

Example

# Query information about all RAID arrays.

[root@localhost ~]# MegaCli64 -ldinfo -lall -a1


Adapter 1 -- Virtual Drive Information:
Virtual Drive: 0 (Target Id: 0)
Name                :
RAID Level          : Primary-1, Secondary-0, RAID Level Qualifier-0
Size                : 446.102 GB
Sector Size         : 512
Is VD emulated      : No
Mirror Data         : 446.102 GB
State               : Optimal
Strip Size          : 64 KB
Number Of Drives    : 2
Span Depth          : 1
Default Cache Policy: WriteThrough, ReadAhead, Direct, No Write Cache if Bad BBU
Current Cache Policy: WriteThrough, ReadAhead, Direct, No Write Cache if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy   : Disabled
Encryption Type     : None
Is VD Cached: No



Exit Code: 0x00

# Query information about VD1.

[root@localhost ~]# MegaCli64 -ldinfo -l0 -a1


Adapter 1 -- Virtual Drive Information:
Virtual Drive: 0 (Target Id: 0)
Name                :
RAID Level          : Primary-1, Secondary-0, RAID Level Qualifier-0
Size                : 446.102 GB
Is VD emulated      : No
Mirror Data         : 446.102 GB
State               : Optimal
Strip Size          : 64 KB
Number Of Drives    : 2
Span Depth          : 1
Default Cache Policy: WriteThrough, ReadAhead, Direct, No Write Cache if Bad BBU
Current Cache Policy: WriteThrough, ReadAhead, Direct, No Write Cache if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy   : Disabled
Encryption Type     : None
Is VD Cached: No



Exit Code: 0x00

Querying Hard Drive Information

Function

Query information about all physical hard drives.

Format

MegaCli64 -pdlist -aall

MegaCli64 -pdInfo -PhysDrv[:slot_id] -acontroller_id

Parameter Description

Parameter

Parameter Description

Value

slot_id

Hard drive slot number.

-

controller_id

Controller ID.

-

Example

# Query information about all physical hard drives.

[root@localhost ~]# MegaCli64 -pdlist -aall

Adapter #0

Adapter #1

Enclosure Device ID: N/A
Slot Number: 0
Drive's position: DiskGroup: 0, Span: 0, Arm: 0
Enclosure position: N/A
Device Id: 0
WWN: 5002538c000aee64
Sequence Number: 0
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SATA

Raw Size: 447.130 GB [0x37e436b0 Sectors]
Non Coerced Size: 446.630 GB [0x37d436b0 Sectors]
Coerced Size: 446.102 GB [0x37c34800 Sectors]
Sector Size:  512
Logical Sector Size:  512
Physical Sector Size:  512
Firmware state: Online, Spun Up
Device Firmware Level: 104Q
Shield Counter: 0
Successful diagnostics completion on :  N/A
SAS Address(0): 0x0
Connected Port Number: 0
Inquiry Data: S3F4NY0HB00373      SAMSUNG MZ7KM480HMHQ-00005              GXM5104Q
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 6.0Gb/s
Link Speed: 6.0Gb/s
Media Type: Solid State Device
Drive Temperature :32C (89.60 F)
PI Eligibility:  No
Drive is formatted for PI information:  No
PI: No PI
Port-0 :
Port status: Active
Port's Linkspeed: 6.0Gb/s
Drive has flagged a S.M.A.R.T alert : No



Enclosure Device ID: N/A
Slot Number: 1
Drive's position: DiskGroup: 0, Span: 0, Arm: 1
Enclosure position: N/A
Device Id: 1
WWN: 500253850026ae85
Sequence Number: 0
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SATA

Raw Size: 447.130 GB [0x37e436b0 Sectors]
Non Coerced Size: 446.630 GB [0x37d436b0 Sectors]
Coerced Size: 446.102 GB [0x37c34800 Sectors]
Sector Size:  512
Logical Sector Size:  512
Physical Sector Size:  512
Firmware state: Online, Spun Up
Device Firmware Level: 203Q
Shield Counter: 0
Successful diagnostics completion on :  N/A
SAS Address(0): 0x0
Connected Port Number: 1
Inquiry Data: S1G1NYAG308096      SAMSUNG MZ7WD480HCGM-00003              DXM9203Q
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 6.0Gb/s
Link Speed: 6.0Gb/s
Media Type: Solid State Device
Drive Temperature :28C (82.40 F)
PI Eligibility:  No
Drive is formatted for PI information:  No
PI: No PI
Port-0 :
Port status: Active
Port's Linkspeed: 6.0Gb/s
Drive has flagged a S.M.A.R.T alert : No



Enclosure Device ID: N/A
Slot Number: 2
Enclosure position: N/A
Device Id: 2
WWN: 5002538c000aee5a
Sequence Number: 0
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SATA

Raw Size: 447.130 GB [0x37e436b0 Sectors]
Non Coerced Size: 446.630 GB [0x37d436b0 Sectors]
Coerced Size: 446.102 GB [0x37c34800 Sectors]
Sector Size:  512
Logical Sector Size:  512
Physical Sector Size:  512
Firmware state: Unconfigured(good), Spun Up
Device Firmware Level: 104Q
Shield Counter: 0
Successful diagnostics completion on :  N/A
SAS Address(0): 0x0
Connected Port Number: 2
Inquiry Data: S3F4NY0HB00363      SAMSUNG MZ7KM480HMHQ-00005              GXM5104Q
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 6.0Gb/s
Link Speed: 6.0Gb/s
Media Type: Solid State Device
Drive Temperature :32C (89.60 F)
PI Eligibility:  No
Drive is formatted for PI information:  No
PI: No PI
Port-0 :
Port status: Active
Port's Linkspeed: 6.0Gb/s
Drive has flagged a S.M.A.R.T alert : No

# Query information about the hard drive in slot 2.

[root@localhost ~]# MegaCli64 -pdInfo -PhysDrv[:1] -a1

Enclosure Device ID: N/A
Slot Number: 1
Drive's postion: DiskGroup: 0, Span: 0, Arm: 1
Enclosure position: N/A
Device Id: 1
WWN: 500253850026ae85
Sequence Number: 0
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SATA

Raw Size: 447.130 GB [0x37e436b0 Sectors]
Non Coerced Size: 446.630 GB [0x37d436b0 Sectors]
Coerced Size: 446.102 GB [0x37c34800 Sectors]
Emulated Drive: No
Firmware state: Online, Spun Up
Device Firmware Level: 203Q
Shield Counter: 0
Successful diagnostics completion on :  N/A
SAS Address(0): 0x0
Connected Port Number: 1
Inquiry Data: S1G1NYAG308096      SAMSUNG MZ7WD480HCGM-00003           

   DXM9203Q
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 6.0Gb/s
Link Speed: 6.0Gb/s
Media Type: Solid State Device
Drive Temperature :33C (91.40 F)
PI Eligibility:  No
Drive is formatted for PI information:  No
PI: No PI
Port-0 :
Port status: Active
Port's Linkspeed: 6.0Gb/s
Drive has flagged a S.M.A.R.T alert : No




Exit Code: 0x00
[root@localhost ~]#

Creating a RAID Array

Function

Create a RAID 0, RAID 1, or RAID 5 array.

For details about how to create a RAID 10 array , see Creating RAID 10.

Format

MegaCli64 -cfgldadd -rlevel[:slot_id,:slot_id] -acontroller_id

Parameter Description

Parameter

Parameter Description

Value

level

RAID array level to be configured.

The value can be 0, 1, or 5.

slot_id

Hard drive slot number.

-

controller_id

Controller ID.

-

Example

# Create a RAID 1 array.

[root@localhost ~]# MegaCli64 -cfgldadd -r1[:2,:3] -a1

Adapter 1: Created VD 1

Adapter 1: Configured the Adapter!!

Exit Code: 0x00

Creating RAID 10

Function

Create a RAID 10 array.

Format

MegaCli64 -cfgspanadd -rlevel -array0[:slot_id,:slot_id] -array1[:slot_id,:slot_id] -acontroller_id

Parameter Description

Parameter

Parameter Description

Value

level

RAID array level to be configured.

-

slot_id

Hard drive slot number.

-

controller_id

Controller ID.

-

Example

# Create a RAID 10 array.

[root@localhost ~]# MegaCli64 -cfgspanadd -r10 -array0[:2,:3] -array1[:4,:5] -a1

Adapter 1: Created VD 1

Adapter 1: Configured the Adapter!!

Exit Code: 0x00

Deleting a RAID Array

Function

Delete a RAID array.

Format

MegaCli64 -cfglddel -lVD_id -acontroller_id

Parameter Description

Parameter

Parameter Description

Value

VD_id

RAID array ID.

-

controller_id

Controller ID.

-

Example

# Delete a RAID array.

[root@localhost ~]# MegaCli64 -cfglddel -l1 -a1

Adapter 1: Deleted Virtual Drive-1(target id-1)

Exit Code: 0x00

Setting the Hard Drive Indicator Status

Function

Pinpoint the position of a hard drive by setting its indicator status.

Format

MegaCli64 -PDLocate -Start -PhysDrv[:slot_id] -acontroller_id

MegaCli64 -PDLocate -Stop -PhysDrv[:slot_id] -acontroller_id

Parameter Description

Parameter

Parameter Description

Value

slot_id

Hard drive slot number.

-

controller_id

Controller ID.

-

Example

# Turn on the indicator of the hard drive in slot 0.

[root@localhost ~]# MegaCli64 -PDLocate -Start -PhysDrv[:0] -a1

Adapter: 1: Device at EnclId-N/A SlotId-0  -- PD Locate Start Command was successfully sent to Firmware

Exit Code: 0x00

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

[root@localhost ~]# MegaCli64 -PDLocate -Stop -PhysDrv[:0] -a1

Adapter: 1: Device at EnclId-N/A SlotId-0  -- PD Locate Stop Command was successfully sent to Firmware

Exit Code: 0x00

Configuring and Deleting a Global Hot Spare Drive

Function

Configure or delete a global hot spare drive.

Format

MegaCli64 -pdhsp -set -physdrv[:slot_id] -acontroller_id

MegaCli64 -pdhsp -rmv -physdrv[:slot_id] -acontroller_id

Parameter Description

Parameter

Parameter Description

Value

slot_id

Hard drive slot number.

-

controller_id

Controller ID.

-

Example

# Set the hard drive in slot 2 as a global hot spare drive.

[root@localhost ~]# MegaCli64 -pdhsp -set -physdrv[:2] -a1

Adapter: 1: Set Physical Drive at EnclId-N/A SlotId-2 as Hot Spare Success.

Exit Code: 0x00

# Delete the global hot spare drive.

[root@localhost ~]# MegaCli64 -pdhsp -rmv -physdrv[:2] -a1

Adapter: 1: Remove Physical Drive at EnclId-N/A SlotId-2 as Hot Spare Success.

Exit Code: 0x00
Translation
Download
Updated: 2019-11-01

Document ID: EDOC1000004186

Views: 704696

Downloads: 20579

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