由于性能问题,我想验证是否确实为 Adaptec ASR71605 Raid-Controller 启用了写入缓存。write-cache setting=enabled
我可以看到和之间的不匹配write-cache status=off
,我想知道缓存是否真的启用了。
当显式启用缓存时arcconf setcache 1 LOGICALDRIVE 1 wb
,状态不会改变。
请参阅下面的 arcconf 输出:
root@stor ~ $ arcconf getconfig 1 ld
Controllers found: 1
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical device number 0
Logical device name : SYSTEM
RAID level : 6 Reed-Solomon
Status of logical device : Optimal
Size : 51188 MB
Stripe-unit size : 256 KB
Read-cache setting : Enabled
Read-cache status : On
Write-cache setting : Enabled
Write-cache status : Off
Partitioned : Yes
Protected by Hot-Spare : No
Bootable : Yes
Failed stripes : No
Power settings : Disabled
--------------------------------------------------------
Logical device segment information
--------------------------------------------------------
Segment 0 : Present (Controller:1,Enclosure:0,Slot:4) WD-WXH...
Segment 1 : Present (Controller:1,Enclosure:0,Slot:5) WD-WX1...
Segment 2 : Present (Controller:1,Enclosure:0,Slot:6) WD-WXH...
Segment 3 : Present (Controller:1,Enclosure:0,Slot:7) WD-WXH...
Segment 4 : Present (Controller:1,Enclosure:0,Slot:12) WD-WX...
Segment 5 : Present (Controller:1,Enclosure:0,Slot:13) WD-WX...
Segment 6 : Present (Controller:1,Enclosure:0,Slot:14) WD-WX...
Segment 7 : Present (Controller:1,Enclosure:0,Slot:15) WD-WX...
Logical device number 1
Logical device name : RAPTOR
RAID level : 6 Reed-Solomon
Status of logical device : Optimal
Size : 5668850 MB
Stripe-unit size : 256 KB
Read-cache setting : Enabled
Read-cache status : On
Write-cache setting : Enabled
Write-cache status : Off
Partitioned : No
Protected by Hot-Spare : No
Bootable : No
Failed stripes : No
Power settings : Disabled
--------------------------------------------------------
Logical device segment information
--------------------------------------------------------
Segment 0 : Present (Controller:1,Enclosure:0,Slot:4) WD-WXH...
Segment 1 : Present (Controller:1,Enclosure:0,Slot:5) WD-WX1...
Segment 2 : Present (Controller:1,Enclosure:0,Slot:6) WD-WXH...
Segment 3 : Present (Controller:1,Enclosure:0,Slot:7) WD-WXH...
Segment 4 : Present (Controller:1,Enclosure:0,Slot:12) WD-WX...
Segment 5 : Present (Controller:1,Enclosure:0,Slot:13) WD-WX...
Segment 6 : Present (Controller:1,Enclosure:0,Slot:14) WD-WX...
Segment 7 : Present (Controller:1,Enclosure:0,Slot:15) WD-WX...
根据 Adaptec 的支持,写入缓存在固件更新和下一次重新启动之间的时间内不起作用。
实际上,已经进行了固件更新而无需重新启动,
arcconf getversion
如果该命令列出了一个Staged Version
数字,则可以看到这一点。