Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: BullockBob on December 27, 2008, 09:15:40 AM

Title: 3 Disk config (2 x raid 1 and one not raid)
Post by: BullockBob 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
Title: Re: 3 Disk config (2 x raid 1 and one not raid)
Post by: David Harper 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.
Title: Re: 3 Disk config (2 x raid 1 and one not raid)
Post by: BullockBob 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
Title: Re: 3 Disk config (2 x raid 1 and one not raid)
Post by: David Harper 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
Title: Re: 3 Disk config (2 x raid 1 and one not raid)
Post by: BullockBob on December 27, 2008, 11:39:22 AM
Thanks for the help. Its really appreciated!

Cheers