Saturday, November 28, 2015

Some important Megacli commands


1) /opt/Megacli/RAID/Megacli -CfgForeign -Import [x] -aN|-a0,1,2|-aALL =======> command to import the Forigen config
2) /opt/MegaRAID/MegaCli/MegaCli64 -LDRecon -Start -r5 -Add -PhysDrv[39:25] -L0 -a0   to Add the Disk to RAID5  ( VD0) here L0 is Vd0.
3) /opt/MegaRAID/MegaCli/MegaCli64 -LDRecon -ShowProg -L0 -a0=================================> to check the progress.
4) /opt/MegaRAID/CLI/MegaCli -PDMakeGood -PhysDrv[39:25] -a0 =============> Command to make the Disk from bad to good.
5) /opt/MegaRAID/CLI/MegaCli -CfgLDDel -L3 -force -a0  ===================> Delete the Disk from the unwanted VD, Here L3 is VD.

Note: Be careful running with commands.

No comments:

Post a Comment