# How to Replace a Hard Drive in an Exadata Storage Cell Server
# PREPARATION
Determine the failed drive:
For imageinfo versions 11.2.3.1.x and earlier, use this syntax:
CellCLI> LIST PHYSICALDISK WHERE diskType=HardDisk AND status=critical DETAIL |
For imageinfo versions 11.2.3.2.x and later, use this syntax:
CellCLI> LIST PHYSICALDISK WHERE diskType=HardDisk AND status like failed DETAIL |
To check repair times for all mounted disk groups - log into the ASM instance and perform the following query:
SQL> select dg.name,a.value from v$asm_diskgroup dg, v$asm_attribute a | |
where dg.group_number=a.group_number and a.name='disk_repair_time'; |
# SOLUTION
For Exadata Storage Server Software versions 11.2.3.3.0 and later:
CellCLI> ALTER PHYSICALDISK 20:2 DROP FOR REPLACEMENT |
Confirm that hard drive working normal:
/opt/MegaRAID/storcli/storcli64 -PDList -aALL | |
cellcli -e list physicaldisk | |
cellcli -e list griddisk |
Check the ASM rebalance:
select * from gv$asm_operation; |