Koozali.org: home of the SME Server

3 Disk config (2 x raid 1 and one not raid)

Offline BullockBob

  • 3
  • +0/-0
3 Disk config (2 x raid 1 and one not raid)
« on: December 27, 2008, 09:15:40 AM »
Hello

I would like to configure a 3 disk setup as follows:

2 identical drives = Software raid 1
1 drive = no raid

Can this be done, and if so could someone please point me in the right direction?

Cheers
Bob

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: 3 Disk config (2 x raid 1 and one not raid)
« Reply #1 on: December 27, 2008, 09:53:04 AM »
Install SME Server with the two RAID drives in the server, and then follow the Add Extra Hard Drive tutorial in the wiki to add the third drive post-install.

Offline BullockBob

  • 3
  • +0/-0
Re: 3 Disk config (2 x raid 1 and one not raid)
« Reply #2 on: December 27, 2008, 09:59:28 AM »
Install SME Server with the two RAID drives in the server, and then follow the Add Extra Hard Drive tutorial in the wiki to add the third drive post-install.

Thanks for your rapid reply.

Sorry, I should have been clearer, its the system drive (initial drive) that will not be raid. So, if I install to the system drive (without others present), then can I add the other two after?

Its just I tried this under VMware and got an error about the free disk count must equal 1.

Cheers
Bob
« Last Edit: December 27, 2008, 10:06:09 AM by BullockBob »

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: 3 Disk config (2 x raid 1 and one not raid)
« Reply #3 on: December 27, 2008, 10:26:54 AM »
Sure, this is possible. It would work something like this:

1. Do the install with the single drive
2. Note the device node for the single drive (probably /dev/sda or /dev/hda) and whether any RAID arrays exist (/dev/mdX)
3. Attach the two RAID drives (unformatted) and note their device nodes (possibly /dev/sdb,c or /dev/hdb,c -- but could vary)
4. Use mdadm to create the new array /dev/mdX comprised of the two new device nodes /dev/xxx and /dev/yyy
5. Use mkfs.ext3 to format the newly created array /dev/mdX
6. Create the desired mount point - if needed
6. Edit /etc/fstab to allow SME Server to automount the new raid array (/dev/mdX) on whatever mount point you want
« Last Edit: December 27, 2008, 10:28:55 AM by David Harper »

Offline BullockBob

  • 3
  • +0/-0
Re: 3 Disk config (2 x raid 1 and one not raid)
« Reply #4 on: December 27, 2008, 11:39:22 AM »
Thanks for the help. Its really appreciated!

Cheers