3r1c
09-03-2012, 02:22
You cant just delete the raid and reinstall.
You have to configure some sort of storage setup on the raid card.
Otherwise the raid card doesn't present any drives to the OS.
The RAID card OVH uses doesn't support passthrough or JBOD so you have to configure single disk raid0.
Here is my setup the device numbers may be different for you.
# ovh disable hardware raid
MegaCli64 -CfgLdDel -LAll -aALL
MegaCli64 -cfgClr -aAll
MegaCli64 -AdpPR -Dsbl -aALL
# create devices
MegaCli64 -CfgLdAdd -r0 [6:0] -a0
MegaCli64 -CfgLdAdd -r0 [6:1] -a0
# only use this for raid 0
MegaCli64 -adpsetprop MaintainPdFailHistoryEnbl 0 -a0
# caching for better performance
MegaCli64 -LDSetProp -Cached -LAll -aAll
MegaCli64 -LDSetProp EnDskCache -LAll -aAll
MegaCli64 -LDSetProp WB -LALL -aALL
# Ensure it is bootable
MegaCli64 -AdpBootDrive -Set -L0 -a0
After doing this verify that you have the device /dev/sda before doing reinstall on ovh manager.
You have to configure some sort of storage setup on the raid card.
Otherwise the raid card doesn't present any drives to the OS.
The RAID card OVH uses doesn't support passthrough or JBOD so you have to configure single disk raid0.
Here is my setup the device numbers may be different for you.
# ovh disable hardware raid
MegaCli64 -CfgLdDel -LAll -aALL
MegaCli64 -cfgClr -aAll
MegaCli64 -AdpPR -Dsbl -aALL
# create devices
MegaCli64 -CfgLdAdd -r0 [6:0] -a0
MegaCli64 -CfgLdAdd -r0 [6:1] -a0
# only use this for raid 0
MegaCli64 -adpsetprop MaintainPdFailHistoryEnbl 0 -a0
# caching for better performance
MegaCli64 -LDSetProp -Cached -LAll -aAll
MegaCli64 -LDSetProp EnDskCache -LAll -aAll
MegaCli64 -LDSetProp WB -LALL -aALL
# Ensure it is bootable
MegaCli64 -AdpBootDrive -Set -L0 -a0
After doing this verify that you have the device /dev/sda before doing reinstall on ovh manager.