惠普ProLiant DL380p Gen8服务器Raid5 更换硬盘全记录

故障现象:硬盘写入等待时间过长

经测试发现硬盘写入速度只有2.0MB/S,初步判断是硬盘使用时间过长导致的。遂申请新硬盘进行不停机更换。

[root@localhost  test ] # time dd if=/dev/zero of=/root/test/out bs=8k oflag=direct count=500000
500000+0 records  in
500000+0 records out
4096000000 bytes (4.1 GB) copied, 2075.4 s, 2.0 MB /s

real    34m35.888s
user    0m2.109s
sys 0m43.055s
You have new mail  in /var/spool/mail/root

 

更换过程:

本身是RAID5 ,直接更换硬盘就可以了,RAID5具有可以自动重建功能。

换上第一块盘

 

 查看进度

 

 第一块盘完成,用时38分钟左右。

[root@localhost ~] # hpacucli
HP Array Configuration Utility CLI 9.40.12.0
Detecting Controllers...Done.
Type  "help" for a list of supported commands.
Type  "exit" to close the console.

=> ctrl all show config 

Smart Array P420i  in Slot 0 (Embedded)    (sn: 001438032930E10)

   array A (SAS, Unused Space: 0  MB)


      logicaldrive 1 (558.7 GB, RAID 5, OK)

      physicaldrive 1I:2:1 (port 1I:box 2:bay 1, SAS, 300 GB, OK)
      physicaldrive 1I:2:2 (port 1I:box 2:bay 2, SAS, 300 GB, OK)
      physicaldrive 1I:2:3 (port 1I:box 2:bay 3, SAS, 300 GB, OK)

   SEP (Vendor ID PMCSIERA, Model SRCv8x6G) 380 (WWID: 5001438032930E1F)

=> 

 开始换第二块盘

[root@localhost ~] # hpacucli
HP Array Configuration Utility CLI 9.40.12.0
Detecting Controllers...Done.
Type  "help" for a list of supported commands.
Type  "exit" to close the console.

=> ctrl all show config

Smart Array P420i  in Slot 0 (Embedded)    (sn: 001438032930E10)

   array A (SAS, Unused Space: 0  MB)


      logicaldrive 1 (558.7 GB, RAID 5, Recovering, 4% complete)

      physicaldrive 1I:2:1 (port 1I:box 2:bay 1, SAS, 300 GB, OK)
      physicaldrive 1I:2:2 (port 1I:box 2:bay 2, SAS, 300 GB, Rebuilding)
      physicaldrive 1I:2:3 (port 1I:box 2:bay 3, SAS, 300 GB, OK)

   SEP (Vendor ID PMCSIERA, Model SRCv8x6G) 380 (WWID: 5001438032930E1F)

=> 

  总结:磁盘本身性能不足,无法通过更换解决问题

 

 

posted @ 2022-04-28 11:49  周智林  阅读(3432)  评论(0)    收藏  举报