OVH Community, your new community space.

Hard RAID configuration guide


gueriLLaPunkMoB
08-01-2010, 18:48
Does this apply to the new LSI cards that are RAID 1/0 that come with the EG MAX 09?

ovhfreak
16-08-2009, 09:27
Thanks. Ya, it really helped a lot.

marks
10-06-2009, 18:32
As we've had quite a lot of requests lately on how to do other RAID configuration than the default one, I've created the following guide. As you know, the support doesn't cover these modifications. So you can use these instructions but at your own risk and OVH won't give you assistance.

First, you need to reboot the server into rescue mode (http://help.ovh.com/RescueMode)
EG and MG servers come normally with 3ware RAID cards (HG servers always come with RAID LSI card, as well as rarely EG and MG servers, for which you have to use the command [B]lsiutil{/B]).

The command to configure the RAID is: tw_cli
Just typing the command, you'll enter an interactive mode where you can enter the rest of the command.

You can see the state of your RAID typing:
# show c0

To start with, you have to remove the previous configuration:
# maint remove c0 u0 p0
# maint remove c0 u0 p1
# maint remove c0 u0
(depending on your previous configuration, you won't need some of these commands, but just try them)

After, you rescan the drives to make them available for configuration again:
# maint rescan c0

and create the unit as you would like to have:

RAID1:
# maint createunit c0 rraid1 p0:1
RAID0:
# maint createunit c0 rraid0 p0:1
JBOD (individual disks):
# maint createunit c0 rjbod p0


Once this is done, you can launch a re-installation of your system.

The partitioning step may not recognize exactly the size of the disk, but any disk configuration done there will be applied on the RAID1 disk, on the big RAID0 disk or in the first disk for JBOD configurations depending on your option.

For RAID0, you won't be able to create a single partition with all the space. You can create 1 small partition to install the system on, and after, on the system, you can create another single partition with the rest of the space.

Hope this helps.