使用内置的Adaptec控制器管理硬件突袭

2020年12月31日19:38:30 发表评论 59 次浏览

请注意

此页面上的文本已由翻译软件翻译。我们的编辑人员的修订版本即将推出。

对于带有Adaptec Raid控制器的Linux服务器

在本文中, 你将学习如何在Linux Server具有Adaptec Raid控制器的情况下监视和重建硬件RAID。

搭配软件arcconf64你可以控制服务器的Raid Controller。例如, 你可以阅读信息, 并在必要时重建硬件团队。arcconf64默认情况下安装在服务器上。

第1步

在你的Linux服务器上通过SSH登录并成为root用户。

第2步

使用以下命令阅读有关服务器的信息arcconf64 getconfig 1。这是一个例子:

Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
Controller Status : Optimal
Channel description : SAS/SATA
Controller Model : Adaptec 6805E R5
Controller Serial Number : 4A12135DADB
Controller World Wide Name : 50000D1107D73700
Physical Slot : 6
Temperature : 60 C/ 140 F (Normal)
Installed memory : 128 MB
Copyback : Disabled
Background consistency check : Disabled
Background consistency check period : 30
Automatic Failover : Enabled
Global task priority : High
Performance Mode : Default/Dynamic
Host bus type : PCIe
Host bus speed : 5000 MHz
Host bus link width : 4 bit(s)/link(s)
Stayawake period : Disabled
Spinup limit internal drives : 0
Spinup limit external drives : 0
Defunct disk drive count : 0
Logical devices/Failed/Degraded : 2/0/0
NCQ status : Enabled
Statistics data collection mode : Enabled
--------------------------------------------------------
Controller Version Information
--------------------------------------------------------
BIOS : 5.2-0 (19109)
Firmware : 5.2-0 (19109)
Driver : 1.2-0 (30200)
Boot Flash : 5.2-0 (19109)

----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical device number 0
Logical device name : Volume#0
Block Size of member drives : 512 Bytes
RAID level : 1
Unique Identifier : D605B3AA
Status of logical device : Optimal
Size : 228342 MB
Parity space : 228352 MB
Read-cache setting : Enabled
Read-cache status : On
Write-cache setting : Enabled
Write-cache status : On
Partitioned : Yes
Protected by Hot-Spare : No
Bootable : Yes
Failed stripes : No
Power settings : Disabled
--------------------------------------------------------
Logical device segment information
--------------------------------------------------------
Segment 0 : Present (Controller:1, Connector:0, Device:0) WD-WCC131993448
Segment 1 : Present (Controller:1, Connector:0, Device:1) WD-WCC132055406

Logical device number 1
Logical device name : Volume#1
Block Size of member drives : 512 Bytes
RAID level : 1
Unique Identifier : 4F0DB3AA
Status of logical device : Optimal
Size : 3586038 MB
Parity space : 3586048 MB
Read-cache setting : Enabled
Read-cache status : On
Write-cache setting : Enabled
Write-cache status : On
Partitioned : Yes
Protected by Hot-Spare : No
Bootable : No
Failed stripes : No
Power settings : Disabled
--------------------------------------------------------
Logical device segment information
--------------------------------------------------------
Segment 0 : Present (Controller:1, Connector:0, Device:0) WD-WCC131993448
Segment 1 : Present (Controller:1, Connector:0, Device:1) WD-WCC132055406


----------------------------------------------------------------------
Physical Device information
----------------------------------------------------------------------
Device #0
Device is a Hard drive
State : Online
Block Size : 512 Bytes
Supported : Yes
Transfer Speed : SATA 6.0 Gb/s
Reported Channel, Device(T:L) : 0, 0(0:0)
Reported Location : Connector 0, Device 0
Vendor : WDC
Model : WD4000F9YZ-09N20
Firmware : 01.01A01
Serial number : WD-WCC131993448
World-wide name : 50014EE25F66F1E0
Reserved Size : 1072920 KB
Used Size : 3814400 MB
Unused Size : 64 KB
Total Size : 3815447 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, Reduced rpm
SSD : No
NCQ status : Enabled
Device #1
Device is a Hard drive
State : Online
Block Size : 512 Bytes
Supported : Yes
Transfer Speed : SATA 6.0 Gb/s
Reported Channel, Device(T:L) : 0, 1(1:0)
Reported Location : Connector 0, Device 1
Vendor : WDC
Model : WD4000F9YZ-09N20
Firmware : 01.01A01
Serial number : WD-WCC132055406
World-wide name : 50014EE25F678455
Reserved Size : 1072920 KB
Used Size : 3814400 MB
Unused Size : 64 KB
Total Size : 3815447 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, Reduced rpm
SSD : No
NCQ status : Enabled



Command completed successfully.

使用命令显示服务器事件arcconf64 getlogs事件。一个例子看起来像这样:

Controllers found: 1
<ControllerLog controllerID="0" type="6" time="1406893517">
<eventlog>
<event Date="1406027447" eventType="FSA_EM_BATTERY_CHANGE" eventCode="0x4000" batteryEventType="FSA_BATTERY_DEAD" batteryEventCode="1" priorState="0"
currentState="0" controllerID="0"/>
<event Date="1406027451" eventType="FSA_EM_BATTERY_CHANGE" eventCode="0x4000" batteryEventType="FSA_BATTERY_DEAD" batteryEventCode="1" priorState="0"
currentState="0" controllerID="0"/>
<event Date="1406027455" eventType="FSA_EM_BATTERY_CHANGE" eventCode="0x4000" batteryEventType="FSA_BATTERY_DEAD" batteryEventCode="1" priorState="0"
currentState="0" controllerID="0"/>
<event Date="1406027459" eventType="FSA_EM_BATTERY_CHANGE" eventCode="0x4000" batteryEventType="FSA_BATTERY_DEAD" batteryEventCode="1" priorState="0"
currentState="0" controllerID="0"/>
<event Date="1406030050" eventType="FSA_EM_BATTERY_CHANGE" eventCode="0x4000" batteryEventType="FSA_BATTERY_DEAD" batteryEventCode="1" priorState="0"
currentState="0" controllerID="0"/>
<event Date="1406030054" eventType="FSA_EM_BATTERY_CHANGE" eventCode="0x4000" batteryEventType="FSA_BATTERY_DEAD" batteryEventCode="1" priorState="0"
currentState="0" controllerID="0"/>
<event Date="1406030058" eventType="FSA_EM_BATTERY_CHANGE" eventCode="0x4000" batteryEventType="FSA_BATTERY_DEAD" batteryEventCode="1" priorState="0"
currentState="0" controllerID="0"/>
<event Date="1406032580" eventType="FSA_EM_BATTERY_CHANGE" eventCode="0x4000" batteryEventType="FSA_BATTERY_DEAD" batteryEventCode="1" priorState="0"
currentState="0" controllerID="0"/>
<event Date="1406036751" eventType="FSA_EM_BATTERY_CHANGE" eventCode="0x4000" batteryEventType="FSA_BATTERY_DEAD" batteryEventCode="1" priorState="0"
currentState="0" controllerID="0"/>
<event Date="1406036755" eventType="FSA_EM_BATTERY_CHANGE" eventCode="0x4000" batteryEventType="FSA_BATTERY_DEAD" batteryEventCode="1" priorState="0"
currentState="0" controllerID="0"/>
<event Date="1406439877" eventType="FSA_EM_BATTERY_CHANGE" eventCode="0x4000" batteryEventType="FSA_BATTERY_DEAD" batteryEventCode="1" priorState="0"
currentState="0" controllerID="0"/>
<event Date="1406439881" eventType="FSA_EM_BATTERY_CHANGE" eventCode="0x4000" batteryEventType="FSA_BATTERY_DEAD" batteryEventCode="1" priorState="0"
currentState="0" controllerID="0"/>
<event Date="1406439885" eventType="FSA_EM_BATTERY_CHANGE" eventCode="0x4000" batteryEventType="FSA_BATTERY_DEAD" batteryEventCode="1" priorState="0"
currentState="0" controllerID="0"/>
<event Date="1406439889" eventType="FSA_EM_BATTERY_CHANGE" eventCode="0x4000" batteryEventType="FSA_BATTERY_DEAD" batteryEventCode="1" priorState="0"
currentState="0" controllerID="0"/>
<event Date="1406442128" eventType="FSA_EM_BATTERY_CHANGE" eventCode="0x4000" batteryEventType="FSA_BATTERY_DEAD" batteryEventCode="1" priorState="0"
currentState="0" controllerID="0"/>
<event Date="1406442132" eventType="FSA_EM_BATTERY_CHANGE" eventCode="0x4000" batteryEventType="FSA_BATTERY_DEAD" batteryEventCode="1" priorState="0"
currentState="0" controllerID="0"/>
<event Date="1406442136" eventType="FSA_EM_BATTERY_CHANGE" eventCode="0x4000" batteryEventType="FSA_BATTERY_DEAD" batteryEventCode="1" priorState="0"
currentState="0" controllerID="0"/>
<event Date="1406452738" eventType="FSA_EM_BATTERY_CHANGE" eventCode="0x4000" batteryEventType="FSA_BATTERY_DEAD" batteryEventCode="1" priorState="0"
currentState="0" controllerID="0"/>
<event Date="1406452742" eventType="FSA_EM_BATTERY_CHANGE" eventCode="0x4000" batteryEventType="FSA_BATTERY_DEAD" batteryEventCode="1" priorState="0"
currentState="0" controllerID="0"/>
<event Date="1406452746" eventType="FSA_EM_BATTERY_CHANGE" eventCode="0x4000" batteryEventType="FSA_BATTERY_DEAD" batteryEventCode="1" priorState="0"
currentState="0" controllerID="0"/>
</eventlog>
</ControllerLog>

使用getlogs 1设备命令以显示硬盘事件。

第三步

请注意:在重建硬件团队之前, 请确保已启用"自动故障转移"选项。默认情况下是这种情况。你可以使用命令arcconf64 failover 1 on启用该选项。

输入命令arcconf64重新扫描1。在大多数情况下, 团队的重建会自动开始。该过程在后台执行, 可能需要几分钟。

步骤4

如果恢复未在重新扫描过程中自动开始, 请使用以下命令删除硬盘的元数据:arcconf64任务启动1设备0 2清除, 其中0代表控制器通道, 2代表硬盘端口。

第5步

使用以下命令将替换的硬盘挂载为热备盘:arcconf64 SETSTATE 1 DEVICE 0 1 HSP逻辑驱动器1现在, 重构将自动开始。


一盏木

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: