Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: majikins on February 17, 2008, 09:48:14 PM

Title: Raid 5 confusion
Post by: majikins on February 17, 2008, 09:48:14 PM
Hi

I have installed sme7.3 with 4 500GB disks.  When I check df -s I get the following:

/dev/mapper/main-root
                      915G  1.1G  868G   1% /
/dev/md1               99M   13M   81M  14% /boot
none                  998M     0  998M   0% /dev/shm

cat /proc/mdstat gives:
Personalities : [raid1] [raid5]
md2 : active raid5 sda2[0] sdd2[3] sdc2[4] sdb2[1]
      976558592 blocks level 5, 256k chunk, algorithm 2 [3/2] [UU_]
      [===============>.....]  recovery = 78.8% (384904448/488279296) finish=31.2min speed=55060K/sec
md1 : active raid1 sda1[0] sdd1[3] sdc1[2] sdb1[1]
      104320 blocks [3/3] [UUU]

My question is - what do I only have about 1 Terabyte space?  Raid 5 on 4 disks should give me about 1.5T.

Has something gone wrong here?

Title: Re: Raid 5 confusion
Post by: kevinb on February 17, 2008, 10:49:35 PM
By default SME installs with a hot spare (http://wiki.contribs.org/Raid).

You have type "sme nospare" at the install command line.


Kevin