Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: frifri on June 24, 2010, 08:59:04 AM

Title: sme nospare - two personalities
Post by: frifri on June 24, 2010, 08:59:04 AM
Hi,

I installed 7.4 on a server with 3 disks.  Used 'sme nospare' to set up the disks in RAID 5, without spare, but this is wath i get :
                       
Code: [Select]
[root@sme ~]# cat /proc/mdstat
Personalities : [raid1] [raid5]
md2 : active raid5 sda2[0] sdc2[2] sdb2[1]
      976558592 blocks level 5, 256k chunk, algorithm 2 [3/3]

md1 : active raid1 sda1[0] sdc1[2] sdb1[1]
      104320 blocks [3/3]

unused devices: <none>

Is this normal ?  If not, how to convert md1 to RAID 5 ?
Title: Re: sme nospare - two personalities
Post by: frifri on June 24, 2010, 09:30:39 AM
Sorry, found in the known problems :

Even if you have 4 (or more) disks, which are supported by your motherboard and ~CentOS, md1 is always set up as a 4 disk raid1. This is, because you can't boot off a raid-5. md1 is the boot partition and must either be non-raid or raid-1. md2 will be set up as a 4 disk raid5 as expected. More information can be found in bugzilla:759.
Title: Re: sme nospare - two personalities
Post by: CharlieBrady on June 24, 2010, 02:19:01 PM
Sorry, found in the known problems :

It's not a problem - it is a fact of life. The boot parttition must be RAID1.