Rebuild Rate : 0.00 %
Rebuild Progress : 5.66 %
Participating Physical Drive(s) :
SAS Address Enc Bay Size(MB) Type State
0x500000e116da8ec2 1 6 140014 PRIMARY ONLINE 0x5000c50009117b41 1 5 140014 SECONDARY ONLINE
针对输出有四点需要注意:
1. Raid State 还是处于DEGRADED状态; 2. Rebuild Progress : 5.66 %:显示的rebuilding的进度,主要有硬盘大小和转速,此次更换的SAS硬盘为146G,rebuilding的过程大概持续了1.5小时; 3. Raid Status Flag 的状态为ENABLED RESYNC IN PROGRESS; 4. 槽位5处的硬盘已经显示ONLINE状态。
8. 更换完成
大概rebuilding一个半小时后,再次执行如下命令:
sxyy7#[/]/usr/sbin/sasmgr get_info -D /dev/sasd0 -q raid ---------- LOGICAL DRIVE 7 ----------
Raid Level : RAID 1
Volume sas address : 0x33a056ea2c1584e Device Special File : /dev/rdsk/c3t0d0 Raid State :OPTIMAL
Raid Status Flag :ENABLED Raid Size : 139236 Rebuild Rate : 0.00 % Rebuild Progress :100 %
Participating Physical Drive(s) :
SAS Address Enc Bay Size(MB) Type State
0x500000e116da8ec2 1 6 140014 PRIMARY ONLINE 0x5000c50009117b41 1 5 140014 SECONDARY ONLINE
sxyy7#[/]sasmgr get_info -D /dev/sasd0 -v -q lun=all -q lun_locate
RAID VOL ID is 7 : LUN LUN HW Path
=== ===========
/dev/rdsk/c3t0d0 0/4/1/0.0.0.0.0
Physical disks in volume are :
Enc Bay Locate LED VendorID ProductID Revision
=== === ========== ======== ========= ========
1 6 OFF HP EG0146FARTR HPD9 1 5 OFF HP DG146ABAB4 HPDC
此输出主要观察四个变化:
1. Raid State由rebuilding状态的DEGRADED变为OPTIMAL; 2. Raid Status Flag :由rebuilding状态的ENABLED RESYNC IN PROGRESS变为 ENABLED;
3. Rebuild Progress 最终达到100 %;
4. 此外尤其注意最后一行,在没有换盘之前是没有“HPDC”的,相应的位置是空白,当完成更换后才出现的“HPDC”
到此整个更换过程完毕。