05-第5章 P430系列
本章节下载: 05-第5章 P430系列 (5.90 MB)
本节介绍如下型号的存储控制卡,支持6Gbit/s、12Gbit/s的SATA/SAS数据通道。部分存储控制卡支持缓存模块,极大地提升了性能和数据安全性。存储控制卡的详细信息及缓存模块支持信息,请参见http://www.h3c.com/cn/home/qr/default.htm?id=315:
· RAID-P430-M1
· RAID-P430-M2
本节介绍的存储控制卡支持如下五种工作模式:
· RAID(expose RAW)模式(缺省):支持系统下识别已创建的RAID和RAW状态的磁盘,并给逻辑磁盘和RAW状态的磁盘分配盘符。
· RAID(hide RAW)模式:仅支持系统识别RAID状态的磁盘,并给逻辑磁盘分配盘符;RAW状态的磁盘不能被系统识别和使用。
· HBA模式:系统可直接识别该存储控制卡对应的所有物理磁盘,并禁用RAID功能。
· Auto Volume模式:有系统分区的物理磁盘被识别成RAW状态的磁盘,没有系统分区的物理磁盘被自动设置为Simple Volume。
· Simple Volume模式:只支持创建由单块磁盘组成的无冗余功能的磁盘卷,此模式下不支持创建其他RAID级别的阵列。
· RAW指的是磁盘上没有配置RAID的相关信息。
· 使用RAID(expose RAW)、RAID(hide RAW)模式配置RAID,或使用Auto Volume、Simple Volume模式前,需要先对目标磁盘进行Initialize(初始化)操作。
· 使用RAID(expose RAW)模式不配置RAID,或使用HBA模式前,需要先对目标磁盘进行Uninitialize(去初始化)操作。
· 切换存储控制卡工作模式后,请重新启动服务器使新工作模式生效。
· 切换存储控制卡工作模式后,原模式的系统盘可能出现异常,从而导致操作系统无法正常启动,此时可尝试重新安装操作系统,如仍无法解决,请联系技术支持。
各存储控制卡支持的RAID级别略有不同,详细信息请参见http://www.h3c.com/cn/home/qr/default.htm?id=315,各RAID级别对应的成员盘数量如表5-1所示。关于RAID级别的说明,请参见“附录B 磁盘阵列和容错方法”。
表5-1 RAID级别与磁盘数量关系
RAID级别 |
最少磁盘数 |
最多故障盘数 |
RAID 0 |
2 |
0 |
RAID 1 |
2 |
1 |
RAID 1E |
3 |
1 |
RAID 5 |
3 |
1 |
RAID 6 |
4 |
2 |
RAID 10 |
4 |
n(n为组成RAID 10的RAID 1的个数) |
RAID 50 |
6 |
n(n为组成RAID 50的RAID 5的个数) |
RAID 60 |
8 |
2n(n为组成RAID 60的RAID 6的个数) |
Simple Volume |
1 |
0 |
配置RAID后,通常会配置热备盘来提高数据的安全性。热备盘是RAID系统中处于备用状态的正常磁盘,磁盘中不含数据。当具有冗余功能的RAID中的某个或多个磁盘故障后,热备盘自动接替故障磁盘,并在该磁盘上重建故障磁盘中的数据。
本节介绍的存储控制卡支持如下3种类型的热备盘,热备盘模式简介请参见本手册第二章:
· Global Spare(全局热备盘)
· Dedicated:(专用热备盘)
· Pooled Spare:(自定义热备盘)
· 建议用户安装没有RAID信息的硬盘。
· 请确保组建同一RAID的所有硬盘类型相同,否则会因硬盘性能不同而造成RAID性能下降或者无法创建RAID。即满足如下两点:
¡ 所有硬盘均为SAS或SATA硬盘。
¡ 所有硬盘均为HDD或SSD硬盘。
· 建议组建同一RAID的所有硬盘容量相同。当硬盘容量不同时,系统以最小容量的硬盘为准,即将所有硬盘容量都视为最小容量。
· 不建议将一个硬盘用在多个RAID中,该情况会使后期维护变得复杂,并影响RAID的性能。
RAID-P430-M1 存储控制卡与RAID-P430-M2 存储控制卡支持通过arcconf命令行开启/关闭缓存,具体方法请参见5.6.16 使能和关闭LD的cache。
本节介绍在UEFI启动模式下通过存储控制卡配置RAID的方法。关于进入BIOS界面和设置BIOS启动模式为UEFI的详细介绍,请参见BIOS用户指南中的对应章节。
不同BIOS版本的界面有所差异,本手册仅以其中一种BIOS版本举例,操作界面请以实际情况为准。
本节介绍进入存储控制卡配置界面的操作步骤。
(1) 在服务器启动过程中,根据提示按Delete或Esc(部分产品按Delete或F2),进入图5-1所示的BIOS Setup界面。请参考界面右下角的按键操作提示,以实现在界面中导航和修改设置。
(2) 如图5-2,选择Advanced页签 > PMC maxView Storage Manager,按Enter。
(3) 进入如图5-3所示界面,选择Scan For Controllers,按Enter。
(4) 进入图5-4所示界面,选择Controller #0 PM8060-RAID,按Enter。
图5-4 选择Controller #0 PM8060-RAID
(5) 进入图5-5所示存储控制卡配置界面,界面上显示了存储控制卡的版本信息,以及四大类配置任务(相关说明请参见表5-2)。
选项 |
概要说明 |
Logical Device Configuration |
通过该选项可选择管理阵列、创建阵列、初始化磁盘、清除磁盘配置信息、擦除磁盘数据和配置全局热备盘等操作。 |
Controller Settings |
通过该选项可对存储控制卡进行设置,包括修改存储控制卡工作模式、查看存储控制卡配置信息、恢复存储控制卡缺省配置等。 |
Disk Utilities |
通过该选项可以选择查看物理磁盘信息、定位磁盘位置、格式化磁盘等操作。 |
Administration |
通过该选项可选择升级存储控制卡固件等操作。 |
本节介绍修改存储控制卡工作模式的详细操作步骤,操作过程如下:
(1) 进入存储控制卡配置界面,具体方法请参见1. 进入存储控制卡配置界面。
(2) 如图5-6所示,在存储控制卡配置界面,选择Controller Settings,按Enter。
(3) 进入图5-7所示界面,选择Controller Configuration,按Enter。
(4) 进入图5-8所示界面,选择Controller Mode,按Enter。
图5-8 Controller Configuration界面
(5) 进入图5-9所示界面,选择存储控制卡工作模式(选项含义请参见表5-3),按Enter。
工作模式 |
说明 |
RAID:expose RAW |
能使用全部RAID功能,RAW状态的物理磁盘能被系统识别。 |
RAID:hide RAW |
能使用全部RAID功能,RAW状态的物理磁盘不能被系统识别。 |
HBA |
禁用RAID功能,RAW状态的物理磁盘直接被系统识别。设置为该模式之前,需要删除全部RAID和热备盘,并对全部磁盘执行去初始化磁盘操作。 |
Auto Volume |
自动卷模式,系统识别有分区的RAW状态的物理磁盘,未分区的设置为Simple Volume。设置为该模式之前,需要删除系统中全部的RAID和热备盘。 |
Simple Volume |
只能创建由单磁盘组成的卷,不支持其他RAID级别。设置为该模式之前,需要删除系统中全部的RAID和热备盘。 |
磁盘热插拔后,存储控制卡可能不会及时识别到磁盘,此时可执行扫描磁盘操作。
(1) 进入存储控制卡配置界面,具体方法请参见1. 进入存储控制卡配置界面。
(2) 如图5-10,在存储控制卡配置界面,选择Logical Device Configuration,按Enter。
(3) 进入图5-11所示界面,选择Rescan Drives,按Enter,执行扫描磁盘操作。
图5-11 Logical Device Configuration界面
初始化的作用是从磁盘中划分出一小部分区域存储RAID信息。RAW状态的磁盘必须要先执行初始化操作,才能用于RAID的创建和配置成热备盘。
(1) 如图5-12所示,在存储控制卡配置界面选择Logical Device Configuration,按Enter。
(2) 进入图5-13所示界面,选择Initialize Drivers,按Enter。
图5-13 Logical Device Configuration界面
(3) 进入图5-14所示界面,选择要初始化的磁盘,[Enabled]表示已选中。然后选择SUBMIT,按Enter。
(4) 进入如图5-15所示风险提示界面,警示初始化操作会清除选中的硬盘上的磁盘阵列信息且会影响使用这些硬盘作为成员盘组建磁盘阵列的RAID。
¡ 若需要重新检视硬盘选择是否正确,则按ESC,返回上一步。
¡ 若硬盘选择确认无误,则选择SUBMIT,按Enter,完成初始化操作。
(1) 如图5-16所示,在存储控制卡配置界面选择Logical Device Configuration,按Enter。
(2) 进入图5-17所示界面,选择Create Array,按Enter。
图5-17 Logical Device Configuration界面
(3) 进入图5-18所示界面,选择要用来配置RAID的磁盘,[Enabled]表示选中,然后选择PROCEED,按Enter。如果磁盘的状态为RAW,则无法选择,执行磁盘初始化操作后,才能用于RAID的创建,具体方法请参见4. 初始化磁盘。
(4) 进入图5-19所示界面,选择Array type,设置RAID级别,然后选择PROCEED,按Enter。
(5) 进入图5-20所示界面,在Array Label、Stripe Size、Array Size Selection、Read Cache、Write Cache和Create RAID via栏进行相应的设置(参数说明请参见表5-4),然后选择SUBMIT,按Enter,完成RAID的创建。
参数 |
说明 |
Array Label |
RAID的名称,缺省设置为DefaultValue0。 |
Stripe Size |
条带大小,写在每块磁盘上的条带数据块的大小。 |
Array Size Selection |
设置RAID容量。 |
Read Cache |
读缓存策略,分为Enabled(开启)与Disabled(关闭)。 |
Write Cache |
写缓存策略,分为: · Enable Always:始终开启。在没有电容保护时,仍会打开RAID组写Cache,可能会导致异常掉电后的数据丢失。 · Enable With Backup Unit:自动关闭,在没有电容或电容还没有Ready时自动将RAID组写Cache关闭。 · Disabled:关闭RAID组写Cache。 |
Create RAID via |
RAID创建后的操作,分为Quick Init(快速初始化)、Skip Init(跳过初始化)、Build/Verify(创建并校验)与Clear(清空)。 |
· Enable With Backup Unit指超级电容在位时,写缓存开启;超级电容不在位时,写缓存关闭。
· Quick Init指创建完RAID后,初始化只有在访问到对应的条带时才会进行。Skip Init指创建完RAID后,不清空数据直接建立RAID关系。Build/Verify指创建完成后对磁盘数据校验,使其符合对应的RAID级别。Clear指创建完RAID后,清空其中的数据,耗时较长。
· 选择Build/Verify会使磁盘处于校验状态,此时磁盘的读写性能较低。请勿进行其他操作直至磁盘状态显示为Optimal。
(6) 在存储控制卡配置界面选择Logical Device Configuration->Manage Arrays,按Enter,如图5-21所示。
图5-21 Logical Device Configuration界面
(7) 进入图5-22所示界面,可以看到已创建的RAID,选择需要查看的RAID,按Enter。
(8) 进入RAID管理界面,选择Array Properties,按Enter,即可查看该RAID的详细信息(包括RAID名称、级别,所含磁盘信息等),如图5-23所示。
图5-23 RAID信息界面
配置RAID后一般会配置热备盘来提高数据的安全性。可根据需要配置全局热备盘和专用热备盘。
· 配置全局热备盘
(1) 如图5-24所示,在存储控制卡配置界面选择Logic Device Configuration,按Enter。
(2) 进入图5-25所示界面,选择Global Hotspares,按Enter。
图5-25 Logic Device Configuration界面
(3) 进入图5-26所示界面,选择Add Spares,按Enter。
如果需要删除热备盘,可在图5-26所示界面选择Delete Spares执行热备盘删除操作。
(4) 进入图5-27所示界面,选择用来创建全局热备盘的磁盘(Enabled表示选中),然后选择ADD,按Enter。完成全局热备盘的创建。
· 配置专用热备盘
(1) 在存储控制卡配置界面选择Logical Device Configuration -> Manage Arrays,按Enter。
(2) 进入图5-28所示界面,选择要配置专用热备盘的RAID,按Enter。
(3) 进入图5-29所示界面,选择Failover Assignments,按Enter。
(4) 进入图5-30所示界面,选择Add Spares,按Enter。
(5) 进入图5-31所示界面,选择磁盘作为该RAID的专用热备盘(Enabled表示选中),然后选择ADD,按Enter,完成专用热备盘的配置。
(1) 进入存储控制卡配置界面,具体方法请参见5.3.1 1. 进入存储控制卡配置界面。
(2) 如图5-32,在存储控制卡配置界面,选择Logical Device Configuration,按Enter。
(3) 进入图5-33所示界面,选择Manage Arrays,按Enter。
图5-33 Logical Device Configuration界面
(4) 进入图5-34所示界面,选择要删除的RAID,按Enter。
(5) 进入图5-35所示界面,选择Delete Array,按Enter。
(6) 进入图5-36所示界面,选择PROCEED(或SUBMIT),按Enter。完成RAID的删除。
图5-36 RAID删除界面
执行本操作会清除磁盘上存在的数据、Adaptec元数据和保留空间,并且移除系统分区。Ready状态的磁盘被执行去初始化操作后,回到RAW状态。
(1) 在存储控制卡配置界面选择Logical Device Configuration,按Enter。如图5-37所示。
(2) 进入图5-38所示界面,选择Uninitialize Drivers,按Enter。
图5-38 Logical Device Configuration界面
(3) 进入图5-39所示界面,选择要去初始化的磁盘,[Enabled]表示已选中。然后选择SUBMIT,按Enter,完成磁盘的去初始化操作。
本节介绍定位磁盘位置的详细操作步骤。
(1) 进入存储控制卡配置界面,具体方法请参见5.3.1 1. 进入存储控制卡配置界面。
(2) 如图5-40所示,选择Disk Utilities,按Enter。
(3) 进入图5-41所示界面,选择要操作的磁盘,按Enter。
(4) 进入图5-42所示界面,请参见表5-5选择相应的操作选项(本文以选择Identify Drive为例),然后按Enter。
图5-42 磁盘信息显示/操作界面
操作选项 |
说明 |
Verify Disk Media |
校验磁盘介质。 |
Identify Drive |
定位磁盘位置。执行本功能后,会点亮磁盘对应背板上的蓝色指示灯。 |
Write Cache |
用于设置写缓存。 |
(5) 进入图5-43所示界面,选择PROCEED,按Enter。此时该磁盘对应槽位的蓝色指示灯点亮。
(1) 进入存储控制卡配置界面,具体方法请参见5.3.1 1. 进入存储控制卡配置界面。
(2) 如图5-44,选择Logical Device Configuration,按Enter。
(3) 进入图5-45所示界面,选择Secure Erase Drives,按Enter。
(4) 进入图5-46所示界面,选择要操作的磁盘(Enabled表示选中),选择SUBMIT,按Enter。
(5) 进入图5-47所示界面,选择PROCEED(或SUBMIT),按Enter。完成数据的擦除。
· 为避免数据丢失,在磁盘数据擦除期间,请勿进入操作系统对磁盘进行读写操作。
· 为避免磁盘故障,请勿在擦除磁盘数据期间进行其他操作。
(1) 进入存储控制卡配置界面,具体方法请参见5.3.1 1. 进入存储控制卡配置界面。
(2) 如图5-48,选择Controller Settings,按Enter。
(3) 进入图5-49所示界面,选择Controller Configuration,按Enter。
(4) 进入图5-50所示界面,可以看到存储控制卡的基本配置信息。选择RESET,按Enter。
Backplane Mode用于设置LED点灯策略,在恢复存储控制卡缺省配置后,LED点灯策略变为IBPI,会导致LED状态显示不符合规格,请将该LED点灯策略设置为SGPIO。
图5-50 Controller Configuration界面
(5) 进入图5-51所示界面,选择PROCEED(或SUBMIT),按Enter。完成存储控制卡配置信息还原操作。
(1) 进入存储控制卡配置界面,具体方法请参见5.3.1 1. 进入存储控制卡配置界面。
(2) 如图5-52,选择Administration,按Enter。
(3) 进入图5-53所示界面,选择FW update from Media,按Enter。
(4) 进入图5-54所示界面,选择升级文件所在的设备(本例是fs1),按Enter。
(5) 找到后缀为.ufi的升级文件并选中,如图5-55所示,按Enter。
(6) 进入图5-56所示界面,选择Update Flash,按Enter执行升级操作。请等待升级完毕。
(7) 升级完成后按F4,在弹出的对话框中选择Yes,重启后使升级生效。
如果RAID中没有配置热备盘,可通过配置存储控制卡的重建开关,来完成RAID重建。如果RAID中已配置热备盘,那么RAID重建不受此开关的影响。
(1) 进入存储控制卡配置界面,具体方法请参见5.3.1 1. 进入存储控制卡配置界面。
(2) 如图5-57,选择Controller Settings,按Enter。
(3) 进入图5-58所示界面,选择Controller Configuration,按Enter。
(4) 进入图5-59OLE_LINK5_33_new所示界面,将Automatic Failover设置为Enabled。
图5-59 配置RAID重建开关
(5) 选择下方的SUBMIT,按Enter。
RAID-P430-M1存储控制卡与RAID-P430-M2存储控制卡的RAID级别迁移功能仅支持通过arcconf命令行配置,具体方法请参见5.6.9 迁移RAID级别。
RAID-P430-M1 存储控制卡与RAID-P430-M2 存储控制卡的RAID扩容功能支持通过arcconf命令行配置,具体方法请参见5.6.7 通过增加成员盘可用容量扩容RAID和5.6.8 通过增加新盘进行扩容。
当发生离线状态的硬盘数量超出逻辑磁盘容错方法可承受的范围,管理工具界面逻辑磁盘会显示为Failed状态,因此可以使用Force Online功能使逻辑磁盘强制上线。
Force Online将所有可用磁盘设置为optimal状态,而不需要考虑逻辑盘所有成员盘的数据一致性。即使Force Online操作成功,如果一个或多个磁盘包含过时数据,此逻辑设备上的所有数据可能会改变或者丢失。
(1) 如图5-60所示,在存储控制卡配置界面选择Logical Device Configuration,按Enter。
(2) 进入如图5-61所示界面,选择Manage Arrays,按Enter。
图5-61 Logical Device Configuration界面
(3) 进入如图5-62所示界面,选择处于Failed状态的RAID,按Enter。
(4) 进入如图5-63所示界面,选择Force Online,按Enter。
图5-63 处于Failed状态的RAID界面
本节介绍在Legacy启动模式下通过存储控制卡配置RAID的方法。关于进入BIOS界面和设置BIOS启动模式为Legacy的详细介绍,请参见BIOS用户指南中的对应章节。
不同BIOS版本的界面有所差异,本手册仅以其中一种BIOS版本举例,操作界面请以实际情况为准。
本节介绍进入PMC RAID管理界面的操作步骤。
(1) 在BIOS启动过程中,出现如图5-64所示界面后,按Ctrl+A。
图5-64 BIOS启动过程中根据提示按Ctrl+A
(2) 进入如图5-65所示载入界面,此处可查看存储控制卡的版本信息和基本状态信息。
(3) 进入图5-66所示PMC RAID管理界面(操作选项说明请参见表5-6)。请参考界面下边框处的按键操作提示,以实现在界面中导航和修改设置。
图5-66 PMC RAID管理界面
选项 |
概要说明 |
Logical Device Configuration |
通过该选项可选择管理阵列、创建阵列、磁盘初始化/去初始化、擦除磁盘数据和设置启动项等操作。 |
Controller Settings |
通过该选项可对存储控制卡进行设置,包括修改存储控制卡工作模式、恢复存储控制卡缺省配置等。 |
Disk Utilities |
通过该选项可以选择格式化磁盘、定位磁盘位置等操作。 |
(1) 进入PMC RAID管理界面,具体方法请参见1. 进入PMC RAID管理界面。
(2) 在如图5-67所示的配置界面,选择Controller Settings,按Enter。
图5-67 PMC RAID管理界面
(3) 进入图5-68所示界面,选择Controller Configuration,按Enter。
(4) 进入图5-69所示界面,选择Controller Mode,按Enter。
图5-69 Controller Configuration界面
(5) 进入图5-70所示界面,选择存储控制卡的工作模式(选项含义请参见表5-7),按Enter。
工作模式 |
说明 |
RAID:expose RAW |
能使用全部RAID功能,RAW状态的物理磁盘能被系统识别。 |
RAID:hide RAW |
能使用全部RAID功能,RAW状态的物理磁盘不能被系统识别。 |
HBA |
禁用RAID功能,RAW状态的物理磁盘直接被系统识别。设置为该模式之前,需要删除全部RAID和热备盘,并对全部磁盘执行去初始化磁盘操作。 |
Auto Volume |
自动卷模式,系统识别有分区的RAW状态的物理磁盘,未分区的设置为Simple Volume。设置为该模式之前,需要删除系统中全部的RAID和热备盘。 |
Simple Volume |
只能创建由单磁盘组成的卷,不支持其他RAID级别。设置为该模式之前,需要删除系统中全部的RAID和热备盘。 |
(6) 重启系统,完成存储控制卡工作模式的修改。
磁盘热插拔后,存储控制卡可能不会及时识别到磁盘,此时可执行扫描磁盘操作。
(1) 进入PMC RAID管理界面,具体方法请参见1. 进入PMC RAID管理界面。
(2) 如图5-71,选择Logical Device Configuration,按Enter。
图5-71 PMC RAID管理界面
(3) 进入图5-72所示界面,选择Rescan Drives,按Enter。执行扫描操作。
图5-72 Logical Device Configuration界面
在使用物理磁盘配置RAID前,需要对磁盘执行初始化操作,否则该磁盘将不能用于RAID的创建。初始化的作用是从磁盘中划分出一小部分区域存储RAID信息。
(1) 如图5-73所示,在PMC RAID管理界面选择Logical Device Configuration,按Enter。
图5-73 PMC RAID管理界面
(2) 进入图5-74所示界面,选择Initialize Drives,按Enter。
图5-74 Logical Device Configuration界面
(3) 进入图5-75所示界面,选择要初始化的磁盘,按Insert选中,然后按Enter执行初始化磁盘的操作。
(1) 如图5-76所示,在PMC RAID管理界面选择Logical Device Configuration,按Enter。
图5-76 PMC RAID管理界面
(2) 进入图5-77所示界面,选择Create Array,按Enter。
图5-77 Logical Device Configuration界面
(3) 进入图5-78所示界面,选择用来配置RAID的磁盘,按Insert选中,然后按Enter。
(4) 进入图5-79所示界面,对Array Type、Array Label、Array Size、Stripe Size、Read Caching、Write Caching和Creae RAID via进行相应的设置(具体参数说明请参见表5-8),然后选择Done,按Enter。
参数 |
说明 |
Array Type |
RAID级别,其决定了逻辑磁盘性能、容错能力和容量。 |
Array Label |
RAID的名称,需手动输入。 |
Array Size |
RAID的容量。 |
Stripe Size |
条带大小,写在每块磁盘上的条带数据块的大小。 |
Read Caching |
读缓存。 |
Write Caching |
写缓存。 |
Creae RAID via |
配置RAID的初始化方式。 |
(5) 创建完RAID后,选择Manage Arrays,按Enter,如图5-80所示。
(6) 选择需要查看的RAID,按Enter,即可查看该RAID的详细信息(包括RAID名称、级别,所含磁盘信息等),如图5-81所示。
本节介绍设置启动项的详细操作步骤。可设置逻辑磁盘或物理磁盘为第一启动项。
· 设置逻辑磁盘为第一启动项
仅支持设置状态为Optimal的逻辑磁盘为第一启动项。
(1) 进入PMC RAID管理界面,具体方法请参见5.4.1 1. 进入PMC RAID管理界面。
(2) 如图5-82所示,选择Logical Device Configuration,按Enter。
图5-82 PMC RAID管理界面
(3) 进入图5-83所示界面,选择Manage Arrays,按Enter。
图5-83 Logical Device Configuration界面
(4) 进入图5-84所示界面,选择要配置的RAID,按Ctrl+B将其设置为第一启动项。
· 设置物理磁盘为第一启动项
· 只能设置一个RAW状态的物理磁盘作为启动项。如果要将其他状态的磁盘设置为启动项,需要先执行磁盘去初始化操作(5.4.2 3. 去初始化磁盘)。
· Legacy启动模式下,将存储控制卡模式切换为HBA模式后,需要将RAW状态磁盘设置为第一启动项,否则将无法安装或启动操作系统。
(1) 进入PMC RAID管理界面,具体方法请参见5.4.1 1. 进入PMC RAID管理界面。
(2) 在PMC RAID管理界面选择Logical Device Configuration,按Enter。
(3) 进入图5-85所示界面,选择Select Boot Device,按Enter。
图5-85 Logical Device Configuration界面
(4) 进入图5-86所示界面,选择用来配置为启动项的磁盘,按Insert选中,然后按Enter完成启动项的配置。
(1) 进入PMC RAID管理界面,具体方法请参见5.4.1 1. 进入PMC RAID管理界面。
(2) 如图5-87,选择Logical Device Configuration,按Enter。
图5-87 PMC RAID管理界面
(3) 进入图5-88所示界面,选择Manage Arrays,按Enter。
图5-88 Logical Device Configuration界面
(4) 进入图5-89所示界面,选择待删除的RAID,按Delete删除。
执行本操作会清除磁盘上存在的数据、Adaptec元数据和保留空间,并且移除系统分区。Ready状态的磁盘被执行去初始化操作后,回到RAW状态。
当存储控制卡工作模式设置为“HBA”时,无法进行磁盘去初始化。若需要进行磁盘去初始化操作,请先将存储控制卡工作模式设置为“RAID:hide RAW”、“RAID:expose RAW”、“Auto Volume”和“Simple Volume”模式。
(1) 在PMC RAID管理界面选择Logical Device Configuration,按Enter。
(2) 在图5-90所示界面选择Uninitialize Drives,按Enter。
图5-90 Logical Device Configuration界面
(3) 进入如图5-91所示界面,选择要去初始化的磁盘,按Insert选中,按Enter执行磁盘去初始化操作。
图5-91 选择磁盘并去初始化
(1) 进入PMC RAID管理界面,具体方法请参见5.4.1 1. 进入PMC RAID管理界面。
(2) 如图5-92,选择Logical Device Configuration,按Enter。
图5-92 PMC RAID管理界面
(3) 进入图5-93所示界面,选择Secure Erase Drives,按Enter。
图5-93 Logical Device Configuration界面
(4) 进入图5-94所示界面,选择要操作的磁盘,按Enter。
· 为避免数据丢失,在磁盘数据擦除期间,请勿进入操作系统对磁盘进行读写操作。
· 为避免磁盘故障,请勿在擦除磁盘数据期间进行其他操作。
(1) 进入PMC RAID管理界面,具体方法请参见5.4.1 1. 进入PMC RAID管理界面。
(2) 如图5-95,选择Disk Utilities,按Enter。
图5-95 PMC RAID管理界面
(3) 进入图5-96所示界面,可查看各磁盘信息。选择要操作的磁盘,按Enter。
(4) 如图5-97所示,在弹出对话框中选择Identify Drive,按Enter。将磁盘对应槽位蓝色指示灯点亮。
通过本功能可以查看存储控制卡的配置信息、恢复存储控制卡缺省配置信息和修改存储控制卡配置信息。
(1) 进入PMC RAID管理界面,具体方法请参见5.4.1 1. 进入PMC RAID管理界面。
(2) 如图5-98所示,选择Controller Settings,按Enter。
图5-98 PMC RAID管理界面
(3) 进入图5-99所示界面,选择Controller Configuration,按Enter。
(4) 进入图5-100所示界面,可以查看或修改存储控制卡的基本配置信息。按F6,可一键恢复存储控制卡的缺省配置信息。
图5-100 Controller Configuration界面
· 在图5-100所示界面,可以设置存储控制卡的工作模式、背板模式、在POST阶段是否显示物理磁盘、RAID重建开关等信息。
· Backplane Mode用于设置LED点灯策略,在恢复存储控制卡缺省配置后,LED点灯策略变为IBPI,会导致LED状态显示不符合规格,请将该LED点灯策略设置为SGPIO。
当发生离线状态的硬盘数量超出逻辑磁盘容错方法可承受的范围,管理工具界面逻辑磁盘会显示为Failed状态,因此可以使用Force Online功能使逻辑磁盘强制上线。
Force Online将所有可用磁盘设置为optimal状态,而不需要考虑逻辑盘所有成员盘的数据一致性。即使Force Online操作成功,如果一个或多个磁盘包含过时数据,此逻辑设备上的所有数据可能会改变或者丢失。
(1) 如图5-101所示,在存储控制卡配置界面选择Logical Device Configuration,按Enter。
(2) 进入如图5-102所示界面,选择Manage Arrays,按Enter。
图5-102 Logical Device Configuration界面
(3) 在如图5-103所示界面选择Failed状态的逻辑磁盘,按Enter后按Ctrl+F使RAID强制上线。
本节介绍OS命令行工具的下载和安装步骤。OS命令行工具可在服务器正常运行中对RAID卡进行操作,无需重启服务器。
(1) 登录https://www.h3c.com/cn/BizPortal/DownLoadAccessory/DownLoadAccessoryFilt.aspx。
(2) 按照提示信息下载对应存储控制卡的固件安装包及版本说明书。
(3) 解压固件安装包后得到适用于不同操作系统的ARCCONF工具包。
请参考固件版本说明书安装不同操作系统下的ARCCONF工具。
本节介绍OS命令行工具常用命令的使用方法及示例。OS命令行工具可在服务器正常运行中对RAID卡进行操作,无需重启服务器。
通过该命令可以升级存储控制卡的Firmware。
【命令】
arcconf romupdate controller_id fwfile
【参数】
controller_id:存储控制卡的ID。
fwfile:Firmware升级所需的文件名。
【举例】
#升级存储控制卡固件。
[root@localhost 007]# arcconf romupdate 1 REDWOODZ_2G01.ufi
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.
查询存储控制卡的基本信息。
【命令】
arcconf list controller_id
【参数】
controller_id:硬盘所在存储控制卡的ID。
【举例】
# 查询ID为1的控制器属性。
[root@localhost ~]# arcconf list 1
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
Controller ID : Status, Slot, Mode, Name, SerialNumber, WWN
----------------------------------------------------------------------
Controller 1: : Optimal, Slot Unknown, RAID (Expose RAW), PM8060-RAID , FADC8000, 5600B036FADC8000
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical ID : Status (RAID, Interface, Size MB) Name
----------------------------------------------------------------------
No logical devices configured
----------------------------------------------------------------------
maxCache 3.0 information
----------------------------------------------------------------------
maxCache Logical ID : Status (RAID, Interface, Size MB) Name
----------------------------------------------------------------------
No maxCache 3.0 found
----------------------------------------------------------------------
Physical Device information
----------------------------------------------------------------------
Physical ID : State (Interface, BlockSize, SizeMB, Vendor, Model, Type) WWN, [Location]
----------------------------------------------------------------------
Physical 0,33 : Raw (Pass Through) (SATA, 512 Bytes, 5723166MB, ATA, ST6000NM0115-1YZ11 , Hard Drive) 5000C50ctor 0, Connector 1)]
Physical 0,34 : Raw (Pass Through) (SATA, 512 Bytes, 7630885MB, ATA, ST8000NM000A-2KE10 , Hard Drive) 5000C50ctor 0, Connector 1)]
Physical 0,35 : Raw (Pass Through) (SATA, 512 Bytes, 15259648MB, ATA, ST16000NM000G-2KH13, Hard Drive) 5000C5ector 0, Connector 1)]
Physical 0,36 : Raw (Pass Through) (SATA, 512 Bytes, 15259648MB, ATA, ST16000NM000G-2KH13, Hard Drive) 5000C5ector 0, Connector 1)]
Physical 0,37 : Raw (Pass Through) (SATA, 512 Bytes, 15259648MB, ATA, ST16000NM000G-2KH13, Hard Drive) 5000C5ector 0, Connector 1)]
Physical 2,0 : Ready (SES2, Not Applicable, Not Applicable, LSI, Cub, Enclosure Services Device) 500605B0000
Physical 2,1 : Ready (SES2, Not Applicable, Not Applicable, LSI, Cub, Enclosure Services Device) 500605B0000
Command completed successfully.
查询存储控制卡的基本信息。
【命令】
表5-9 查询存储控制卡信息
命令 |
功能 |
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 device_id |
查询特定物理硬盘的信息 |
arcconf getconfig controller_id AR |
查询指定存储控制卡下所有Array的信息 |
arcconf getconfig controller_id AR AR_id |
查询特定Array的信息 |
【参数】
controller_id:硬盘所在存储控制卡的ID。
LD_id:逻辑盘的ID。
channel_id:硬盘的Channel ID。
device_id:硬盘的Device ID。
AR_id:Array的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
----------------------------------------------------------------------
Device #0
Device is a Hard drive
State : Raw (Pass Through)
Block Size : 512 Bytes
Supported : Yes
Programmed Max Speed : SAS 12.0 Gb/s
Transfer Speed : SAS 12.0 Gb/s
Reported Channel,Device(T:L) : 0,0(0:0)
Reported Location : Enclosure 0, Slot 0(Connector 0)
Reported ESD(T:L) : 2,0(0:0)
Vendor : SEAGATE
Model : ST300MP0006
Firmware : N002
Serial number : WAE02RZM0000E74049PF
World-wide name : 5000C5009F4A36B0
Reserved Size : 0 KB
Total Size : 286102 MB
Write Cache : Disabled (write-through)
FRU : None
S.M.A.R.T. : No
S.M.A.R.T. warnings : 0
Power State : Full rpm
Supported Power States : Full rpm,Powered off
SSD : No
Temperature : 37 C/ 98 F
----------------------------------------------------------------
Device Phy Information
----------------------------------------------------------------
Phy #0
PHY Identifier : 0
SAS Address : 5000C5009F4A36B1
Attached PHY Identifier : 3
Attached SAS Address : 588DF9E365D39000
Phy #1
PHY Identifier : 1
SAS Address : 5000C5009F4A36B2
----------------------------------------------------------------
Runtime Error Counters
----------------------------------------------------------------
Hardware Error Count : 0
Medium Error Count : 0
Parity Error Count : 0
Link Failure Count : 0
Aborted Command Count : 0
SMART Warning Count : 0
Device #1
Device is a Hard drive
State : Raw (Pass Through)
Block Size : 512 Bytes
Supported : Yes
Programmed Max Speed : SAS 12.0 Gb/s
Transfer Speed : SAS 12.0 Gb/s
Reported Channel,Device(T:L) : 0,1(1:0)
Reported Location : Enclosure 0, Slot 1(Connector 0)
Reported ESD(T:L) : 2,0(0:0)
Vendor : HGST
Model : HUC101890CS4200
Firmware : AD02
Serial number : 04GAEYHA
World-wide name : 5000CCA02E130057
Reserved Size : 0 KB
Total Size : 858483 MB
Write Cache : Disabled (write-through)
FRU : None
S.M.A.R.T. : No
S.M.A.R.T. warnings : 0
Power State : Full rpm
Supported Power States : Full rpm,Powered off
SSD : No
Temperature : 39 C/ 102 F
----------------------------------------------------------------
Device Phy Information
----------------------------------------------------------------
Phy #0
PHY Identifier : 0
SAS Address : 5000CCA02E130055
Attached PHY Identifier : 2
Attached SAS Address : 588DF9E365D39000
Phy #1
PHY Identifier : 1
SAS Address : 5000CCA02E130056
----------------------------------------------------------------
Runtime Error Counters
----------------------------------------------------------------
Hardware Error Count : 0
Medium Error Count : 0
Parity Error Count : 0
Link Failure Count : 0
Aborted Command Count : 0
SMART Warning Count : 0
Device #2
Device is a Hard drive
State : Raw (Pass Through)
Block Size : 512 Bytes
Supported : Yes
Programmed Max Speed : SAS 12.0 Gb/s
Transfer Speed : SAS 12.0 Gb/s
Reported Channel,Device(T:L) : 0,2(2:0)
Reported Location : Enclosure 0, Slot 2(Connector 0)
Reported ESD(T:L) : 2,0(0:0)
Vendor : SEAGATE
Model : ST600MM0208
Firmware : N001
Serial number : W0M0C0470000K743K271
World-wide name : 5000C5009FC2A428
Reserved Size : 0 KB
Total Size : 572325 MB
Write Cache : Enabled (write-back)
FRU : None
S.M.A.R.T. : No
S.M.A.R.T. warnings : 0
Power State : Full rpm
Supported Power States : Full rpm,Powered off
SSD : No
Temperature : 34 C/ 93 F
----------------------------------------------------------------
Device Phy Information
----------------------------------------------------------------
Phy #0
PHY Identifier : 0
SAS Address : 5000C5009FC2A429
Attached PHY Identifier : 0
Attached SAS Address : 588DF9E365D39000
Phy #1
PHY Identifier : 1
SAS Address : 5000C5009FC2A42A
----------------------------------------------------------------
Runtime Error Counters
----------------------------------------------------------------
Hardware Error Count : 0
Medium Error Count : 0
Parity Error Count : 0
Link Failure Count : 0
Aborted Command Count : 0
SMART Warning Count : 0
Device #3
Device is a Hard drive
State : Raw (Pass Through)
Block Size : 512 Bytes
Supported : Yes
Programmed Max Speed : SAS 12.0 Gb/s
Transfer Speed : SAS 12.0 Gb/s
Reported Channel,Device(T:L) : 0,3(3:0)
Reported Location : Enclosure 0, Slot 3(Connector 0)
Reported ESD(T:L) : 2,0(0:0)
Vendor : SEAGATE
Model : ST300MP0006
Firmware : N002
Serial number : WAE00HDS0000E7289DJX
World-wide name : 5000C5009E900F20
Reserved Size : 0 KB
Total Size : 286102 MB
Write Cache : Disabled (write-through)
FRU : None
S.M.A.R.T. : No
S.M.A.R.T. warnings : 0
Power State : Full rpm
Supported Power States : Full rpm,Powered off
SSD : No
Temperature : 36 C/ 96 F
----------------------------------------------------------------
Device Phy Information
----------------------------------------------------------------
Phy #0
PHY Identifier : 0
SAS Address : 5000C5009E900F21
Attached PHY Identifier : 1
Attached SAS Address : 588DF9E365D39000
Phy #1
PHY Identifier : 1
SAS Address : 5000C5009E900F22
----------------------------------------------------------------
Runtime Error Counters
----------------------------------------------------------------
Hardware Error Count : 0
Medium Error Count : 0
Parity Error Count : 0
Link Failure Count : 0
Aborted Command Count : 0
SMART Warning Count : 0
Device #4
Device is a Hard drive
State : Raw (Pass Through)
Block Size : 512 Bytes
Supported : Yes
Programmed Max Speed : SAS 12.0 Gb/s
Transfer Speed : SAS 12.0 Gb/s
Reported Channel,Device(T:L) : 0,4(4:0)
Reported Location : Enclosure 0, Slot 4(Connector 1)
Reported ESD(T:L) : 2,0(0:0)
Vendor : HGST
Model : HUC101812CS4200
Firmware : AD02
Serial number : 06HXELAZ
World-wide name : 5000CCA02D6C13AB
Reserved Size : 0 KB
Total Size : 1144641 MB
Write Cache : Disabled (write-through)
FRU : None
S.M.A.R.T. : No
S.M.A.R.T. warnings : 0
Power State : Full rpm
Supported Power States : Full rpm,Powered off
SSD : No
Temperature : 37 C/ 98 F
----------------------------------------------------------------
Device Phy Information
----------------------------------------------------------------
Phy #0
PHY Identifier : 0
SAS Address : 5000CCA02D6C13A9
Attached PHY Identifier : 5
Attached SAS Address : 588DF9E365D39000
Phy #1
PHY Identifier : 1
SAS Address : 5000CCA02D6C13AA
----------------------------------------------------------------
Runtime Error Counters
----------------------------------------------------------------
Hardware Error Count : 0
Medium Error Count : 0
Parity Error Count : 0
Link Failure Count : 0
Aborted Command Count : 0
SMART Warning Count : 0
Device #5
Device is an Enclosure Services Device
Reported Channel,Device(T:L) : 2,0(0:0)
Enclosure ID : 0
Type : SES2
Vendor : ADAPTEC
Model : Virtual SGPIO
Firmware : 1
Status of Enclosure Services Device
Speaker status : Not Available
Command completed successfully. : Not Available
# 查询所有AD的基本信息。
[root@localhost home]# arcconf getconfig 1 ad
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
Controller Status : Optimal
Controller Mode : RAID (Expose RAW)
Channel description : SAS/SATA
Controller Model : PM8060-RAID
Controller Serial Number : 65D39000
Controller World Wide Name : 588DF9E365D39000
Controller Alarm : Enabled
Temperature : 37 C/ 98 F (Normal)
Installed memory : 2048 MB
Host bus type : PCIe
Host bus speed : 8000 MHz
Host bus link width : 8 bit(s)/link(s)
Global task priority : High
Performance Mode : Default/Dynamic
PCI Device ID : 653
Stayawake period : Disabled
Spinup limit internal drives : 0
Spinup limit external drives : 0
Defunct disk drive count : 0
NCQ status : Enabled
Statistics data collection mode : Disabled
Monitor Log Severity Level : Informational
Global Max SAS Phy Link Rate : 12 Gbps
Verify Write Setting : Not Applicable
Save Custom Defaults Setting : Unknown
Smart Poll : Enabled
Error Tunable Profile : Normal
Metadead Supported : Supported
Metadead : False
--------------------------------------------------------
Cache Properties
--------------------------------------------------------
Global Physical Device Write Cache Policy : Enabled
--------------------------------------------------------
RAID Properties
--------------------------------------------------------
Logical devices/Failed/Degraded : 0/0/0
Copyback : Enabled
Automatic Failover : Enabled
Background consistency check : Disabled
Background consistency check period : 0
--------------------------------------------------------
Controller BIOS Setting Information
--------------------------------------------------------
Runtime BIOS : Enabled
Array BBS Support : Disabled
Physical Drives Displayed during POST : Enabled
Backplane Mode : SGPIO
BIOS Halt on Missing Drive Count : 255
--------------------------------------------------------
Controller Version Information
--------------------------------------------------------
BIOS : 7.17-0 (33512)
Firmware : 7.17-0 (33512)
Driver : 1.2-1 (50877)
Boot Flash : 7.17-0 (33512)
CPLD (Load version/ Flash version) : 8/ 8
SEEPROM (Load version/ Flash version) : 1/ 1
FCT Custom Init String Version : 0x3
--------------------------------------------------------
Controller Cache Backup Unit Information
--------------------------------------------------------
Overall Backup Unit Status : Ready
Backup Unit Type : AFM-700/700LP
Non-Volatile Storage Status : Ready
Supercap Status : Ready
-------------------------------------
Supercap Information
-------------------------------------
Current Temperature : 25 deg C
Threshold Temperature : 55 deg C
Life-time Temperature Recorded
(Min/Max) : -59 deg C/ 55 deg C
Voltage(Present/Max) : 5370 mV/ 5302 mV
Life-time Max Voltage Recorded : 5412 mV
Current Drawn(Present/Max) : 0 mA/ 560 mA
Health : 100 percent
Charge Level : 100 percent
Serial Number : 0123456789AB
Learn Status : Active, Scheduled
Present Capacitance : 300 farads
--------------------------------------------------------
Connector information
--------------------------------------------------------
Connector #0
Connector Name : CN0
----------------------------------------
Lane Information
----------------------------------------
Lane #0
Channel ID : 0
Device ID : 0
SAS Address : 588DF9E365D39000
PHY Identifier : 3
-------------------------------------
Lane SAS Phy Information
-------------------------------------
SAS Address : 588DF9E365D39000
Lane #1
Channel ID : 0
Device ID : 1
SAS Address : 588DF9E365D39000
PHY Identifier : 2
-------------------------------------
Lane SAS Phy Information
-------------------------------------
SAS Address : 588DF9E365D39000
Lane #2
Channel ID : 0
Device ID : 2
SAS Address : 588DF9E365D39000
PHY Identifier : 0
-------------------------------------
Lane SAS Phy Information
-------------------------------------
SAS Address : 588DF9E365D39000
Lane #3
Channel ID : 0
Device ID : 3
SAS Address : 588DF9E365D39000
PHY Identifier : 1
-------------------------------------
Lane SAS Phy Information
-------------------------------------
SAS Address : 588DF9E365D39000
Connector #1
Connector Name : CN1
----------------------------------------
Lane Information
----------------------------------------
Lane #0
Channel ID : 0
Device ID : 4
SAS Address : 588DF9E365D39000
PHY Identifier : 5
-------------------------------------
Lane SAS Phy Information
-------------------------------------
SAS Address : 588DF9E365D39000
Attached PHY Identifier : 0
Attached SAS Address : 5000CCA02D6C13A9
Negotiated Logical Link Rate : PHY enabled - 12 Gbps
Lane #1
Channel ID : 0
Device ID : 5
SAS Address : 588DF9E365D39000
PHY Identifier : 6
-------------------------------------
Lane SAS Phy Information
-------------------------------------
SAS Address : 588DF9E365D39000
Lane #2
Channel ID : 0
Device ID : 6
SAS Address : 588DF9E365D39000
PHY Identifier : 4
-------------------------------------
Lane SAS Phy Information
-------------------------------------
SAS Address : 588DF9E365D39000
Lane #3
Channel ID : 0
Device ID : 7
SAS Address : 588DF9E365D39000
PHY Identifier : 7
-------------------------------------
Lane SAS Phy Information
-------------------------------------
SAS Address : 588DF9E365D39000
Connector #2
Connector Name : CN2
----------------------------------------
Lane Information
----------------------------------------
Lane #0
Channel ID : 0
Device ID : 8
SAS Address : 588DF9E365D39000
PHY Identifier : 10
-------------------------------------
Lane SAS Phy Information
-------------------------------------
No SAS Phy information available for lane #0
Lane #1
Channel ID : 0
Device ID : 9
SAS Address : 588DF9E365D39000
PHY Identifier : 11
-------------------------------------
Lane SAS Phy Information
-------------------------------------
No SAS Phy information available for lane #1
Lane #2
Channel ID : 0
Device ID : 10
SAS Address : 588DF9E365D39000
PHY Identifier : 9
-------------------------------------
Lane SAS Phy Information
-------------------------------------
No SAS Phy information available for lane #2
Lane #3
Channel ID : 0
Device ID : 11
SAS Address : 588DF9E365D39000
PHY Identifier : 8
-------------------------------------
Lane SAS Phy Information
-------------------------------------
No SAS Phy information available for lane #3
Connector #3
Connector Name : CN3
----------------------------------------
Lane Information
----------------------------------------
Lane #0
Channel ID : 0
Device ID : 12
SAS Address : 588DF9E365D39000
PHY Identifier : 13
-------------------------------------
Lane SAS Phy Information
-------------------------------------
No SAS Phy information available for lane #0
Lane #1
Channel ID : 0
Device ID : 13
SAS Address : 588DF9E365D39000
PHY Identifier : 12
-------------------------------------
Lane SAS Phy Information
-------------------------------------
No SAS Phy information available for lane #1
Lane #2
Channel ID : 0
Device ID : 14
SAS Address : 588DF9E365D39000
PHY Identifier : 14
-------------------------------------
Lane SAS Phy Information
-------------------------------------
No SAS Phy information available for lane #2
Lane #3
Channel ID : 0
Device ID : 15
SAS Address : 588DF9E365D39000
PHY Identifier : 15
-------------------------------------
Lane SAS Phy Information
-------------------------------------
No SAS Phy information available for lane #3
Command completed successfully.
点亮、熄灭控制器的硬盘定位指示灯(包含物理盘、逻辑盘、以及全部硬盘)。
【命令】
表5-10 点灯相关命令
命令 |
功能 |
arcconf identify controller_id device channel_id device_id time time |
对特定的物理硬盘进行点灯,time为可选项,表示点灯持续的时间,单位为秒 |
arcconf identify controller_id device channel_id device_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_id:逻辑盘的ID。
channel_id:硬盘的Channel ID。
device_id:硬盘的Device ID。
time:硬盘指示灯点亮的时间,单位为秒。
array_id:array的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.
设置存储控制卡工作模式。
【命令】
arcconf setcontrollermode controller_id mode
【参数】
controller_id:存储控制卡的ID。
mode:存储控制卡工作模式,数字代表的含义如下:
· 0:RAID,EXPOSE RAW
· 1:AUTO VOLUME MODE
· 2:HBA MODE
· 3:RAID,HIDE RAW
· 4:SIMPLE VOLUME MODE
【举例】
# 设置存储控制卡工作模式为“RAID:HIDE EXPOSE RAW”。
[root@localhost home]# arcconf setcontrollermode 1 0
Controllers found: 1
Command completed successfully.
# 查询存储控制卡工作模式。
[root@localhost home]# arcconf getconfig 1 ad
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
Controller Status : Optimal
Controller Mode : RAID (Expose RAW)
Channel description : SAS/SATA
Controller Model : PM8060-RAID
Controller Serial Number : 65D39000
Controller World Wide Name : 588DF9E365D39000
Controller Alarm : Enabled
Temperature : 37 C/ 98 F (Normal)
Installed memory : 2048 MB
Host bus type : PCIe
Host bus speed : 8000 MHz
Host bus link width : 8 bit(s)/link(s)
Global task priority : High
Performance Mode : Default/Dynamic
PCI Device ID : 653
Stayawake period : Disabled
Spinup limit internal drives : 0
Spinup limit external drives : 0
Defunct disk drive count : 0
NCQ status : Enabled
Statistics data collection mode : Disabled
Monitor Log Severity Level : Informational
Global Max SAS Phy Link Rate : 12 Gbps
Verify Write Setting : Not Applicable
Save Custom Defaults Setting : Unknown
Smart Poll : Enabled
Error Tunable Profile : Normal
Metadead Supported : Supported
Metadead : False
--------------------------------------------------------
Cache Properties
--------------------------------------------------------
Global Physical Device Write Cache Policy : Enabled
--------------------------------------------------------
RAID Properties
--------------------------------------------------------
Logical devices/Failed/Degraded : 0/0/0
Copyback : Enabled
Automatic Failover : Enabled
Background consistency check : Disabled
Background consistency check period : 0
--------------------------------------------------------
Controller BIOS Setting Information
--------------------------------------------------------
Runtime BIOS : Enabled
Array BBS Support : Disabled
Physical Drives Displayed during POST : Enabled
Backplane Mode : SGPIO
BIOS Halt on Missing Drive Count : 255
--------------------------------------------------------
Controller Version Information
--------------------------------------------------------
BIOS : 7.17-0 (33512)
Firmware : 7.17-0 (33512)
Driver : 1.2-1 (50877)
Boot Flash : 7.17-0 (33512)
CPLD (Load version/ Flash version) : 8/ 8
SEEPROM (Load version/ Flash version) : 1/ 1
FCT Custom Init String Version : 0x3
--------------------------------------------------------
Controller Cache Backup Unit Information
--------------------------------------------------------
Overall Backup Unit Status : Ready
Backup Unit Type : AFM-700/700LP
Non-Volatile Storage Status : Ready
Supercap Status : Ready
-------------------------------------
Supercap Information
-------------------------------------
Current Temperature : 25 deg C
Threshold Temperature : 55 deg C
Life-time Temperature Recorded
(Min/Max) : -59 deg C/ 55 deg C
Voltage(Present/Max) : 5370 mV/ 5302 mV
Life-time Max Voltage Recorded : 5412 mV
Current Drawn(Present/Max) : 0 mA/ 560 mA
Health : 100 percent
Charge Level : 100 percent
Serial Number : 0123456789AB
Learn Status : Active, Scheduled
Present Capacitance : 300 farads
--------------------------------------------------------
Connector information
--------------------------------------------------------
Connector #0
Connector Name : CN0
----------------------------------------
Lane Information
----------------------------------------
Lane #0
Channel ID : 0
Device ID : 0
SAS Address : 588DF9E365D39000
PHY Identifier : 3
-------------------------------------
Lane SAS Phy Information
-------------------------------------
SAS Address : 588DF9E365D39000
Lane #1
Channel ID : 0
Device ID : 1
SAS Address : 588DF9E365D39000
PHY Identifier : 2
-------------------------------------
Lane SAS Phy Information
-------------------------------------
SAS Address : 588DF9E365D39000
Lane #2
Channel ID : 0
Device ID : 2
SAS Address : 588DF9E365D39000
PHY Identifier : 0
-------------------------------------
Lane SAS Phy Information
-------------------------------------
SAS Address : 588DF9E365D39000
Lane #3
Channel ID : 0
Device ID : 3
SAS Address : 588DF9E365D39000
PHY Identifier : 1
-------------------------------------
Lane SAS Phy Information
-------------------------------------
SAS Address : 588DF9E365D39000
Connector #1
Connector Name : CN1
----------------------------------------
Lane Information
----------------------------------------
Lane #0
Channel ID : 0
Device ID : 4
SAS Address : 588DF9E365D39000
PHY Identifier : 5
-------------------------------------
Lane SAS Phy Information
-------------------------------------
SAS Address : 588DF9E365D39000
Attached PHY Identifier : 0
Attached SAS Address : 5000CCA02D6C13A9
Negotiated Logical Link Rate : PHY enabled - 12 Gbps
Lane #1
Channel ID : 0
Device ID : 5
SAS Address : 588DF9E365D39000
PHY Identifier : 6
-------------------------------------
Lane SAS Phy Information
-------------------------------------
SAS Address : 588DF9E365D39000
Lane #2
Channel ID : 0
Device ID : 6
SAS Address : 588DF9E365D39000
PHY Identifier : 4
-------------------------------------
Lane SAS Phy Information
-------------------------------------
SAS Address : 588DF9E365D39000
Lane #3
Channel ID : 0
Device ID : 7
SAS Address : 588DF9E365D39000
PHY Identifier : 7
-------------------------------------
Lane SAS Phy Information
-------------------------------------
SAS Address : 588DF9E365D39000
Connector #2
Connector Name : CN2
----------------------------------------
Lane Information
----------------------------------------
Lane #0
Channel ID : 0
Device ID : 8
SAS Address : 588DF9E365D39000
PHY Identifier : 10
-------------------------------------
Lane SAS Phy Information
-------------------------------------
No SAS Phy information available for lane #0
Lane #1
Channel ID : 0
Device ID : 9
SAS Address : 588DF9E365D39000
PHY Identifier : 11
-------------------------------------
Lane SAS Phy Information
-------------------------------------
No SAS Phy information available for lane #1
Lane #2
Channel ID : 0
Device ID : 10
SAS Address : 588DF9E365D39000
PHY Identifier : 9
-------------------------------------
Lane SAS Phy Information
-------------------------------------
No SAS Phy information available for lane #2
Lane #3
Channel ID : 0
Device ID : 11
SAS Address : 588DF9E365D39000
PHY Identifier : 8
-------------------------------------
Lane SAS Phy Information
-------------------------------------
No SAS Phy information available for lane #3
Connector #3
Connector Name : CN3
----------------------------------------
Lane Information
----------------------------------------
Lane #0
Channel ID : 0
Device ID : 12
SAS Address : 588DF9E365D39000
PHY Identifier : 13
-------------------------------------
Lane SAS Phy Information
-------------------------------------
No SAS Phy information available for lane #0
Lane #1
Channel ID : 0
Device ID : 13
SAS Address : 588DF9E365D39000
PHY Identifier : 12
-------------------------------------
Lane SAS Phy Information
-------------------------------------
No SAS Phy information available for lane #1
Lane #2
Channel ID : 0
Device ID : 14
SAS Address : 588DF9E365D39000
PHY Identifier : 14
-------------------------------------
Lane SAS Phy Information
-------------------------------------
No SAS Phy information available for lane #2
Lane #3
Channel ID : 0
Device ID : 15
SAS Address : 588DF9E365D39000
PHY Identifier : 15
-------------------------------------
Lane SAS Phy Information
-------------------------------------
No SAS Phy information available for lane #3
Command completed successfully.
创建、删除RAID。
【命令】
arcconf create controller_id logicaldrive option size level channel_id device_id channel_id device_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。
size:LD的容量大小。单位为MB,设置时只输入数字即可,如数值设为“1024”,则表示虚拟磁盘的容量为1024MB。如果设置为“MAX”,表示使用硬盘的所有容量创建虚拟磁盘。
level:要创建的LD的级别。
channel_id:硬盘的Channel ID。
device_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.
在Virtual Drives未占用成员硬盘全部容量时,可通过调整Virtual Drives的可用空间,扩大Virtual Drives容量。
【命令】
arcconf modify controller_id from LD_id to LD_size LD_level channel_id device_id channel_id device_id
【参数】
controller_id:硬盘所在存储控制卡的ID。
LD_id:逻辑盘的ID。
LD_size:扩容后LD的容量大小,单位为MB。
LD_level:LD的RAID级别。
channel_id:硬盘的Channel ID。
device_id:硬盘的Device ID。
【说明】
· 为准确进行扩容,执行该命令前,请提前确认并正确输入RAID级别以及成员盘的channel_id device_id。
· 扩容时需要保证所增加的容量不大于当前LD所在Array剩余容量。
【举例】
# 将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.
在已存在的RAID中添加新硬盘,扩大RAID容量。
【命令】
arcconf modify controller_id array array_id expand channel_id device_id channel_id device_id......
【参数】
controller_id:硬盘所在存储控制卡的ID。
array_id:Array的id。
channel_id:硬盘的Channel ID。
device_id:硬盘的Device ID。
【说明】
增加新盘后,请参考5.6.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.
对RAID级别进行迁移。
【命令】
arcconf modify controller_id from LD_id to LD_size LD_level channel_id device_id channel_id device_id......
【参数】
controller_id:硬盘所在存储控制卡的ID。
LD_id:逻辑盘的ID。
LD_size:LD迁移前的容量。
LD_level:迁移后的LD级别。
channel_id:硬盘的Channel ID。
device_id:硬盘的Device ID。
【说明】
· 迁移时,根据迁移级别的硬盘数量要求,如果迁移的目标级别所需的硬盘数量比原级别的多,则先需要为LD添加硬盘,然后再进行迁移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.
设置硬盘初始化和去初始化状态。
【命令】
arcconf task start controller_id device channel_id device_id type
【参数】
controller_id:硬盘所在存储控制卡的ID。
channel_id:硬盘所在channel的ID,可以通过arcconf getconfig controller_id pd查看硬盘的channel和ID(Reported Channel,Device(T:L)对应项)。
device_id:硬盘的ID,可以通过arcconf getconfig controller_id pd查看硬盘的channel和ID(Reported Channel,Device(T:L)对应项)。
type:task的类型,可选initialize或uninitialize。
【说明】
如果采用all替代channel_id device_id参数,表示对阵列卡controller_id下所有硬盘设置初始化和去初始化状态。
【举例】
# 设置controller_id为1的阵列卡下device_id为9的硬盘为初始化状态。
[root@localhost ~]# arcconf task start 1 device 0 9 initialize
Controllers found: 1
Initializing Channel 0, Device 9 will erase its metadata, the section
where all the logical device definition data is stored
Are you sure you want to continue?
Press y, then ENTER to continue or press ENTER to abort: y
Initializing Channel 0, Device 9.
Command completed successfully.
查询阵列卡热备盘的重建功能状态。
【命令】
arcconf getconfig controller_id AL |grep -i failover
【参数】
controller_id:硬盘所在存储控制卡的ID。
【举例】
# 查询controller_id为1的阵列卡热备盘的重建功能状态。
[root@localhost ~]# arcconf getconfig 1 AL |grep -i failover
Automatic Failover : Enabled
开启和关闭阵列卡热备盘自动重建功能。
【命令】
arcconf failover controller_id status
【参数】
controller_id:硬盘所在存储控制卡的ID。
status:功能选项状态,on或off。
【举例】
# 关闭controller_id为1的阵列卡热备盘自动重建功能。
[root@localhost ~]# arcconf failover 1 off
Controllers found: 1
Command completed successfully.
设置Global热备盘、Dedicated热备盘和Pooled热备盘。
【命令】
arcconf setstate controller_id device channel_id device_id hsp
arcconf setstate controller_id device channel_id device_id hsp logicaldrive ld_id
【参数】
controller_id:硬盘所在存储控制卡的ID。
channel_id:硬盘所在channel的ID,可以通过arcconf getconfig controller_id pd查看硬盘的channel和ID(Reported Channel,Device(T:L)对应项)。
device_id:硬盘的ID,可以通过arcconf getconfig controller_id pd查看硬盘的channel和ID(Reported Channel,Device(T:L)对应项)。
ld_id:逻辑盘的编号,可以通过arcconf getconfig controller_id pd查看逻辑盘的编号(Logical Device number对应项)。
【举例】
# 设置device_id为33的硬盘为全局热备盘。
[root@localhost ~]# arcconf setstate 1 device 0 33 hsp
Controllers found: 1
This global hot spare will only protect logicals whose member block size is 512 Bytes.
Command completed successfully.
# 设置device_id为34的硬盘为ld_id为0的逻辑盘专属热备盘。
[root@localhost ~]# arcconf setstate 1 device 0 34 hsp logicaldrive 0
Controllers found: 1
Command completed successfully.
# 设置device_id为36的硬盘为ld_id为0和1的逻辑盘pooled热备盘。
[root@localhost ~]# arcconf setstate 1 device 0 36 hsp logicaldrive 0 1
Controllers found: 1
Command completed successfully.
删除热备盘。
【命令】
arcconf setstate controller_id device channel_id device_id rdy
【参数】
controller_id:硬盘所在存储控制卡的ID。
channel_id:硬盘所在channel的ID,可以通过arcconf getconfig controller_id pd查看硬盘的channel和ID(Reported Channel,Device(T:L)对应项)。
device_id:硬盘的ID,可以通过arcconf getconfig controller_id pd查看硬盘的channel和ID(Reported Channel,Device(T:L)对应项)。
【举例】
# 删除硬盘的ID为47的热备盘。
[root@localhost ~]# arcconf setstate 1 device 0 47 rdy
Controllers found: 1
Command completed successfully.
收集存储控制卡日志。
【命令】
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.
使能和关闭LD的cache功能。
【命令】
命令 |
功能 |
arcconf setcache controller_id logicaldrive LD_id con |
使能特定LD的Cache功能 |
arcconf setcache controller_id logicaldrive LD_id coff |
关闭特定LD的Cache功能 |
arcconf setcache controller_id logicaldrive LD_id ron |
使能特定LD的读Cache功能 |
arcconf setcache controller_id logicaldrive LD_id roff |
关闭特定LD的读Cache功能 |
arcconf setcache controller_id logicaldrive LD_id wt |
设置特定LD的Cache写策略为write through,即始终关闭写Cache功能 |
arcconf setcache controller_id logicaldrive LD_id wb |
设置特定LD的Cache写策略为write back,即在没有电容保护时,仍会打开RAID组写Cache,可能会导致异常掉电后的数据丢失 |
arcconf setcache controller_id logicaldrive LD_id wbb |
设置特定LD的Cache写策略为write back with battery/ZMM,即在没有电容或电容还没有Ready时自动将RAID组写Cache关闭,为推荐配置 |
【参数】
controller_id:硬盘所在存储控制卡的ID。
LD_id:逻辑盘的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.
# 使能LD0的读Cache功能。
[root@localhost Firmware]# ./arcconf setcache 1 logicaldrive 0 ron
Controllers found: 1
Command completed successfully.
# 关闭LD0的读Cache功能。
[root@localhost Firmware]# ./arcconf setcache 1 logicaldrive 0 roff
Controllers found: 1
Command completed successfully.
# 设置LD0的cache写策略为write through。
[root@localhost Firmware]# arcconf setcache 1 logicaldrive 0 wt
Controllers found: 1
Command completed successfully.
# 设置LD0的cache写策略为write back。
[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.
# 设置LD0的cache写策略为write back with battery/ZMM。
[root@localhost Firmware]# ./arcconf setcache 1 logicaldrive 0 wbb
Controllers found: 1
Command completed successfully.
# 查询LD0的读写cache设置。
[root@localhost Firmware]# ./arcconf getconfig 1 ld 0
Controllers found: 1
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical Device number 0
Logical Device name : DefaultValue00
Block Size of member drives : 512 Bytes
RAID level : 1
Unique Identifier : 8E1725B7
Status of Logical Device : Optimal
Additional details : Quick initialized
Size : 102390 MB
Parity space : 102400 MB
Interface Type : Serial Attached SCSI
Device Type : HDD
Read-cache setting : Enabled
Read-cache status : On
Write-cache setting : On when protected by battery/ZMM
Write-cache status : On
Partitioned : No
Protected by Hot-Spare : No
Bootable : Yes
Failed stripes : No
Power settings : Disabled
--------------------------------------------------------
Logical Device segment information
--------------------------------------------------------
Segment 0 : Present (17166336MB, SAS, HDD, Enclosure:0, Slot:9) ZR50AQ6W0000C1095DHV
Segment 1 : Present (17166336MB, SAS, HDD, Enclosure:0, Slot:10) ZR50AQG70000C101J4WN
Command completed successfully.
开启和停止擦除物理盘的数据。
【命令】
arcconf task start controller_id device channel_id device_id secureerase
arcconf task stop controller_id device channel_id device_id
【参数】
controller_id:硬盘所在存储控制卡的ID。
channel_id:硬盘的Channel ID。
device_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.
强制下线物理盘。
【命令】
arcconf setstate controller_id device channel_id device_id DDD
【参数】
controller_id:硬盘所在存储控制卡的ID。
channel_id:硬盘的Channel ID。
device_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.
开启一致性检查并设置参数。
【命令】
arcconf consistencycheck controller_id mode
arcconf consistencycheck controller_id parallelcount parallelcount_number
【参数】
controller_id:硬盘所在存储控制卡的ID。
mode:一致性检查开关,取值如下:
· on:开启。
· off:关闭。
parallelcount_number:后台一致性检查的并行个数。可设置为任意值,设置为1则为禁用。
【举例】
# 开启一致性检查并设置检查并行个数为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.
关于存储控制卡的故障信息收集、故障诊断定位和故障解决方法的详细说明,请参见《H3C服务器 故障处理手册》。
存储控制卡与服务器的兼容性关系,请查看服务器兼容的部件查询工具。
访问H3C官网下载存储控制卡的驱动程序。驱动程序的安装步骤,请参见与驱动程序一起发布的版本说明书。
不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!