Replacing pdisks on IBM Power Server
Replacing pdisks on IBM Power Server
-
确认故障。
查看系统是否有硬盘报错。
lsdev –Cc pdisk
lsdev -Cc hdisk
errpt检查 raid 信息和 pdisk 状态。
diag -> Task Selection -> RAID Array Manager -> IBM SAS Disk Array Manager -> List IBM SAS Disk Array configuration -
确认故障硬盘槽位。
diag -> Task Selection -> RAID Array Manager -> IBM SAS Disk Array Manager -> Diagnostics and Recovery Options -> SCSI and SCSI RAID Hot Plug Manager -> Identify a Device Attached to an SCSI Hot Swap Enclosure Device选择对应的硬盘,按 F7 确认硬盘所在的槽位(磁盘的黄灯在闪烁)。
-
硬盘更换。
diag -> Task Selection -> RAID Array Manager -> IBM SASDisk Array Manager -> Diagnostics and Recovery Options -> SCSI and SCSI RAID Hot Plug Manager -> Replace/Remove a Device Attached to an SCSI Hot Swap Enclosure Device
-> SCSI and SCSI RAID Hot Plug Manager -> Configure Added/Replaced Devices
diag -> Task selection -> RAID Array Manager -> IBM SAS Disk Array Manager -> List IBM SAS Disk Array configuration可以看到 pdisk0 的状态是 Failed。

用
lsdev –Cc pdisk是可以看到 pdisk0 是 Available。
对 RAID 进行重建。
diag -> Task selection -> RAID Array Manager -> IBM SAS Disk Array Manager -> Reconstruct a IBM SAS Disk Array
重建完毕后,确认 RAID 的状态为 Optimal,硬盘容量显示正常。

容量显示异常的话,可以
cfgmgr -v重新扫描一下硬件。
Reference
・ https://blog.itpub.net/26217983/viewspace-1122511/
・ https://www.ibm.com/docs/en/power6?topic=maintenance-replacing-pdisks