Koozali.org: home of the SME Server

Fresh install RAID1 not RAID5

Offline Gert

  • *****
  • 208
  • +0/-0
    • http://www.huge.co.za
Fresh install RAID1 not RAID5
« on: April 13, 2007, 04:57:44 PM »
I am doing a fresh install of SME7.1 on a dell server with 3x 36GB SCSI hard drives.  After installation I look at /proc/mdstat and see that both md devices are setup as raid1. How can i set it up as raid 5? I tried installing with option "sme raid5" (wild guess) and no luck.  Is this a bug?

Offline Confucius

  • *****
  • 235
  • +0/-0
Fresh install RAID1 not RAID5
« Reply #1 on: April 13, 2007, 06:56:42 PM »

Offline Gert

  • *****
  • 208
  • +0/-0
    • http://www.huge.co.za
Fresh install RAID1 not RAID5
« Reply #2 on: April 14, 2007, 12:58:20 AM »
Thank you for your reply. It was very helpful. It would have been nice if they mentioned it in the readme.txt for sme7.1 found at smeserver.org

Quote
Automated RAID installation
===========================

NOTE: All disks must be the same size for SME Server 7

- The default installation provides the following setup:
  - Single disk provides one-way RAID1
    - Console screen allows simple addition of second disk to provide mirroring
  - Two disks are configured as a RAID1 mirror
  - Three to five disks are configured as RAID5 (/boot partition is RAID1)
  - Six or more disks are configured as RAID6 (/boot partition is RAID1)

- (bug 2015, 2066) The installer provides options to:
  - skip software raid
  - skip logical volume manager
  - force a raid 1 install on the first two disks detected
  - attempt to reserve one disk as a spare

- (bug 130) A script has been provided for conversion from non-RAID to RAID

Offline Gert

  • *****
  • 208
  • +0/-0
    • http://www.huge.co.za
Fresh install RAID1 not RAID5
« Reply #3 on: April 14, 2007, 01:29:05 AM »
According to this:

Quote
------- Comment #66 From Shad L. Lords 2007-02-19 15:17:35 [reply] -------
No it is correct see bug 2492.  The default it to now create an array with
spare.  So we have the following setups:

1 drive = degraded raid-1
2 drives = raid-1
3 drives = raid-1 with spare
4-6 drives = raid-5 with spare
7+ drives = raid-6 with spare

If you pass the nospare option on bootup then it will revert back to the older
setup.


you can still install RAID5 on 3 disks with the nospare option. I will test it tomorrow.