We are in the process of migrating this forum. A new space will be available soon. We are sorry for the inconvenience.

Anyone can help me with simple RAID 0 setup instructions ?


raid_level
31-05-2015, 08:40
Hello again,

Now I fallowed your advices but then I'm stuck here:

Code:
france2 ~]# pvs
  PV         VG   Fmt  Attr PSize PFree
  /dev/sda4  vg   lvm2 a--  1.71t    0
  /dev/sdb4  vg   lvm2 a--  1.71t 1.71t
[root@france2 ~]# vgs
  VG   #PV #LV #SN Attr   VSize VFree
  vg     2   1   0 wz--n- 3.42t 1.71t
[root@france2 ~]# lvs
  LV   VG   Attr       LSize Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  vg0  vg   -wi-ao---- 1.71t
[root@france2 ~]# fdisk -l /dev/sda4

Disk /dev/sda4: 1878.8 GB, 1878758785024 bytes
4 heads, 2 sectors/track, 458681344 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1dab0604

     Device Boot      Start         End      Blocks   Id  System
/dev/sda4p1             257   458681344  1834724352   8e  Linux LVM
[root@france2 ~]# fdisk -l /dev/sdb4

Disk /dev/sdb4: 1878.8 GB, 1878758785024 bytes
191 heads, 2 sectors/track, 9605892 cylinders
Units = cylinders of 382 * 512 = 195584 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x4653bb78

     Device Boot      Start         End      Blocks   Id  System
/dev/sdb4p1               6     9605893  1834724352   8e  Linux LVM

marks
07-04-2015, 17:57
yes, you can setup the 3rd partition (after swap and system partition) yourself from the installed system, which are the ones that need to be setup during installation time. The rest of the space can be configured from the OS.

I've only talked about those options as is what you can setup from the installation wizard in the SYS manager. Anything else above those options will need to be setup by you manually.

Hope it helps!

AlbaHost
07-04-2015, 17:44
Quote Originally Posted by raid_level
I don't see in your answer anything related to my needs which is RAID 0 with this configurations: / 20GB, SWAP 4GB, Logical Volume Group (LVM) (PE Size 32Mb) remaining space. What you're saying is to have 2 partion raid 1 and one partion raid 0. Let's say I have no problems with first 2 partition to be raid 1, but how about third partition to be RAID 0 but Logical Volume Group (LVM) (with PE Size 32Mb ! ) for remaining space.
Are you gona to install such partition scheme for any virtualization needs? Because the PE size which is default 4MB you can set to 32MB after OS installation...
Let me know your skype etc, i will try to help of course if you want, or maybe this can help you with:



After installation is completed, you will have to create/modify/extend volume group and PE size by your needs.

raid_level
07-04-2015, 17:14
Quote Originally Posted by marks
ok, so you can use our automatic re-installation option in the SYS manager.

As I said in the previous answer, the system partition will have to be RAID1.

So if you go to the "reinstall" section of the SYS manager, and click on "Customer installation" and "next", you'll see all the options.

The system partition and the swap partition should be ok by default (you can modify the sizes if you want), and you can modify the 3rd partition (remaining space) to make it RAID0.

Let me know if you need more help
I don't see in your answer anything related to my needs which is RAID 0 with this configurations: / 20GB, SWAP 4GB, Logical Volume Group (LVM) (PE Size 32Mb) remaining space. What you're saying is to have 2 partion raid 1 and one partion raid 0. Let's say I have no problems with first 2 partition to be raid 1, but how about third partition to be RAID 0 but Logical Volume Group (LVM) (with PE Size 32Mb ! ) for remaining space.

marks
07-04-2015, 16:03
ok, so you can use our automatic re-installation option in the SYS manager.

As I said in the previous answer, the system partition will have to be RAID1.

So if you go to the "reinstall" section of the SYS manager, and click on "Customer installation" and "next", you'll see all the options.

The system partition and the swap partition should be ok by default (you can modify the sizes if you want), and you can modify the 3rd partition (remaining space) to make it RAID0.

Let me know if you need more help

raid_level
07-04-2015, 10:57
I need software RAID 0 with this configurations: / 20GB, SWAP 4GB, Logical Volume Group (LVM) (PE Size 32Mb) remaining space. Actually someone did it for me once on a SYS server using Team Viewer but the speed of the process didn't let me remember anything...

marks
07-04-2015, 10:43
Is it software RAID or you have a hardware RAID card on that server? depending on that, you would go different ways.

Generally speaking, we would always recommend you to have the system drive in RAID1, which could be as small as 20GB.

If you don't have a hardware RAID card, you would use the installation wizard from the OVH manager. There, you're not allowed to do a full RAID0, you need to put the system drive in RAID1.

For hardware RAID, you can do some setup through the LSI utility, though it's a bit complex if you've never used it before.

raid_level
07-04-2015, 10:16
Anyone can help me with simple RAID 0 setup instructions ? I need one server with RAID 0 setup, as I know without 'remote hands' which is very expensive there is no way to manually install the server from scratch with CentOS in order to custom partitions.

Can someone briefly explain me how to setup RAID 0 and install CentOS with this configurations: / 20GB, SWAP 4GB, Logical Volume Group (LVM) remaining space.

Thanks !