所选语种没有对应资源,请选择:

本站点使用Cookies,继续浏览表示您同意我们使用Cookies。Cookies和隐私政策>

提示

尊敬的用户,您的IE浏览器版本过低,为获取更好的浏览体验,请升级您的IE浏览器。

升级

华为V2&V3服务器 RAID 控制卡 用户指南 36

本文档介绍RAID控制扣卡LSI SAS2208、LSI SAS2308、LSI SAS3008、LSI SAS3108、LSI SoftRAID、PM8060、PM8068的外观及特性、如何配置RAID、如何安装驱动软件等信息。
评分并提供意见反馈 :
华为采用机器翻译与人工审校相结合的方式将此文档翻译成不同语言,希望能帮助您更容易理解此文档的内容。 请注意:即使是最好的机器翻译,其准确度也不及专业翻译人员的水平。 华为对于翻译的准确性不承担任何责任,并建议您参考英文文档(已提供链接)。
常用命令

常用命令

查询RAID组信息

命令功能

查询LSI SoftRAID的RAID组的相关信息。

命令格式

MegaCli64 -ldinfo -lall -acontroller_id

MegaCli64 -ldinfo -lVD_id -acontroller_id

参数说明

参数

参数说明

取值

controller_id

控制器ID

VD_id

RAID组的ID

使用实例

# 查询所有RAID组的信息。

[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

# 查询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

查询硬盘信息

命令功能

查询所有物理硬盘的相关信息。

命令格式

MegaCli64 -pdlist -aall

MegaCli64 -pdInfo -PhysDrv[:slot_id] -acontroller_id

参数说明

参数

参数说明

取值

slot_id

硬盘的槽位号

-

controller_id

控制器ID

-

使用实例

# 查询所有物理硬盘的信息。

[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

# 查询slot1 硬盘的信息。

[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 ~]#

创建RAID

命令功能

创建RAID0、RAID1或RAID5。

创建RAID10的方法请参见创建RAID10

命令格式

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

参数说明

参数

参数说明

取值

level

要配置的RAID级别

可为0、1、5,数字分别代表对应的RAID级别。

slot_id

硬盘槽位号

-

controller_id

控制器ID

-

使用实例

# 创建RAID1。

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

Adapter 1: Created VD 1

Adapter 1: Configured the Adapter!!

Exit Code: 0x00

创建RAID10

命令功能

创建RAID10。

命令格式

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

参数说明

参数

参数说明

取值

level

要配置的RAID级别

-

slot_id

硬盘槽位号

-

controller_id

控制器ID

-

使用实例

# 创建RAID10。

[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

删除RAID

命令功能

删除RAID组。

命令格式

MegaCli64 -cfglddel -lVD_id -acontroller_id

参数说明

参数

参数说明

取值

VD_id

RAID组的ID

-

controller_id

控制器ID

-

使用实例

#删除RAID组。

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

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

Exit Code: 0x00

设置硬盘定位指示灯状态

命令功能

点亮和关闭指定硬盘的定位指示灯。

命令格式

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

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

参数说明

参数

参数说明

取值

slot_id

硬盘槽位号

-

controller_id

控制器ID

-

使用实例

# 点亮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

# 关闭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

设置/删除全局热备盘

命令功能

设置、删除全局热备盘。

命令格式

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

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

参数说明

参数

参数说明

取值

slot_id

硬盘的槽位号

-

controller_id

控制器ID

-

使用实例

#将slot 2的硬盘设置为全局热备盘。

[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

#删除全局热备盘。

[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
翻译
下载文档
更新时间:2019-11-01

文档编号:EDOC1000004345

浏览量:435807

下载量:126771

平均得分:
本文档适用于这些产品
相关版本
相关文档
Share
上一页 下一页