![Storcli64 未重建替换磁盘](https://linux22.com/image/784600/Storcli64%20%E6%9C%AA%E9%87%8D%E5%BB%BA%E6%9B%BF%E6%8D%A2%E7%A3%81%E7%9B%98.png)
我们的基于 LSI 的 RAID 中的一个驱动器发生故障(Avago 3108 MegaRaid)。我们取出该驱动器并用类似的磁盘(容量/速度)替换它。自动重建已启用,但磁盘(128:7)的状态显示其状态为 JBOD 而不是 Onln,因此看起来自动重建不起作用:
----------------------------------------------------------------------------
EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp Type
----------------------------------------------------------------------------
128:0 140 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
128:1 137 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
128:2 151 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
128:3 144 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
128:4 171 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
128:5 138 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
128:6 147 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
128:7 172 JBOD - 9.094 TB SAS HDD N N 512B ST10000NM0096 U -
128:8 132 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
128:9 148 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
128:10 158 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
128:11 136 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
128:12 141 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
128:13 160 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
128:14 154 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
128:15 155 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
128:16 150 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
128:17 134 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
128:18 157 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
128:19 139 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
128:20 133 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
128:21 146 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
128:22 149 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
128:23 159 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
129:0 166 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
129:1 170 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
129:2 167 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
129:3 169 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
129:4 168 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
129:5 156 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
129:6 135 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
129:7 142 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
129:8 161 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
129:9 145 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
129:10 143 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
129:11 131 Onln 0 9.094 TB SAS HDD N N 4 KB ST10000NM0206 U -
----------------------------------------------------------------------------
上次我们更换驱动器时,它确实被重建并添加到阵列中。我仔细检查了自动重建的状态并确认它已打开。
------------------
Ctrl_Prop Value
------------------
AutoRebuild ON
------------------
storcli64 的事件日志显示删除/替换事件,但没有显示任何不兼容配置的问题,例如:
Event Description: PD 98(e0x80/s7)
Event Description: PD 98(e0x80/s7) Path 5000c500868172c9 reset (Type 03)
Event Description: Removed: PD 98(e0x80/s7) Info: enclPd=80, scsiType=0, portMap=00, sasAddr=5000c500868172c9,0000000000000000
Event Description: State change on PD 98(e0x80/s7) from FAILED(11) to UNCONFIGURED_BAD(1)
Event Description: Inserted: PD ac(e0x80/s7)
Event Description: Inserted: PD ac(e0x80/s7) Info: enclPd=80, scsiType=0, portMap=00, sasAddr=5000c500a6f54715,0000000000000000
Event Description: PD ac(e0x80/s7) Inquiry info: Info- SEAG ST10000NM0096 00C9088122 9 TB
我想知道磁盘本身的规格是否会阻止将其添加到 DG。替换驱动器的 SeSz 值不同(512B 与 4K),但速度、容量和连接性(SAS)相同。