• 产品与解决方案
  • 行业解决方案
  • 服务
  • 支持
  • 合作伙伴
  • 新华三人才研学中心
  • 关于我们

H3C G3&G5服务器 存储控制卡用户指南-6W125

08-第8章 H460&P460&P2404&P4408系列

本章节下载 08-第8章 H460&P460&P2404&P4408系列  (12.46 MB)

docurl=/cn/Service/Document_Software/Document_Center/Home/Server/00-Public/Configure/User_Manual/H3C_G3_G5_UM-15875-Long/202312/1989694_30005_0.htm

08-第8章 H460&P460&P2404&P4408系列


8 H460&P460&P2404&P4408系列

本节介绍如下型号的存储控制卡,支持最大12Gbit/s的接口速率。部分存储控制卡支持缓存模块,极大地提升了性能和数据安全性。存储控制卡的详细信息及缓存模块支持信息,请参见http://www.h3c.com/cn/home/qr/default.htm?id=315

·     HBA-H460-M1

·     HBA-H460-B1

·     RAID-P460-M2

·     RAID-P460-B2

·     RAID-P460-M4

·     RAID-P460-B4

·     RAID-P2404-Mf-4i

·     RAID-P4408-Mf-8i

·     RAID-P4408-Ma-8i-2GB

8.1  概述

8.1.1  工作模式

本节介绍的存储控制卡支持如下三种工作模式:

·     HBA模式:系统可直接识别该阵列控制卡对应的所有物理磁盘,并禁用RAID功能。

·     RAID模式:使用多个物理磁盘配置RAID,系统只能识别到RAID。

·     Mixed模式(缺省):物理磁盘和RAID都对系统可见。

说明

·     在系统存在RAID的情况下,存储控制卡的工作模式不能切换到HBA模式,必须删除所有的RAID才能切换到HBA模式。

·     切换存储控制卡工作模式后,请重新启动服务器使新工作模式生效。

·     切换存储控制卡工作模式后,原模式的系统盘可能出现异常,从而导致操作系统无法正常启动,此时可尝试重新安装操作系统,如仍无法解决,请联系技术支持。

 

8.1.2  支持的RAID级别

各存储控制卡支持的RAID级别略有不同,详细信息请参见http://www.h3c.com/cn/home/qr/default.htm?id=315,各RAID级别对应的成员盘数量如表8-1所示。关于RAID级别的说明,请参见“附录B 磁盘阵列和容错方法”。

表8-1 RAID级别磁盘数量说明

RAID级别

最少磁盘数

最多故障盘数

RAID 0

1

0

RAID 1

2

1

RAID 1 ADM

3

2

RAID 5

3

1

RAID 6

4

2

RAID 10

4

nn为组成RAID 10RAID 1的个数)

RAID 10 ADM

6

2nn为组成RAID 10 ADMRAID 1 ADM的个数)

RAID 50

6

nn为组成RAID 50RAID 5的个数)

RAID 60

8

2nn为组成RAID 60RAID 6的个数)

 

8.1.3  热备盘

配置RAID后,通常会配置热备盘来提高数据的安全性。热备盘是RAID系统中处于备用状态的正常磁盘,磁盘中不含数据。具有冗余功能的RAID中的某个或多个磁盘故障后,热备盘自动接替故障磁盘,并在该磁盘上重建故障磁盘中的数据。

本节介绍的存储控制卡支持如下两种类型的热备盘,热备盘模式简介请参见本手册第二章:

·     Dedicated Spare(专用热备盘)

·     Auto Replace(自动替换热备盘)

8.1.4  RAID配置注意事项

·     建议用户安装没有RAID信息的硬盘。

·     请确保组建同一RAID的所有硬盘类型相同,否则会因硬盘性能不同而造成RAID性能下降或者无法创建RAID。即满足如下两点:

¡     所有硬盘均为SAS或SATA硬盘。

¡     所有硬盘均为HDD或SSD硬盘。

·     建议组建同一RAID的所有硬盘容量相同。当硬盘容量不同时,系统以最小容量的硬盘为准,即将所有硬盘容量都视为最小容量。

·     不建议将一个硬盘用在多个RAID中,该情况会使后期维护变得复杂,并影响RAID的性能。

8.2  UEFI启动模式下配置RAID

本节介绍在UEFI启动模式下通过存储控制卡配置RAID的方法。关于进入BIOS界面和设置BIOS启动模式为UEFI的详细介绍,请参见BIOS用户指南中的对应章节。

8.2.1  初始功能配置

1. 进入存储控制卡配置界面

说明

不同BIOS版本的界面有所差异,本手册仅以其中一种BIOS版本举例,操作界面请以实际情况为准。

 

(1)     服务器上电后,在BIOS启动界面,根据提示按下DeleteEsc(部分产品按DeleteF2)进入如图8-1所示的BIOS Setup界面(部分产品进入Front界面,请选择Device Management,进入设备管理菜单)。请参考界面右下角的按键操作提示,以实现在界面中导航和修改设置。

图8-1 BIOS Setup界面

 

(2)     如图8-2,进入Advanced页签,并选择存储控制器(如:UN HBA H460-B1,按Enter

图8-2 选择存储控制器

 

 

(3)     进入图8-3所示存储控制卡配置界面。

图8-3 存储控制卡配置界面

 

2. 切换工作模式

(1)     如图8-4所示,在存储控制卡配置界面选择Configure Controller Settings,按Enter

图8-4 存储控制卡配置界面

 

(2)     进入图8-5所示界面,选择Modify Controller Settings,按Enter

说明

图8-5所示界面,通过“Modify Controller Settings”和“Configure Controller Port Mode”两个选项均能实现切换工作模式的目的,本文以“Modify Controller Settings”为例。

 

图8-5 Configure Controller Settings界面

 

(3)     进入图8-6所示界面,在Port CN0 ModePort CN1 Mode栏,更改存储控制卡的工作模式(建议将二者工作模式保持一致),然后选择[Submit Changes],按Enter

图8-6 Modify Controller Settings界面

 

说明

·     图8-6所示的是存储控制卡中还未创建过RAID的Controller配置界面。若已经存在了RAID,则界面显示如图8-7所示。

·     若存储控制卡中已创建了RAID,切换HBA模式前,需要删除所有已存在的RAID,否则无法切换HBA模式。

 

图8-7 Modify Controller Settings界面

 

3. 配置RAID

(1)     如图8-8所示,在存储控制卡配置界面选择Array Configuration,按Enter

图8-8 存储控制卡配置界面

 

(2)     进入图8-9所示界面,选择Create Array,按Enter

图8-9 Array Configuration界面

 

(3)     进入图8-10所示界面,选择要使用的磁盘(Enabled表示选中),然后选择[Proceed to next Form],按Enter

图8-10 选择磁盘

 

(4)     进入图8-11所示界面,在RAID Level一栏设置RAID级别,然后选择[Proceed to next Form],按Enter

图8-11 设置RAID级别

 

(5)     进入图8-12所示界面,在Logical Drive Label、Stripe Size/Full Stripe Size、Size、Unit Size和Acceleration Method栏进行相应的设置(参数说明请参见表8-2),然后选择[Submit Changes],按Enter

图8-12 设置相关参数

 

表8-2 参数说明

参数

说明

Logical Drive Label

RAID的名称

Stripe Size/Full Stripe Size

条带大小,写在每块磁盘上的条带数据块的大小

Size

逻辑盘容量

Unit Size

单元大小

Acceleration Method

逻辑盘缓存模式设置

 

(6)     RAID创建完成后,在存储控制卡配置界面选择Array Configuration->Manage Arrays,按Enter,进入如图8-13所示界面,选择需要查看的RAID,按Enter

图8-13 选择需要查看的RAID

 

(7)     进入如图8-14所示界面,选择List Logical Drives,选择需要查看的RAID,按Enter

图8-14 选择List Logical Drives

 

(8)     进入图8-15所示界面,选择Logical Drive 2,按Enter

图8-15 选择Logical Drive 2

 

(9)     进入图8-16所示界面,选择Logical Drive Details,按Enter,即可查看该RAID的详细信息(包括RAID名称、级别,所含磁盘信息等)。

图8-16 选择Logical Drive Details

 

8.2.2  常用功能配置

1. 查看存储控制卡属性

(1)     如图8-17所示,在存储控制卡配置界面选择Controller Information,按Enter

图8-17 存储控制卡配置界面

 

(2)     显示存储控制卡基本信息,如图8-18所示。

图8-18 Controller Information

 

表8-3 参数说明

参数

说明

Controller

存储控制卡名称

Device Id

设备编号

PCI Slot number

BIOS分配给RAID控制卡的PCI总线地址

PCI Address

存储控制卡的PCI地址

Hardware Revision

硬件修订版本

Negotiated PCIe Data Rate

PCIe数据协商速率

Serial Number

存储控制卡序列号

WWID

RAID控制卡的唯一标识号

Firmware version

固件版本

Firmware release date

固件发布时间

UEFI Driver version

UEFI驱动版本

UEFI Driver release date

UEFI驱动发布时间

Controller Memory Module Size

存储控制卡cache大小

Controller Status

存储控制控制卡状态

Expander Minimum Scan Duration(Seconds)

Expander最小扫描持续时间(秒)

Expander Scan Time-Out(Seconds)

Expander扫描超时时间(秒)

Controller Mode

存储控制卡的当前的使用模式,有RAID/Mixed/HBA三种模式。

·     RAID模式:控制器下的逻辑盘会上报OS,但直通盘不会报送给OS。即在该模式下,硬盘必须先加入RAID组才可以在OS下使用。

·     HBA模式:控制器的所有RAID功能都被禁用,控制器下所有硬盘被视为直通盘。该模式下,硬盘以直通方式使用。

·     Mixed模式:RAID逻辑盘和直通盘都会报送给OS。即该模式支持硬盘以RAID方式和直通方式使用。

默认为“Mixed”模式。

Supported Modes

RAID控制卡Port口的支持模式。

·     Port CN0:RAID HBA Mixed

·     Port CN1:RAID HBA Mixed

 

2. 配置热备盘

(1)     如图8-19所示,在存储控制卡配置界面选择Array Configuration,按Enter

图8-19 存储控制卡配置界面

 

(2)     进入图8-20所示界面,选择Manage Arrays,按Enter

图8-20 Array Configuration界面

 

(3)     进入图8-21所示界面,选择要配置热备盘的阵列,按Enter

图8-21 选择阵列

 

(4)     进入图8-22所示界面,选择Manage Spare Drives,按Enter

图8-22 选择Manage Spare Drivers

 

(5)     进入图8-23所示界面,选择Assign Dedicated Spare(为指定的阵列配置热备盘)或Assign Auto Replace Spare(自动替换故障磁盘),按Enter

图8-23 选择热备盘类型

 

(6)     进入图8-24所示界面,选择要使用的磁盘,设置为Enabled,选择Assign Dedicated Spare,按Enter

图8-24 选择磁盘

 

3. 删除RAID

通过本功能可以删除阵列及阵列包含的逻辑磁盘。

说明

创建的阵列中包含多个逻辑磁盘时,使用本功能删除中间逻辑磁盘,可能会导致组成该阵列的物理磁盘扇区不连续,从而可能影响到磁盘的读写速度及限制RAID配置工具对逻辑磁盘的操作。为避免造成这样的影响,建议从后向前依次删除逻辑盘。

 

(1)     进入存储控制卡配置界面,具体方法请参见8.2.1  1. 进入存储控制卡配置界面

(2)     如图8-25所示,选择Array Configuration,按Enter

图8-25 存储控制卡配置界面

 

(3)     进入图8-26所示界面,选择Manage Arrays,按Enter

图8-26 Array Configuration界面

 

(4)     进入图8-27所示界面,选择待删除的RAID,按Enter

图8-27 选择待删除的RAID

 

(5)     进入图8-28所示界面,选择Delete Array,按Enter

图8-28 选择Delete Array

 

4. 查看磁盘信息

(1)     进入存储控制卡配置界面,具体方法请参见8.2.1  1. 进入存储控制卡配置界面

(2)     如图8-29所示,选择Disk Utilities,按Enter

图8-29 存储控制卡配置界面

 

(3)     进入图8-30所示界面,可以看到所有在位磁盘的信息。

图8-30 磁盘信息界面

 

5. 定位磁盘位置

(1)     接上步骤,在图8-30所示界面选择需要操作的磁盘,按Enter

(2)     进入图8-31所示界面,选择Identify Device,按Enter,进入图8-32所示界面,选择Start将该磁盘对应槽位的LED指示灯点亮,选择Stop关闭LED灯

图8-31 定位磁盘

 

图8-32 点亮LED灯

 

6. 磁盘数据擦除

(1)     在图8-30所示界面选择需要操作的物理磁盘,按Enter

(2)     进入图8-33所示界面,选择Erase Disk,按Enter

图8-33 物理盘数据擦除

 

(3)     进入图8-34所示界面,选择擦除模式,按Enter

图8-34 擦除模式选择

 

表8-4 擦除模式

选项

含义

Three-passes: Random + Random +All zeroes

对硬盘写入随机数两次,第三次全盘写0

Two-passes: Random +All zeroes

对硬盘写入随机数一次,第二次全盘写0

One-pass: Write All zeroes

对硬盘全盘写0

Restricted Sanitize Overwrite

受限的硬盘擦除,擦除失败后需要重新做擦除

Unrestricted Sanitize Overwrite

不受限制的硬盘擦除,如果擦除失败,对于可

恢复的硬盘,则不影响使用

 

(4)     进入图8-35所示界面,选择Start Erase,按Enter开始擦除数据。

图8-35 开始擦除数据

 

说明

·     仅RAID模式下支持磁盘数据擦除操作。

·     数据擦除仅支持物理盘,且正在对盘进行擦除操作时,关机/重启/热拔出硬盘等操作都可能会导致硬盘故障。

 

7. 更改存储控制卡配置信息

(1)     进入存储控制卡配置界面,具体方法请参见8.2.1  1. 进入存储控制卡配置界面

(2)     如图8-36所示,选择Configure Controller Settings,按Enter

图8-36 存储控制卡配置界面

 

(3)     进入图8-37所示界面,选择Modify Controller Settings,按Enter

图8-37 Configure Controller Settings界面

 

(4)     进入图8-38所示界面,可以更改存储控制卡的基本配置信息(当系统不存在逻辑磁盘时,则只能修改存储控制卡工作模式)。

图8-38 Modify Controller Settings界面

 

8. 清除存储控制卡的配置信息

(1)     进入存储控制卡配置界面,具体方法请参见8.2.1  1. 进入存储控制卡配置界面

(2)     如图8-39所示,选择Configure Controller Settings,按Enter

图8-39 存储控制卡配置界面

 

(3)     进入图8-40所示界面,选择Clear Configuration,按Enter

图8-40 Configure Controller Settings界面(HBA-H460-M1界面)

 

图8-41 Configure Controller Settings界面(RAID-P460-M2/RAID-P460-B2/RAID-P460-M4/RAID-P460-B4界面)

 

说明

RAID-P460-M2/RAID-P460-B2/RAID-P460-M4/RAID-P460-B4支持Backup Power Source选项,表示在接有超级电容的情况下支持掉电保护。

 

(4)     进入图8-42所示界面,选择Delete All Array Configurations或者Delete Configuration metadata on all physical drives,按Enter。本文以选择Delete All Array Configurations为例,操作方法类似。

图8-42 选择Delete All Array Configurations

 

表8-5 参数说明

参数

说明

Delete All Array Configurations

清除所有已创建的RAID及相关的阵列配置信息

Delete Configuration metadata on all physical drives

·     清除所有物理磁盘中残留的无效RAID信息

 

 

(5)     进入图8-43所示界面,选择Submit Changes,按Enter,清除所有RAID信息。

图8-43 选择Submit Changes

 

9. 设置HBA模式

(1)     进入存储控制卡配置界面,具体方法请参见8.2.1  1. 进入存储控制卡配置界面

(2)     如图8-44所示,在存储控制卡配置界面选择Configure Controller Settings,按Enter

图8-44 存储控制卡配置界面

 

(3)     进入图8-45所示界面,选择Configure Controller Port Mode,按Enter

图8-45 Configure Controller Settings界面

 

(4)     进入图8-46所示界面,将Set Controller Port Mode选择为HBA模式后,选择Submit Changes,按Enter

图8-46 Configure Controller Port Mode界面

 

10. 创建多个VD(Virtual Drive)

(1)     进入存储控制卡配置界面,具体方法请参见8.2.1  1. 进入存储控制卡配置界面

(2)     如图8-47所示,在存储控制卡配置界面选择Array Configuration,按Enter

图8-47 存储控制卡配置界面

 

(3)     进入图8-48所示界面,选择Manage Arrays,按Enter

图8-48 Array Configuration界面

 

(4)     选择需要新增加VD的Array,如图8-49的Array A。

图8-49 Manage Arrays界面

 

(5)     如图8-50所示,选择Create Logical Drive

图8-50 Array管理界面

 

(6)     进入图8-51所示界面,选择创建的级别、条带大小和容量等信息,完成创建。

图8-51 Create Logical Drive界面

 

 

11. 在线升级存储控制卡固件

注意

在BIOS下仅支持在线升级固件,如需升级Seeprom,请联系技术支持。

 

(1)     进入存储控制卡配置界面,具体方法请参见8.2.1  1. 进入存储控制卡配置界面

(2)     如图8-52所示,选择Administration,按Enter

图8-52 存储控制卡配置界面

 

(3)     进入图8-53所示界面,选择Flash Controller Firmware,按Enter

图8-53 Administration界面

 

(4)     进入图8-54所示界面,选择[select Firmware File to flash],按Enter

图8-54 选择[select Firmware File to flash]

 

(5)     进入图8-55所示界面,选择升级文件所在的目标设备,按Enter

图8-55 选择升级文件所在的设备

 

(6)     进入图8-56所示界面,找到并选择后缀为.bin升级文件(本例为luxor.bin),按Enter

图8-56 找到升级文件

 

(7)     进入图8-57所示界面,选择Flash Controller Firmware,按Enter,请等待升级完毕。

图8-57 执行固件升级操作

 

(8)     升级完成后,按F4,在弹出的对话框中选择Yes,保存后重新启动,使升级配置生效。

12. IO Bypass功能配置

(1)     如图8-58所示,在存储控制卡配置界面选择Array Configuration,按Enter

图8-58 存储控制卡配置界面

 

(2)     进入图8-59所示界面,选择Create Array,按Enter

图8-59 Array Configuration界面

 

(3)     进入图8-60所示界面,选择要使用的磁盘(Enabled表示选中),然后选择[Proceed to next Form],按Enter

图8-60 选择磁盘

 

(4)     进入图8-61所示界面,在RAID Level一栏设置RAID级别,然后选择[Proceed to next Form],按Enter

图8-61 设置RAID级别

 

(5)     进入图8-62所示界面,选择Acceleration Method,设置逻辑盘缓存模式,按Enter

图8-62 设置相关参数

 

(6)     如图8-63所示,选择IO Bypass,并完成后续RAID创建步骤。

说明

·     该功能仅限使用SSD硬盘创建RAID时选择。

·     当Logical Drive Label为aacraid时,不支持IO Bypass功能。

 

图8-63 选择IO Bypass

 

13. 逻辑磁盘强制上线

当发生离线状态的硬盘数量超出逻辑磁盘容错方法可承受的范围,管理工具界面逻辑磁盘会显示为Failed状态,此时可以使用Force Online功能使逻辑磁盘强制上线。存储控制卡的Force Online功能在UEFI启动模式下名称为Re-Enable。

注意

·     强制上线出现Failed状态的逻辑驱动器,逻辑驱动器上以前存在的数据可能无效或不可恢复,但可以在操作系统上重新格式化并使用该驱动器。

·     由于Force Online操作可能会改变逻辑磁盘中的数据,在执行Force Online前需要进行评估是否执行该操作。

 

(1)     如图8-64所示,在存储控制卡(如:RAID-P460-M2)配置界面选择Array Configuration,按Enter

图8-64 存储控制卡配置界面

 

(2)     进入图8-65所示界面,选择Manage Arrays,按Enter

图8-65 Array Configuration界面

 

(3)     进入图8-66所示界面,选择硬盘离线引起失败的Array,按Enter

图8-66 Manage Arrays界面

 

(4)     进入图8-67所示界面,选择List Logical Drives,按Enter

图8-67 硬盘离线引起失败的Array界面

 

(5)     进入如图8-68所示界面,选择处于Failed状态的逻辑磁盘,按Enter

图8-68 List Logical Drives界面

 

(6)     进入如图8-69界面,选择Re-Enable Logical Drives,按Enter

图8-69 处于Failed状态的逻辑磁盘界面

 

14. 设置Legacy BIOS模式下可引导操作系统的驱动器数

此功能用于设置Legacy BIOS模式下可引导操作系统的驱动器数(仅适用于Legacy BIOS模式),可以在UEFI或Legacy模式下设置,设置范围为0~8。

注意

若Legacy BIOS模式下可引导操作系统的驱动数量设置为0时,会导致操作系统无法正常启动,以及无法看到操作系统启动项。

 

(1)     如图8-70所示,在存储控制卡配置界面选择Set Bootable Device(s) for Legacy Boot Mode,按Enter

图8-70 存储控制卡配置界面

 

(2)     进入图8-71所示界面,选择Number of OS bootable drives,按Enter

图8-71 Set Bootable Device(s) for Legacy Boot Mode界面

 

(3)     进入图8-72所示界面,选择Number of OS bootable drives,设置可引导操作系统的驱动数量,按Enter

图8-72 设置可引导操作系统的驱动数量

 

8.3  Legacy启动模式下配置RAID

本节介绍在Legacy启动模式下通过存储控制卡配置RAID的方法。关于进入BIOS界面和设置BIOS启动模式为Legacy的详细介绍,请参见BIOS用户指南中的对应章节。

8.3.1  初始功能配置

1. 进入存储控制卡配置界面

说明

不同BIOS版本的界面有所差异,本手册仅以其中一种BIOS版本举例,操作界面请以实际情况为准。

 

本节介绍进入Legacy BIOS配置界面的步骤。

(1)     在BIOS启动过程中出现如图8-73所示界面,按Ctrl+A进入存储控制卡配置界面。可以查看RAID基本状态信息和版本信息。

图8-73 按Ctrl+A进入存储控制卡配置界面

 

(2)     进入图8-74所示的存储控制卡配置界面。

图8-74 存储控制卡配置界面

 

2. 切换工作模式

(1)     进入存储控制卡配置界面,具体方法请参见8.2.1  1. 进入存储控制卡配置界面

(2)     如图8-75所示,选择Configure Controller Settings,按Enter

图8-75 存储控制卡配置界面

 

(3)     进入图8-76所示界面,选择Configure Controller Port Mode,按Enter

图8-76 Configure Controller Settings界面

 

(4)     进入图8-77所示界面,选择Port CN0Port CN1,根据需要修改工作模式。

图8-77 Configure Controller Port Mode界面

 

3. 配置RAID

(1)     如图8-78所示,在存储控制卡配置界面选择Array Configuration,按Enter

图8-78 存储控制卡配置界面

 

(2)     进入图8-79所示界面,选择Create Array,按Enter

图8-79 Array Configuration界面

 

(3)     进入图8-80所示界面,选择要使用的磁盘,并按Space选中,然后按Enter

图8-80 选择磁盘

 

(4)     进入图8-81所示界面,对RAID Level、Logical Drive Name、Strip/Full Stripe Size、Parity Group Count 、Build Method、Size和Accleration Method进行相应的设置(具体参数说明请参见表8-6),然后选择Done,按Enter

图8-81 设置相关参数

 

表8-6 参数说明

参数

说明

RAID Level

RAID级别。RAID级别决定了磁盘性能、容错能力和逻辑磁盘的容量。

Logical Drive Name

RAID的名称。

Strip/Full Stripe Size

条带大小,写在每块磁盘上的条带数据块的大小。

Parity Group Count

奇偶校验组数,是指由几组RAID1或RAID5去创建RAID10或RAID50。

Build Method

创建方式。

Size

RAID容量。

Accleration Method

逻辑盘缓存模式设置。

 

(5)     如图8-82所示,创建完RAID后,选择Manage Arrays,按Enter

图8-82 选择Manage Arrays

 

(6)     如图8-83所示,选择需要查看的RAID,按Enter,即可查看该RAID的详细信息(包括RAID名称、级别,所含磁盘信息等)。

图8-83 选择需要查看的RAID

 

8.3.2  常用功能配置

1. 配置热备盘

说明

Legacy启动模式下,对于同一阵列,若已配置RAID并为阵列配置热备盘,则该热备盘对之后配置的RAID无效。请在配置完所有RAID后再添加热备盘。

 

(1)     如图8-84所示,在存储控制卡配置界面选择Array Configuration,按Enter

图8-84 存储控制卡配置界面

 

(2)     进入图8-85所示界面,选择Manage Arrays,按Enter

图8-85 Array Configuration界面

 

(3)     进入图8-86所示界面,选择要操作的RAID,按Ctrl+S添加热备盘。

图8-86 选择RAID

 

(4)     进入图8-87所示界面,选择要配置为热备盘的磁盘。

图8-87 选择磁盘

 

(5)     进入图8-88所示界面,选择热备类型,然后选择Done,按Enter

图8-88 选择热备盘类型

 

2. 配置启动项

·     设置物理磁盘为第一启动项

(1)     如图8-89所示,在存储控制卡配置界面选择Array Configuration,按Enter

图8-89 存储控制卡配置界面

 

(2)     进入图8-90所示界面,选择Select Boot Device,按Enter

图8-90 Array Configuration界面

 

(3)     进入图8-91所示界面,选择要使用的磁盘并按Ctrl+P选择,按Enter提交确认。

图8-91 选择要使用的磁盘

 

·     设置逻辑磁盘为第一启动项:

(1)     在存储控制卡配置界面选择Array Configuration,按Enter图8-92所示界面,选择Manage Arrays,按Enter

图8-92 Array Configuration界面

 

(2)     进入图8-93所示界面,选择要使用的RAID,按Enter

图8-93 选择RAID

 

(3)     如图8-94所示,按Ctrl+P调整该RAID的逻辑磁盘作为第一启动项。

图8-94 设置启动项

 

3. 删除RAID

(1)     进入存储控制卡配置界面,具体方法请参见8.2.1  1. 进入存储控制卡配置界面

(2)     如图8-95所示,选择Array Configuration,按Enter

图8-95 存储控制卡配置界面

 

(3)     进入图8-96所示界面,选择Manage Arrays,按Enter

图8-96 Array Configuration界面

 

(4)     进入图8-97所示界面,选择待删除的RAID,按Enter,然后按Delete删除RAID。

图8-97 选择RAID并删除

 

4. 查看磁盘信息

(1)     进入存储控制卡配置界面,具体方法请参见8.2.1  1. 进入存储控制卡配置界面

(2)     如图8-98所示,选择Disk Utilities,按Enter

图8-98 存储控制卡配置界面

 

(3)     进入图8-99所示界面,可以查看存储控制卡上连接的全部磁盘的信息。

图8-99 查看磁盘信息

 

5. 定位磁盘位置

(1)     上接步骤,选择待定位的磁盘,按Enter

(2)     进入如图8-100所示界面,选择Identify Drive,然后按Enter,执行磁盘定位操作,此时该磁盘对应槽位的蓝色指示灯点亮。

图8-100 定位磁盘位置

 

6. 磁盘数据擦除

(1)     在图8-99所示界面选择需要操作的物理磁盘,按Enter

(2)     进入图8-101所示界面,选择Secure Erase,按Enter

图8-101 磁盘擦除

 

(3)     进入图8-102所示界面,选择Yes,按Enter

图8-102 确认是否进行磁盘擦除

 

7. 设置存储控制卡配置信息

(1)     进入存储控制卡配置界面,具体方法请参见8.2.1  1. 进入存储控制卡配置界面

(2)     如图8-103所示,选择Configure Controller Settings,按Enter。

图8-103 存储控制卡配置界面

 

(3)     进入图8-104所示界面,选择Modify Controller Settings,按Enter

图8-104 Configure Controller Settings界面

 

(4)     进入图8-105所示界面,可查看存储控制卡的基本配置信息。

图8-105 Modify Controller Settings界面

 

(5)     按F6将存储控制卡配置信息恢复到缺省配置。

说明

图8-105所示配置界面,可对转换优先级、重建优先级等进行设置,但在一般情况下使用的是缺省配置。

 

8. 清除存储控制卡的配置信息

(1)     进入存储控制卡配置界面,具体方法请参见8.2.1  1. 进入存储控制卡配置界面

(2)     如图8-106所示,选择Configure Controller Settings,按Enter。

图8-106 存储控制卡配置界面

 

(3)     进入图8-107所示界面,选择Clear Configuration,按Enter

图8-107 Configure Controller Settings界面

 

(4)     进入图8-108所示界面,选择Delete All Array Configurations或者Delete RIS on All Physical drives,然后按Enter清除存储控制卡的配置信息,并在弹出的对话框中选择Yes,按Enter。本文以选择Delete All Array Configurations为例。

图8-108 Clear Configuration界面

 

表8-7 参数说明

参数

说明

Delete All Array Configurations

清除所有已创建的RAID及相关的阵列配置信息

Delete RIS on All Physical drives

清除所有物理磁盘中残留的无效RAID信息

 

(5)     出现如图8-109所示界面,表示存储控制卡配置信息已清除完成。

图8-109 清除完成

 

9. 逻辑磁盘强制上线

当发生离线状态的硬盘数量超出逻辑磁盘容错方法可承受的范围,管理工具界面逻辑磁盘会显示为Failed状态,因此可以使用Force Online功能使逻辑磁盘强制上线。存储控制卡的Force Online功能在Legacy启动模式下名称为Force Online LD

注意

·     强制上线出现Failed状态的逻辑驱动器,逻辑驱动器上以前存在的数据可能无效或不可恢复,但可以在操作系统上重新格式化并使用该驱动器。

·     由于Force Online操作可能会改变逻辑磁盘中的数据,在执行Force Online前需要进行评估是否执行该操作。

 

(1)     如图8-110所示,在存储控制卡(如:RAID-P460-M2)配置界面,选择Array Configuration,按Enter。

图8-110 存储控制卡配置界面

 

(2)     进入如图8-111所示界面,选择Manage Arrays,按Enter

图8-111 Array Configuration界面

 

(3)     进入如图8-112所示界面,选择硬盘离线引起失败的Array,按Enter

图8-112 Manage Arrays界面

 

(4)     进入如图8-113所示界面,选择处于Failed状态的逻辑磁盘,按Enter后按CTRL+F使RAID强制上线。

图8-113 硬盘离线引起失败的Array界面

 

10. 设置Legacy BIOS模式下可引导操作系统的驱动器数

此功能用于设置Legacy BIOS模式下可引导操作系统的驱动器数(仅适用于Legacy BIOS模式),可以在UEFI或Legacy模式下设置,设置范围为0~8。

注意

若Legacy BIOS模式下可引导操作系统的驱动数量设置为0时,会导致操作系统无法正常启动,以及无法看到操作系统启动项。

 

(1)     如图8-114所示,在存储卡(RAID-P460-M2)配置界面选择Controller Details,按Enter

图8-114 存储控制卡配置界面

 

(2)     进入图8-115所示界面,选择Number of OS bootable drives,设置可引导操作系统的驱动数量,按Enter

图8-115 设置可引导操作系统的驱动数量

 

8.4  下载和安装ARCCONF工具

本节介绍OS命令行工具的下载和安装步骤。OS命令行工具可在服务器正常运行中对RAID卡进行操作,无需重启服务器。

8.4.1  下载工具

(1)     登录https://www.h3c.com/cn/BizPortal/DownLoadAccessory/DownLoadAccessoryFilt.aspx

(2)     按照提示信息下载对应存储控制卡的固件安装包及版本说明书。

(3)     解压固件安装包后得到适用于不同操作系统的ARCCONF工具包。

8.4.2  安装工具

请参考固件版本说明书安装不同操作系统下的ARCCONF工具。

8.5  常用命令

本节介绍OS命令行工具常用命令的使用方法及示例。OS命令行工具可在服务器正常运行中对RAID卡进行操作,无需重启服务器。

8.5.1  升级存储控制卡固件

通过该命令可以升级存储控制卡的Firmware。

【命令】

arcconf romupdate controller_id fwfile

【参数】

controller_id:存储控制卡的ID。

fwfileFirmware升级所需的文件名。

【举例】

# 升级存储控制卡固件。

[root@localhost home]# arcconf romupdate 1 luxorc.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.

8.5.2  查询存储控制卡的基本信息

查询存储控制卡的基本信息。

【命令】

arcconf list controller_id

【参数】

controller_id:硬盘所在存储控制卡的ID。

【举例】

# 查询ID为1的控制器属性。

[root@localhost home]# arcconf list 1

Controllers found: 1

----------------------------------------------------------------------

Controller information

----------------------------------------------------------------------

   Controller ID             : Status, Slot, Mode, Name, SerialNumber, WWN

----------------------------------------------------------------------

   Controller 1:             : Optimal, Slot 19, Mixed, UN RAID P460-B2, UNKNOWN, 598F181BA1DBB000

 

----------------------------------------------------------------------

Array Information

----------------------------------------------------------------------

   Array ID                  : Status (Interface, TotalSize MB, FreeSpace MB)

----------------------------------------------------------------------

   Array 0                   : Ok (SATA SSD, 915725 MB, 0 MB)

 

----------------------------------------------------------------------

Logical device information

----------------------------------------------------------------------

   Logical ID                : Status (RAID, Interface, Size MB) Name

----------------------------------------------------------------------

   Logical 0                 : Optimal (1, Data, 457830 MB) LogicalDrv 0

 

----------------------------------------------------------------------

maxCache information

----------------------------------------------------------------------

   No maxCache device created

 

----------------------------------------------------------------------

Physical Device information

----------------------------------------------------------------------

   Physical ID               : State (Interface, BlockSize, SizeMB, Vendor, Model, Type) WWN, [Location]

----------------------------------------------------------------------

   Physical 0,8              : Online (SATA, 512 Bytes, 457862MB, ATA , INTEL SSDSC2KB480G8 , Solid State Drive) 500E004AAAAAAA00, [Enclosure 1, Slot 0(Connector 0:CN0)]

   Physical 0,9              : Online (SATA, 512 Bytes, 457862MB, ATA , INTEL SSDSC2KB480G8 , Solid State Drive) 500E004AAAAAAA01, [Enclosure 1, Slot 1(Connector 0:CN0)]

   Physical 0,10             : Ready (SATA, 512 Bytes, 457862MB, ATA , INTEL SSDSC2KB480G8 , Solid State Drive) 500E004AAAAAAA02, [Enclosure 1, Slot 2(Connector 0:CN0)]

   Physical 0,11             : Ready (SATA, 512 Bytes, 457862MB, ATA , INTEL SSDSC2KB480G8 , Solid State Drive) 500E004AAAAAAA03, [Enclosure 1, Slot 3(Connector 0:CN0)]

   Physical 0,12             : Ready (SATA, 512 Bytes, 457862MB, ATA , INTEL SSDSC2KB480G8 , Solid State Drive) 500E004AAAAAAA04, [Enclosure 1, Slot 4(Connector 0:CN0)]

   Physical 0,13             : Ready (SATA, 512 Bytes, 457862MB, ATA , INTEL SSDSC2KB480G8 , Solid State Drive) 500E004AAAAAAA05, [Enclosure 1, Slot 5(Connector 0:CN0)]

   Physical 0,14             : Ready (SATA, 512 Bytes, 457862MB, ATA , INTEL SSDSC2KB480G8 , Solid State Drive) 500E004AAAAAAA06, [Enclosure 1, Slot 6(Connector 0:CN0)]

   Physical 0,15             : Ready (SATA, 512 Bytes, 457862MB, ATA , INTEL SSDSC2KB480G8 , Solid State Drive) 500E004AAAAAAA07, [Enclosure 1, Slot 7(Connector 0:CN0)]

   Physical 2,0              : Ready (SES2, Not Applicable, Not Applicable, MSCC, SXP 36x12G, Enclosure Services Device) 500E004AAAAAAA7F, [Connector 0:CN0, Enclosure 1]

   Physical 2,1              : Ready (SES2, Not Applicable, Not Applicable, UN      , Virtual SGPIO, Enclosure Services Device) 598F181BA1DBB008, [Not Applicable]

 

 

Command completed successfully.

8.5.3  查询物理硬盘、Array、LD、适配器等相关信息

查询存储控制卡的基本信息。

【命令】

表8-8 查询存储控制卡信息

命令

功能

arcconf getconfig controller_id AD

查询适配器信息

arcconf getconfig controller_id LD

查询所有LD的信息

arcconf getconfig controller_id LD LD_id

查询特定LD的信息

arcconf getconfig controller_id PD

查询所有物理硬盘的信息

arcconf getconfig controller_id PD channel_id slot_id

查询特定物理硬盘的信息

arcconf getconfig controller_id AR

查询所有Array的信息

arcconf getconfig controller_id AR AR_id

查询特定Array的信息

 

【参数】

controller_id硬盘所在存储控制卡的ID。

LD_idLD的ID。

channel_id:硬盘的Channel ID。

slot_id:硬盘的Device ID。

AR_idArray的ID。

【举例】

# 查询所有Array的信息。

[root@localhost ~]# ./arcconf getconfig 1 ar
Controllers found: 1
----------------------------------------------------------------------
Array Information
----------------------------------------------------------------------
Array Number 0
   Name                                     : A
   Status                                   : Ok
   Interface                                : SATA SSD
   Total Size                               : 305152 MB
   Unused Size                              : 204800 MB
   Block Size                               : 512 Bytes
   Array Utilization                        : 32.77% Used, 67.23% Unused
   Type                                     : Data
   Transformation Status                    : Not Applicable
   Spare Rebuild Mode                       : Dedicated
   SSD I/O Bypass                           : Disabled
   --------------------------------------------------------
   Array Logical Device Information
   --------------------------------------------------------
   Logical 0                                : Optimal (1, Data, 49999 MB) LogicalDrv 0
   --------------------------------------------------------
   Array Physical Device Information
   --------------------------------------------------------
   Device 0                                 : Present (915715MB, SATA, SSD, Channel:0, Device:0)         18031A983BCA
   Device 1                                 : Present (152627MB, SATA, SSD, Channel:0, Device:1) CVPR1461036N160DGN
 
   --------------------------------------------------------
   Array Hotspare Information
   --------------------------------------------------------
   Device 3                                 : Dedicated Hot-Spare (457862MB, SATA, SSD, Channel:0, Device:3)             2029E247
 
 
 
Command completed successfully.
[root@localhost ~]#

# 查询所有LD的基本信息。

[root@localhost home]# arcconf getconfig 1 ld

Controllers found: 1

----------------------------------------------------------------------

Logical device information

----------------------------------------------------------------------

Logical Device number 0

   Logical Device name                        : LogicalDrv 0

   Disk Name                                  : /dev/sdg

   Block Size of member drives                : 512 Bytes

   Array                                      : 0

   RAID level                                 : 1

   Status of Logical Device                   : Optimal

   Size                                       : 457830 MB

   Stripe-unit size                           : 256 KB

   Full Stripe Size                           : 256 KB

   Interface Type                             : SATA SSD

   Device Type                                : Data

   Boot Type                                  : None

   Heads                                      : 255

   Sectors Per Track                          : 32

   Cylinders                                  : 65535

   Caching                                    : Enabled

   Mount Points                               : Not Mounted

   LD Acceleration Method                     : Controller Cache

   Volume Unique Identifier                   : 600508B1001C3F40059B7A4BF459DD3C

   --------------------------------------------------------

   Array Physical Device Information

   --------------------------------------------------------

   Device 8                                   : Present (457862MB, SATA, SSD, Connector:CN0, Enclosure:1, Slot:0) BTYF8316086G480BGN

   Device 9                                   : Present (457862MB, SATA, SSD, Connector:CN0, Enclosure:1, Slot:1) BTYF95230EMQ480BGN

 

 

 

 

Command completed successfully.

# 查询所有PD的基本信息。

[root@localhost home]# arcconf getconfig 1 pd

Controllers found: 1

----------------------------------------------------------------------

Physical Device information

----------------------------------------------------------------------

   Channel #0:

      Device #8

         Device is a Hard drive

         State                                : Online

         Drive has stale RIS data             : False

         Block Size                           : 512 Bytes

         Physical Block Size                  : 4K Bytes

         Transfer Speed                       : SATA 12.0 Gb/s

         Reported Channel,Device(T:L)         : 0,8(8:0)

         Reported Location                    : Enclosure 1, Slot 0(Connector 0:CN0)

         Array                                : 0

         Vendor                               : ATA

         Model                                : INTEL SSDSC2KB480G8

         Firmware                             : XCV10132

         Serial number                        : BTYF8316086G480BGN

         World-wide name                      : 500E004AAAAAAA00

         Reserved Size                        : 32768 KB

         Used Size                            : 457830 MB

         Unused Size                          : 0 MB

         Total Size                           : 457862 MB

         S.M.A.R.T.                           : No

         S.M.A.R.T. warnings                  : 0

         SSD                                  : Yes

         NCQ supported                        : Supported

         NCQ status                           : Enabled

         Boot Type                            : None

         Current Temperature                  : 27 deg C

         Maximum Temperature                  : 49 deg C

         Threshold Temperature                : 73 deg C

         PHY Count                            : 1

         Drive Configuration Type             : Data

         Drive Exposed to OS                  : False

         Sanitize Erase Support               : True

         Sanitize Lock Freeze Support         : True

         Sanitize Lock Anti-Freeze Support    : True

         Sanitize Lock Setting                : None

         Usage Remaining                      : 99 percent

         Estimated Life Remaining             : 39550

         SSD Smart Trip Wearout               : False

         56 Day Warning Present               : False

         Drive Unique ID                      : 6CE08802DEF5147FA1983AF30E782771

         Drive SKU Number                     : Not Applicable

         Drive Part Number                    : Not Applicable

         Last Failure Reason                  : No Failure

      ----------------------------------------------------------------

      Device Phy Information

      ----------------------------------------------------------------

         Phy #0

            Negotiated Physical Link Rate     : 12 Gbps

            Negotiated Logical Link Rate      : 12 Gbps

            Maximum Link Rate                 : 6 Gbps

 

      ----------------------------------------------------------------

      Device Error Counters

      ----------------------------------------------------------------

         Aborted Commands                     : 0

         Bad Target Errors                    : 0

         Ecc Recovered Read Errors            : 0

         Failed Read Recovers                 : 0

         Failed Write Recovers                : 0

         Format Errors                        : 0

         Hardware Errors                      : 0

         Hard Read Errors                     : 0

         Hard Write Errors                    : 0

         Hot Plug Count                       : 0

         Media Failures                       : 0

         Not Ready Errors                     : 0

         Other Time Out Errors                : 0

         Predictive Failures                  : 0

         Retry Recovered Read Errors          : 0

         Retry Recovered Write Errors         : 0

         Scsi Bus Faults                      : 0

         Sectors Reads                        : 1527374224

         Sectors Written                      : 3824871501

         Service Hours                        : 72

 

      Device #9

         Device is a Hard drive

         State                                : Online

         Drive has stale RIS data             : False

         Block Size                           : 512 Bytes

         Physical Block Size                  : 4K Bytes

         Transfer Speed                       : SATA 12.0 Gb/s

         Reported Channel,Device(T:L)         : 0,9(9:0)

         Reported Location                    : Enclosure 1, Slot 1(Connector 0:CN0)

         Array                                : 0

         Vendor                               : ATA

         Model                                : INTEL SSDSC2KB480G8

         Firmware                             : XCV10132

         Serial number                        : BTYF95230EMQ480BGN

         World-wide name                      : 500E004AAAAAAA01

         Reserved Size                        : 32768 KB

         Used Size                            : 457830 MB

         Unused Size                          : 0 MB

         Total Size                           : 457862 MB

         S.M.A.R.T.                           : No

         S.M.A.R.T. warnings                  : 0

         SSD                                  : Yes

         NCQ supported                        : Supported

         NCQ status                           : Enabled

         Boot Type                            : None

         Current Temperature                  : 26 deg C

         Maximum Temperature                  : 49 deg C

         Threshold Temperature                : 73 deg C

         PHY Count                            : 1

         Drive Configuration Type             : Data

         Drive Exposed to OS                  : False

         Sanitize Erase Support               : True

         Sanitize Lock Freeze Support         : True

         Sanitize Lock Anti-Freeze Support    : True

         Sanitize Lock Setting                : None

         Usage Remaining                      : 99 percent

         Estimated Life Remaining             : 16751

         SSD Smart Trip Wearout               : False

         56 Day Warning Present               : False

         Drive Unique ID                      : 59BEEAC95A7A20E79FED05D090BE7939

         Drive SKU Number                     : Not Applicable

         Drive Part Number                    : Not Applicable

         Last Failure Reason                  : No Failure

      ----------------------------------------------------------------

      Device Phy Information

      ----------------------------------------------------------------

         Phy #0

            Negotiated Physical Link Rate     : 12 Gbps

            Negotiated Logical Link Rate      : 12 Gbps

            Maximum Link Rate                 : 6 Gbps

 

      ----------------------------------------------------------------

      Device Error Counters

      ----------------------------------------------------------------

         Aborted Commands                     : 0

         Bad Target Errors                    : 0

         Ecc Recovered Read Errors            : 0

         Failed Read Recovers                 : 0

         Failed Write Recovers                : 0

         Format Errors                        : 0

         Hardware Errors                      : 0

         Hard Read Errors                     : 0

         Hard Write Errors                    : 0

         Hot Plug Count                       : 0

         Media Failures                       : 0

         Not Ready Errors                     : 0

         Other Time Out Errors                : 0

         Predictive Failures                  : 0

         Retry Recovered Read Errors          : 0

         Retry Recovered Write Errors         : 0

         Scsi Bus Faults                      : 0

         Sectors Reads                        : 4127702025

         Sectors Written                      : 1182791848

         Service Hours                        : 72

 

   Channel #2:

      Device #0

         Device is an Enclosure Services Device

         Reported Channel,Device(T:L)         : 2,0(0:0)

         Reported Location                    : Connector 0:CN0, Enclosure 1

         Active path 1

            Path                              : CN0

            Status                            : Ok

         Active path 2

            Path                              : CN1

            Status                            : Ok

         Enclosure ID                         : 1

         Enclosure Logical Identifier         : 500E004AAAAAAA7E

         Expander ID                          : 0

         Expander SAS Address                 : 500E004AAAAAAA7F

         SEP device ID                        : 377

         Type                                 : SES2

         Vendor                               : MSCC

         Model                                : SXP 36x12G

         Firmware                             : RevB

         Status of Enclosure Services Device

            Fan 1 status                      : 0 rpm (Optimal)

            Fan 2 status                      : 0 rpm (Optimal)

            Fan 3 status                      : 0 rpm (Optimal)

            Fan 4 status                      : 0 rpm (Optimal)

            Power supply 1 status             : Optimal

            Power supply 2 status             : Optimal

            Temperature Sensor Status 1       : Normal

            Temperature Sensor Status 2       : Normal

            Temperature Sensor Status 3       : Normal

            Temperature Sensor Status 4       : Normal

            Speaker status                    : Off

   Channel #2:

      Device #1

         Device is an Enclosure Services Device

         Reported Channel,Device(T:L)         : 2,1(1:0)

         Enclosure ID                         : 0

         Enclosure Logical Identifier         : 598F181BA1DBB008

         Type                                 : SES2

         Vendor                               : UN

         Model                                : Virtual SGPIO

         Firmware                             : 4.11

         Status of Enclosure Services Device

            Speaker status                    : Not Available

 

 

Command completed successfully.

# 查询所有AD的基本信息。

[root@localhost home]# arcconf getconfig 1 ad

Controllers found: 1

----------------------------------------------------------------------

Controller information

----------------------------------------------------------------------

   Controller Status                          : Optimal

   Controller Mode                            : Mixed

   Channel description                        : SCSI

   Controller Model                           : UN RAID P460-B2

   Vendor ID                                  : 0x9005

   Device ID                                  : 0x028F

   Subsystem Vendor ID                        : 0x193D

   Subsystem Device ID                        : 0xC461

   Controller Serial Number                   : Unknown

   Controller World Wide Name                 : 598F181BA1DBB000

   Physical Slot                              : 19

   Temperature                                : 44 C/ 111 F (Normal)

   Host bus type                              : PCIe 3.0

   Host bus speed                             : 7880 MBps

   Host bus link width                        : 8 bit(s)/link(s)

   PCI Address (Domain:Bus:Device:Function)   : 0:17: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                        : 15 seconds

   Boot Controller                            : False

   Primary Boot Volume                        : None

   Secondary Boot Volume                      : None

   Driver Name                                : smartpqi

   Driver Supports SSD I/O Bypass             : Yes

   NVMe Supported                             : No

   NVMe Configuration Supported               : No

   Manufacturing Part Number                  : Not Applicable

   Manufacturing Spare Part Number            : Not Applicable

   Manufacturing Wellness Log                 : Not Applicable

   Manufacturing SKU Number                   : Not Applicable

   Manufacturing Model                        : Not Applicable

   NVRAM Checksum Status                      : Passed

   Sanitize Lock Setting                      : None

   Expander Minimum Scan Duration             : 0 seconds

   Expander Scan Time-out                     : 350 seconds

   Reboot Required Reasons                    : Firmware update

   --------------------------------------------------------

   Power Settings

   --------------------------------------------------------

   Power Consumption                          : Not Available

   Current Power Mode                         : Maximum Performance

   Pending Power Mode                         : Not Applicable

   Survival Mode                              : Enabled

   --------------------------------------------------------

   Cache Properties

   --------------------------------------------------------

   Cache Status                               : Ok

   Cache Serial Number                        : Not Applicable

   Cache memory                               : 1808 MB

   Read Cache Percentage                      : 40 percent

   Write Cache Percentage                     : 60 percent

   No-Battery Write Cache                     : Enabled

   Wait for Cache Room                        : Disabled

   Write Cache Bypass Threshold Size          : 1040 KB

   --------------------------------------------------------

   Green Backup Information

   --------------------------------------------------------

   Backup Power Status                        : No Battery Connected

   Battery/Capacitor Pack Count               : 0

   Hardware Error                             : No Error

   --------------------------------------------------------

   Physical Drive Write Cache Policy Information

   --------------------------------------------------------

   Configured Drives                          : Disabled

   Unconfigured Drives                        : Disabled

   HBA Drives                                 : Disabled

   --------------------------------------------------------

   maxCache Properties

   --------------------------------------------------------

   maxCache Version                           : 4

   maxCache RAID5 WriteBack Enabled           : Enabled

   --------------------------------------------------------

   RAID Properties

   --------------------------------------------------------

   Logical devices/Failed/Degraded            : 1/0/0

   Spare Activation Mode                      : Failure

   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

   --------------------------------------------------------

   Firmware                                   : 4.11

   Driver                                     : Linux 1.2.10-025

   Hardware Revision                          : B

   --------------------------------------------------------

   Temperature Sensors Information

   --------------------------------------------------------

   Sensor ID                                  : 0

   Current Value                              : 30 deg C

   Max Value Since Powered On                 : 31 deg C

   Location                                   : Inlet Ambient

 

   Sensor ID                                  : 1

   Current Value                              : 44 deg C

   Max Value Since Powered On                 : 45 deg C

   Location                                   : ASIC

 

   Sensor ID                                  : 2

   Current Value                              : 39 deg C

   Max Value Since Powered On                 : 40 deg C

   Location                                   : Top

 

   Sensor ID                                  : 3

   Current Value                              : 37 deg C

   Max Value Since Powered On                 : 39 deg C

   Location                                   : Bottom

 

   --------------------------------------------------------

   Out Of Band Interface Settings

   --------------------------------------------------------

   OOB Interface                              : PBSI

   Pending OOB Interface                      : PBSI

   I2C Address                                : 0xDE

   Pending I2C Address                        : 0xDE

   --------------------------------------------------------

   PBSI

   --------------------------------------------------------

   I2C Clock Speed                            : 400 KHZ

   I2C Clock Stretching                       : Enabled

   Pending I2C Clock Speed                    : 400 KHZ

   Pending I2C Clock Stretching               : Enabled

   --------------------------------------------------------

   MCTP

   --------------------------------------------------------

   SMBus Device Type                          : Not Applicable

   SMBus Channel                              : Not Applicable

   Static EIDs Use On Initialization          : Not Applicable

   VDM Notification                           : Not Applicable

   Pending SMBus Device Type                  : Not Applicable

   Pending SMBus Channel                      : Not Applicable

   Pending Static EIDs Use On Initialization  : Not Applicable

   Pending VDM Notification                   : Not Applicable

   --------------------------------------------------------

   Connector information

 

   --------------------------------------------------------

   Connector #0

      Connector Name                          : CN0

      Connection Number                       : 0

      Functional Mode                         : Mixed

      Connector Location                      : Internal

      SAS Address                             : 598F181BA1DBB000

 

 

   Connector #1

      Connector Name                          : CN1

      Connection Number                       : 1

      Functional Mode                         : Mixed

      Connector Location                      : Internal

      SAS Address                             : 598F181BA1DBB004

 

 

 

 

Command completed successfully.

8.5.4  设置硬盘定位指示灯

点亮、熄灭控制器的硬盘定位指示灯(包含物理盘、逻辑盘、以及全部硬盘)。

【命令】

表8-9 点灯相关命令

命令

功能

arcconf identify controller_id device channel_id slot_id time time

对特定的物理硬盘进行点灯,time为可选项表示点灯持续的时间,单位为秒

arcconf identify controller_id device channel_id slot_id

对特定的物理硬盘持续点灯,按任意键会停止点灯

arcconf identify controller_id all time time

对所有的物理硬盘进行点灯,time为可选项表示点灯持续的时间,单位为秒

arcconf identify controller_id all stop

对所有的物理硬盘停止点灯

arcconf identify controller_id logicaldrive LD_id time time

对特定的LD进行点灯,time为可选项表示点灯持续的时间,单位为秒

arcconf identify controller_id logicaldrive LD_id

对特定的LD持续点灯,按任意键会停止点灯

arcconf identify controller_id array array_id

time time

对特定的Array进行点灯,time为可选项表示点灯持续的时间,单位为秒

arcconf identify controller_id array array_id

对特定的Array持续点灯,按任意键会停止点灯

 

【参数】

controller_id硬盘所在存储控制卡的ID。

LD_idLD的ID。

channel_id:硬盘的Channel ID。

slot_id:硬盘的Device ID。

time硬盘指示灯点亮的时间,单位为秒。

array_idarray的ID。

【举例】

# 对device 8的硬盘进行点亮指示灯操作。

[root@localhost home]# arcconf identify 1 device 0 8

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.

# 设置所有的盘进行点灯60秒。

[root@localhost home]# arcconf identify 1 all time 60

Controllers found: 1

Only devices managed by an enclosure processor may be identified

 

Command completed successfully.

# 熄灭所有的硬盘指示灯。

[root@localhost home]# arcconf identify 1 all stop

Controllers found: 1

 

Command completed successfully.

# 对logicaldrive 0 的硬盘进行点亮指示灯操作。

[root@localhost home]# arcconf identify 1 logicaldrive 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.

8.5.5  设置存储控制卡工作模式

设置存储控制卡工作模式。

【命令】

arcconf setcontrollermode controller_id mode

【参数】

controller_id:存储控制卡的ID。

mode存储控制卡工作模式,数字代表的含义如下:

·     2:设置为HBA模式。

·     3:设置为RAID模式。

·     5:设置为Mixed模式。

【举例】

# 设置存储控制卡工作模式为“RAID”。

[root@localhost home]# arcconf setcontrollermode 1 3

Controllers found: 1

Changing the mode to RAID will remove access to physical drives from the operating system.

Do you want to change the controller mode setting for the configuration?

Press y, then ENTER to continue or press ENTER to abort: y

 

 

Command completed successfully.

# 查询存储控制卡工作模式,即Controller Model参数

[root@localhost home]# arcconf getconfig 1 ad

Controllers found: 1

----------------------------------------------------------------------

Controller information

----------------------------------------------------------------------

   Controller Status                          : Optimal

   Controller Mode                            : RAID (Hide RAW)

   Channel description                        : SCSI

   Controller Model                           : UN RAID P460-B2

   Vendor ID                                  : 0x9005

   Device ID                                  : 0x028F

   Subsystem Vendor ID                        : 0x193D

   Subsystem Device ID                        : 0xC461

   Controller Serial Number                   : Unknown

   Controller World Wide Name                 : 598F181BA1DBB000

   Physical Slot                              : 19

   Temperature                                : 44 C/ 111 F (Normal)

   Host bus type                              : PCIe 3.0

   Host bus speed                             : 7880 MBps

   Host bus link width                        : 8 bit(s)/link(s)

   PCI Address (Domain:Bus:Device:Function)   : 0:17: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                        : 15 seconds

   Boot Controller                            : False

   Primary Boot Volume                        : None

   Secondary Boot Volume                      : None

   Driver Name                                : smartpqi

   Driver Supports SSD I/O Bypass             : Yes

   NVMe Supported                             : No

   NVMe Configuration Supported               : No

   Manufacturing Part Number                  : Not Applicable

   Manufacturing Spare Part Number            : Not Applicable

   Manufacturing Wellness Log                 : Not Applicable

   Manufacturing SKU Number                   : Not Applicable

   Manufacturing Model                        : Not Applicable

   NVRAM Checksum Status                      : Passed

   Sanitize Lock Setting                      : None

   Expander Minimum Scan Duration             : 0 seconds

   Expander Scan Time-out                     : 350 seconds

   Reboot Required Reasons                    : Firmware update

   --------------------------------------------------------

   Power Settings

   --------------------------------------------------------

   Power Consumption                          : Not Available

   Current Power Mode                         : Maximum Performance

   Pending Power Mode                         : Not Applicable

   Survival Mode                              : Enabled

   --------------------------------------------------------

   Cache Properties

   --------------------------------------------------------

   Cache Status                               : Ok

   Cache Serial Number                        : Not Applicable

   Cache memory                               : 1808 MB

   Read Cache Percentage                      : 40 percent

   Write Cache Percentage                     : 60 percent

   No-Battery Write Cache                     : Enabled

   Wait for Cache Room                        : Disabled

   Write Cache Bypass Threshold Size          : 1040 KB

   --------------------------------------------------------

   Green Backup Information

   --------------------------------------------------------

   Backup Power Status                        : No Battery Connected

   Battery/Capacitor Pack Count               : 0

   Hardware Error                             : No Error

   --------------------------------------------------------

   Physical Drive Write Cache Policy Information

   --------------------------------------------------------

   Configured Drives                          : Disabled

   Unconfigured Drives                        : Disabled

   HBA Drives                                 : Disabled

   --------------------------------------------------------

   maxCache Properties

   --------------------------------------------------------

   maxCache Version                           : 4

   maxCache RAID5 WriteBack Enabled           : Enabled

   --------------------------------------------------------

   RAID Properties

   --------------------------------------------------------

   Logical devices/Failed/Degraded            : 1/0/0

   Spare Activation Mode                      : Failure

   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

   --------------------------------------------------------

   Firmware                                   : 4.11

   Driver                                     : Linux 1.2.10-025

   Hardware Revision                          : B

   --------------------------------------------------------

   Temperature Sensors Information

   --------------------------------------------------------

   Sensor ID                                  : 0

   Current Value                              : 30 deg C

   Max Value Since Powered On                 : 33 deg C

   Location                                   : Inlet Ambient

 

   Sensor ID                                  : 1

   Current Value                              : 44 deg C

   Max Value Since Powered On                 : 47 deg C

   Location                                   : ASIC

 

   Sensor ID                                  : 2

   Current Value                              : 39 deg C

   Max Value Since Powered On                 : 41 deg C

   Location                                   : Top

 

   Sensor ID                                  : 3

   Current Value                              : 37 deg C

   Max Value Since Powered On                 : 40 deg C

   Location                                   : Bottom

 

   --------------------------------------------------------

   Out Of Band Interface Settings

   --------------------------------------------------------

   OOB Interface                              : PBSI

   Pending OOB Interface                      : PBSI

   I2C Address                                : 0xDE

   Pending I2C Address                        : 0xDE

   --------------------------------------------------------

   PBSI

   --------------------------------------------------------

   I2C Clock Speed                            : 400 KHZ

   I2C Clock Stretching                       : Enabled

   Pending I2C Clock Speed                    : 400 KHZ

   Pending I2C Clock Stretching               : Enabled

   --------------------------------------------------------

   MCTP

   --------------------------------------------------------

   SMBus Device Type                          : Not Applicable

   SMBus Channel                              : Not Applicable

   Static EIDs Use On Initialization          : Not Applicable

   VDM Notification                           : Not Applicable

   Pending SMBus Device Type                  : Not Applicable

   Pending SMBus Channel                      : Not Applicable

   Pending Static EIDs Use On Initialization  : Not Applicable

   Pending VDM Notification                   : Not Applicable

   --------------------------------------------------------

   Connector information

 

   --------------------------------------------------------

   Connector #0

      Connector Name                          : CN0

      Connection Number                       : 0

      Functional Mode                         : RAID (Hide RAW)

      Connector Location                      : Internal

      SAS Address                             : 598F181BA1DBB000

 

 

   Connector #1

      Connector Name                          : CN1

      Connection Number                       : 1

      Functional Mode                         : RAID (Hide RAW)

      Connector Location                      : Internal

      SAS Address                             : 598F181BA1DBB004

 

 

 

 

Command completed successfully.

8.5.6  创建和删除RAID

创建、删除RAID。

【命令】

arcconf create controller_id logicaldrive option size level channel_id slot_id channel_id slot_id……

arcconf delete controller_id logicaldrive ld_id noprompt

【参数】

controller_id:存储控制卡ID。

option:要创建的LD的相关属性,包括如下几种:

·     Stripesize:LD的条带大小。

·     Legs:LD的NPG,只在创建RAID 50和RAID 60时可设置。

·     Name:LD的名称。

·     Method:LD的初始化的方式,包含build和default。

·     Wcache:即IO Bypass,只在创建maxCache时可设置。

·     LDcache:即Controller Cache。

·     SSDOverProvisioningOptimization:SSD的特性。只有当RAID组由SSD组成时,才能设置该属性,可选enable和disable。该选项设置为“enable”后,会在数据写入SSD之前重新分配所有使用的块来优化SSD,可以加快初始化的速度。

·     DataLD:被加速的LD的ID。

size:LD的容量大小。单位为MB,设置时只输入数字即可,如数值设为“1024”,则表示虚拟磁盘的容量为1024MB。如果设置为“MAX”,表示使用硬盘的所有容量创建虚拟磁盘。

level:要创建的LD的级别。

channel_id:硬盘的Channel ID。

slot_id:硬盘的Device ID。

【举例】

# 创建RAID 50

[root@localhost home]# arcconf create 1 logicaldrive stripesize 512 legs 2 name VR1 method default max 50 0 8 0 9 0 10 0 11 0 12 0 13

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: VR1

 

Command completed successfully.

# 删除ID为0的虚拟磁盘

[root@localhost home]# arcconf delete 1 logicaldrive 0 noprompt

Controllers found: 1

 

WARNING: Deleting this logical device will automatically delete array 0 because it is the only logical device present on that array.

All data in logical device 0 will be lost.

Deleting: logical device 0 ("LogicalDrv 0")

 

Command completed successfully.

#创建RAID 10

[root@localhost ~]# arcconf create 1 logicaldrive  102400 10 0 8 0 9 0 10 0 11

Controllers found: 1

Space will be wasted as devices specified are of different sizes.

WARNING: Use of SED device(s) may lead to data loss if ownership is taken on the specified device(s).

 

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 0

 

Command completed successfully.

#创建RAID 6

[root@localhost ~]# arcconf create 1 logicaldrive  102400 6 0 8 0 9 0 10 0 11

Controllers found: 1

Space will be wasted as devices specified are of different sizes.

WARNING: Use of SED device(s) may lead to data loss if ownership is taken on the specified device(s).

 

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 0

 

Command completed successfully.

#创建RAID 0

[root@localhost ~]# arcconf create 1 logicaldrive  102400 0 0 8 0 9 0 10 0 11

Controllers found: 1

Space will be wasted as devices specified are of different sizes.

WARNING: Use of SED device(s) may lead to data loss if ownership is taken on the specified device(s).

 

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 0

 

Command completed successfully.

#创建RAID 1

[root@localhost ~]# arcconf create 1 logicaldrive  102400 1 0 8 0 9

Controllers found: 1

Space will be wasted as devices specified are of different sizes.

WARNING: Use of SED device(s) may lead to data loss if ownership is taken on the specified device(s).

 

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 0

 

Command completed successfully.

#创建RAID 1ADM

[root@localhost ~]# arcconf create 1 logicaldrive  102400 1Triple 0 8 0 9 0 11

Controllers found: 1

Space will be wasted as devices specified are of different sizes.

WARNING: Use of SED device(s) may lead to data loss if ownership is taken on the specified device(s).

 

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 0

 

Command completed successfully.

#创建RAID 10ADM

[root@localhost ~]# arcconf create 1 logicaldrive  102400 10Triple 0 8 0 9 0 11 0 12 0 13 0 14

Controllers found: 1

Space will be wasted as devices specified are of different sizes.

WARNING: Use of SED device(s) may lead to data loss if ownership is taken on the specified device(s).

 

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 0

 

Command completed successfully.

#创建RAID 5

[root@localhost ~]# arcconf create 1 logicaldrive  102400 5 0 8 0 9 0 10

Controllers found: 1

Space will be wasted as devices specified are of different sizes.

WARNING: Use of SED device(s) may lead to data loss if ownership is taken on the specified device(s).

 

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 0

 

Command completed successfully.

#创建RAID 60

[root@localhost ~]# arcconf create 1 logicaldrive  102400 60 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15

Controllers found: 1

Space will be wasted as devices specified are of different sizes.

WARNING: Use of SED device(s) may lead to data loss if ownership is taken on the specified device(s).

 

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 0

 

Command completed successfully.

8.5.7  通过增加成员盘可用容量扩容RAID

在Virtual Drives未占用成员硬盘全部容量时,可通过调整Virtual Drives的可用空间,扩大Virtual Drives容量。

【命令】

arcconf modify controller_id from LD_id to LD_size LD_level channel_id slot_id channel_id slot_id

说明

·     为准确进行扩容,执行该命令前,请提前确认并正确输入RAID级别以及成员盘的physical ID

·     扩容时需要保证所增加的容量不大于当前LD所在Array剩余容量

 

【参数】

controller_id硬盘所在存储控制卡的ID。

LD_idLD的ID。

LD_size扩容后LD的容量大小,单位为MB。

LD_levelLD的RAID级别。

channel_id:硬盘的Channel ID。

slot_id:硬盘的Device ID。

【举例】

# 将LD的容量扩展为204800MB

[root@localhost ~]# arcconf modify 1 from 0 to  204800 1 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.

8.5.8  通过增加新盘进行扩容

在已存在的RAID中添加新硬盘,扩大RAID容量。

【命令】

arcconf modify controller_id array array_id expand channel_id slot_id channel_id slot_id......

【参数】

controller_id硬盘所在存储控制卡的ID。

array_idArray的id。

channel_id:硬盘的Channel ID。

slot_id:硬盘的Device ID。

【说明】

·     RAID 1/1ADM/10在加盘扩充中会导致RAID级别升高(依据加入的硬盘数量)。

·     加盘扩容时,RAID 0/RAID 5/RAID 6每次只能增加1个硬盘,RAID 50/RAID 60每次只能增加2个硬盘,RAID10ADM每次只能增加3个硬盘。

·     增加新盘后,请参考8.5.7  通过增加成员盘可用容量扩容RAID增加RAID可用容量。

【举例】

# 为Array添加硬盘

[root@localhost ~]# arcconf modify 1 array 0 expand 0 10
Controllers found: 1
This will modify the array 0.
 
Are you sure you want to continue?
Press y, then ENTER to continue or press ENTER to abort: y
 
Modifying array: 0
 
Command completed successfully.

8.5.9  迁移RAID级别

对RAID级别进行迁移。

【命令】

arcconf modify controller_id from LD_id to LD_size LD_level channel_id slot_id channel_id slot_id......

【参数】

controller_id:硬盘所在存储控制卡的ID。

LD_id:LD的ID。

LD_sizeLD迁移前的容量。

LD_level:迁移后的LD级别。

channel_id:硬盘的Channel ID。

slot_id:硬盘的Device ID。

【说明】

·     迁移时,根据迁移级别的硬盘数量要求,如果迁移的目标级别所需的硬盘数量比原级别的多,则先需要为LD添加硬盘,然后再进行迁移RAID级别。PMC存储控制卡RAID1/1ADM/10在加盘扩充中会导致RAID级别升高(依据加入的硬盘数量)

·     当从RAID 1迁移到RAID 5时,无法直接为RAID 1添加硬盘,此时先需要把RAID 1迁移到RAID 0,然后为RAID 0添加硬盘,最后再将LD的级别迁移到RAID 5。

【举例】

#从RAID 0迁移到RAID 5。

[root@localhost ~]# arcconf modify 1 from 0 to 305190 5 0 0 0 1 0 6 0 7
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.

# 查询迁移进程。

[root@localhost ~]# arcconf getconfig 1 ld
Controllers found: 1
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical Device number 0
   Logical Device name                      : LogicalDrv 0
   Disk Name                                : /dev/sda
   Block Size of member drives              : 512 Bytes
   Array                                    : 0
   RAID level                               : 5
   Status of Logical Device                 : Optimal(Background Parity Initialization : 51 %)
   Parity Initialization Status             : In Progress
   Size                                     : 305190 MB
   Stripe-unit size                         : 256 KB
   Full Stripe Size                         : 768 KB
   Interface Type                           : SATA SSD
   Device Type                              : Data
   Boot Type                                : None
   Heads                                    : 255
   Sectors Per Track                        : 32
   Cylinders                                : 65535
   Caching                                  : Enabled
   Mount Points                             : Not Applicable
   LD Acceleration Method                   : Controller Cache
   Volume Unique Identifier                 : 600508B1001C7B7C4BBF3ACB01F885BC
   --------------------------------------------------------
   Array Physical Device Information
   --------------------------------------------------------
   Device 0                                 : Present (152627MB, SATA, SSD, Channel:0, Device:0) CVPR1461036N160DGN
   Device 1                                 : Present (1526185MB, SATA, SSD, Channel:0, Device:1) PHDV624000FL1P6EGN
   Device 6                                 : Present (457862MB, SATA, SSD, Channel:0, Device:6)         17501B83246B
   Device 7                                 : Present (915715MB, SATA, SSD, Channel:0, Device:7)         18031A983BCA
 
 
 
 
Command completed successfully.

8.5.10  为LD设置热备盘以及删除

为LD设置热备盘。

【命令】

创建热备盘:

arcconf setstate controller_id device channel_id slot_id hsp array array_id sparetype type

删除热备盘:

arcconf setstate controller_id device channel_id slot_id rdy

【参数】

controller_id:硬盘所在存储控制卡的ID。

channel_id:硬盘的Channel ID。

slot_id:硬盘的Device ID。

array_id:Array的ID。

type:热备盘的类型,可选1或2:

·     1:Dedicated

·     2Autoreplace

【举例】

# 为LD设置Autoreplace热备盘。

[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.

# 删去Device ID为10的热备盘。

[root@localhost ~]# arcconf setstate 1 device 0 10 rdy

Controllers found: 1

 

Command completed successfully.

8.5.11  设置热备盘模式

设置热备盘的模式。

【命令】

arcconf setarrayparam controller_id  array_id sparetype mode

【参数】

controller_id:硬盘所在存储控制卡的ID

array_idarray的ID。

mode:热备盘的类型,可选12

·     1:Dedicated

·     2Autoreplace

【举例】

# 设置Array的热备盘模式为:Dedicated。

[root@localhost ~]# arcconf setarrayparam 1 0 sparetype 1
Controllers found: 1
 
Command completed successfully.

8.5.12  收集日志

收集存储控制卡日志。

【命令】

arcconf savesupportarchive path

【参数】

path:存放日志的目标路径。

【举例】

# 收集存储控制卡日志,放到home目录下

[root@localhost ~]# arcconf savesupportarchive /home

Controllers found: 1

 

Collecting uart logs may take few seconds...

The logs are saved in relevant folders in /home/Support

 

Command completed successfully.

8.5.13  使能和关闭LD的cache

使能和关闭LD的cache功能。

【命令】

arcconf setcache controller_id logicaldrive LD_id con

arcconf setcache controller_id logicaldrive LD_id coff

【参数】

controller_id:硬盘所在存储控制卡的ID。

LD_id:LD的ID。

【举例】

# 使能LD0的cache

[root@localhost Firmware]# arcconf setcache 1 logicaldrive 0 con

Controllers found: 1

 

Command completed successfully.

# 关闭LD0的cache

[root@localhost ~]# arcconf setcache 1 logicaldrive 0 coff
Controllers found: 1
 
Command completed successfully.

# 设置cache写入策略为writethrough

[root@localhost Firmware]# arcconf setcache 1 logicaldrive 0 wt

Controllers found: 1

 

Command completed successfully.

#设置cache写入策略为writeback

[root@localhost Firmware]# arcconf setcache 1 logicaldrive 0 wb

Controllers found: 1

WARNING: Power failure without battery/ZMM support will lead to data loss.

Do you wish to continue?

Press y, then ENTER to continue or press ENTER to abort: y

 

 

Command completed successfully.

8.5.14  擦除数据盘数据

开启和停止擦除物理盘的数据。

【命令】

arcconf task start controller_id device channel_id slot_id  secureerase

arcconf task stop controller_id device channel_id slot_id

【参数】

controller_id:硬盘所在存储控制卡的ID

channel_id:硬盘的Channel ID。

slot_id:硬盘的Device ID。

【举例】

# 开启擦除device 15物理盘的数据

[root@localhost Firmware]# arcconf task start 1 device 0 15 secureerase

Controllers found: 1

Secure erase of a Hard drive is a long process.

Warning: Rebooting the machine would stop the Secure erase task.

 

Are you sure you want to continue?

Press y, then ENTER to continue or press ENTER to abort: y

 

Secure Erasing Channel 0, Device 15.

 

Command completed successfully.

# 停止擦除device 15物理盘的数据

[root@localhost Firmware]# arcconf task stop 1 device 0 15

Controllers found: 1

 

Command completed successfully.

8.5.15  强制下线物理盘

强制下线物理盘。

【命令】

arcconf setstate controller_id device channel_id slot_id  DDD

【参数】

controller_id:硬盘所在存储控制卡的ID

channel_id:硬盘的Channel ID。

slot_id:硬盘的Device ID。

【举例】

# 强制下线device 14物理盘

[root@localhost ~]# arcconf setstate 1 device 0 14 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.

8.5.16  开启并设置一致性检查参数

开启一致性检查并设置参数。

【命令】

arcconf consistencycheck controller_id mode

arcconf consistencycheck controller_id  parallelcount parallelcount_number

【参数】

controller_id硬盘所在存储控制卡的ID。

channel_id:硬盘的Channel ID。

slot_id:硬盘的Device ID。

mode一致性检查开关,取值如下:

·     on:开启。

·     off:关闭。

parallelcount_number后台一致性检查的并行个数。

【举例】

# 开启一致性检查并设置检查并行个数为4

[root@localhost ~]# arcconf consistencycheck 1 on
Controllers found: 1
 
Command completed successfully.

[root@localhost ~]# arcconf consistencycheck 1 parallelcount 4
Controllers found: 1
 
Command completed successfully.

8.5.17  升级硬盘固件

升级硬盘固件。

【命令】

arcconf imageupdate controller_id device channel_id slot_id  chunksize fwfile mode

【参数】

controller_id硬盘所在存储控制卡的ID。

channel_id:硬盘的Channel ID。

slot_id:硬盘的Device ID。

chunksize用于固件更新的块大小(以字节为单位)。

fwfileFirmware升级所需的文件名。

mode:升级的方式以数字表示,数字分别代表的含义如下:

·     5:单次传输下载并激活。

·     7:使用“chunksize”字节块下载。

·     14:以“chunksize”字节块下载但不激活。

·     239:以“chunksize”字节块下载并激活。

【举例】

# 升级device 14物理盘的固件

[root@localhost ~]# arcconf imageupdate 1 device 0 14 32768 /home/XCV10132_XBUB0010_GEN_10001_signed.bin 7

Controllers found: 1

 

Updating a device with an invalid image file may render the device unusable. Please make sure you have the correct image file.

 

You must restart the system for firmware updates to take effect.

 

Are you sure you want to continue?

Press y, then ENTER to continue or press ENTER to abort: Y

 

Succeeded

You must restart the system for device firmware update to take effect.

 

 

Command completed successfully.

8.5.18  恢复存储控制卡默认设置

恢复存储控制卡默认设置。

【命令】

arcconf setconfig controller_id default [ noprompt ]

【参数】

controller_id硬盘所在存储控制卡的ID。

noprompt强制恢复默认配置。

【举例】

# 恢复存储控制卡默认设置。

[root@localhost ~]# arcconf setconfig 1 default

8.6  故障处理

关于存储控制卡的故障信息收集、故障诊断定位和故障解决方法的详细说明,请参见《H3C服务器 故障处理手册》。

8.7  兼容性

存储控制卡与服务器的兼容性关系,请查看服务器兼容的部件查询工具

8.8  驱动下载和安装

访问H3C官网下载存储控制卡的驱动程序。驱动程序的安装步骤,请参见与驱动程序一起发布的版本说明书。

 

不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!

新华三官网
联系我们