Linux technical support - [email protected]


Megacli show rebuild status

1) show all disks parameters:

# MegaCli64 -PDList -aALL

looking for these parameters:

Enclosure Device ID: 245 Slot Number: 15 and

Firmware state: Rebuild
2) check particular disk:

# MegaCli64 -PDRbld -ShowProg -physdrv[245:11] -aALL

for disable beeps:

# /opt/MegaRAID/MegaCli/MegaCli64 -AdpSetProp AlarmSilence -a0

3) Find HDD

# MegaCli64 -PdLocate -start -physdrv\[245:13\]  -aALL

4) Mark offline

# MegaCli64 -PdOffline -physdrv\[245:13\]  -aALL

5) Mark Missing

# MegaCli64 -PdMarkMissing -physdrv\[245:13\]  -aALL

6) Read HDD params

# MegaCli64 -CfgDsply -a0 | less

Looking for Span Reference: 0x00 and Physical Disk: 13

replace HDD

MegaCli64 -PdReplaceMissing -physdrv\[245:13\] -array0 -row13 -a0

start rebuild

MegaCli64 -PDRbld -start -physdrv[245:13] -aALL

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>