Koozali.org: home of the SME Server

Create RAID 1+0

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Create RAID 1+0
« on: August 07, 2017, 11:35:46 AM »
Hi everyone, I have HP server which is to be installed smeserver 9.2 and it is without RAID support but has 4 hard disks of 146GB on each.
I want to know how to configure software RAID 1+0 with sme server when installing Smeserver 9.1 as Advanced Installation options using Graphical installer options selected?

I will install this Server from the begining formatting all the hard disks.

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Create RAID 1+0
« Reply #1 on: August 23, 2017, 09:57:58 AM »
?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Create RAID 1+0
« Reply #2 on: August 23, 2017, 10:14:37 AM »
I think no one here has such a setup and then the only answer I can give you is to... try :-)

if you've the possibility, use a VM with 4 disks and follow centos' setup guide (plenty of them out there)

when you'll done, repeat the procedure on the physical machine

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Create RAID 1+0
« Reply #3 on: August 23, 2017, 10:18:19 AM »
searching a bit with google I'd say you can do it using the GUI, just remember that the /boot partition can't be in a RAID10 array, so you need a RAID1 array for it

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Create RAID 1+0
« Reply #4 on: August 23, 2017, 10:19:00 AM »
if you manage to setup SME using the GUI with native RAID10, please share your steps, thank you

Offline smnirosh

  • *****
  • 329
  • +0/-0
  • Learning never ends
Re: Create RAID 1+0
« Reply #5 on: August 23, 2017, 01:16:34 PM »
Ok thanks for the reply. I will setup my VM for the test and let you know

Offline jameswilson

  • *
  • 795
  • +0/-0
    • Security Warehouse, professional security equipment
Re: Create RAID 1+0
« Reply #6 on: August 23, 2017, 08:22:46 PM »
I did it like this
Quote
[root@sme-virtualbox ~]# cat /proc/mdstat
Personalities : [raid10] [raid1]
md0 : active raid1 sdc1[2] sde1[4] sdd1[3] sdb1[1] sda1[6] sdf1[5]
      255936 blocks super 1.0 [6/6] [UUUUUU]

md2 : active raid10 sdc3[2] sdd3[3] sde3[4] sdb3[1] sdf3[5]
      5853235200 blocks super 1.1 512K chunks 2 near-copies [6/5] [_UUUUU]
      bitmap: 22/44 pages [88KB], 65536KB chunk

md1 : active raid10 sdc2[2] sdd2[3] sde2[4] sdb2[1] sdf2[5] sda2[6]
      6140928 blocks super 1.1 512K chunks 2 near-copies [6/6] [UUUUUU]

unused devices: <none>
But just noticed I have an issue lol

Offline jameswilson

  • *
  • 795
  • +0/-0
    • Security Warehouse, professional security equipment
Re: Create RAID 1+0
« Reply #7 on: August 23, 2017, 08:27:52 PM »
just incase this is searched for in the future

Quote
mdadm /dev/md2 --add /dev/sda3

now
Quote
[root@sme-virtualbox ~]# cat /proc/mdstat
Personalities : [raid10] [raid1]
md0 : active raid1 sdc1[2] sde1[4] sdd1[3] sdb1[1] sda1[6] sdf1[5]
      255936 blocks super 1.0 [6/6] [UUUUUU]

md2 : active raid10 sda3[6] sdc3[2] sdd3[3] sde3[4] sdb3[1] sdf3[5]
      5853235200 blocks super 1.1 512K chunks 2 near-copies [6/5] [_UUUUU]
      [>....................]  recovery =  2.0% (39603712/1951078400) finish=155.3min speed=205008K/sec
      bitmap: 22/44 pages [88KB], 65536KB chunk

md1 : active raid10 sdc2[2] sdd2[3] sde2[4] sdb2[1] sdf2[5] sda2[6]
      6140928 blocks super 1.1 512K chunks 2 near-copies [6/6] [UUUUUU]

unused devices: <none>

« Last Edit: August 23, 2017, 08:30:20 PM by jameswilson »