Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: pbearne on March 12, 2007, 07:53:00 PM

Title: how to add an 3rd hard drive
Post by: pbearne on March 12, 2007, 07:53:00 PM
Hi Guys

I have found a extra hard drive the same size as by mirror software raid

So can I add this without having to rebuild the server?

if so how?

Paul
Title: how to add an 3rd hard drive
Post by: bpivk on March 12, 2007, 09:29:17 PM
Yes and you really should figure out how to use the search button by now (seeing that you have 50 posts).

And you know... we have a wiki. :)

http://wiki.contribs.org/SME_Server:Documentation:Technical_Manual:Chapter5
Title: 2 to 3 hard drives
Post by: pbearne on March 13, 2007, 09:31:05 AM
Hi guys

sorry I didn't ask the question quite right

I all ready have 2 drives that are mirrored I now want to add an third hard drive go from raid1 to raid5

I can't find instuction to do this?

Paul
Title: how to add an 3rd hard drive
Post by: Gaston94 on March 13, 2007, 03:43:09 PM
Hi
as far as I know you cannot convert a raid1 structure to a raid5 one.
something that can be done , on your own responsability and with all required pre backup job done and check :
 - split your RAID1 array
 - reinitialize one of your disk superblock (mdadm --zero-superblock /dev/sdxx)
 - create a degraded RAID 5 array with the new disk and the one you get from your splitted RAID1 one (saying one disk is missing)
 - copy your datas from your RAID1 to your RAID5
 - definitely stop your RAID1 array
 - reinitialize superblock of this disk
 - join last disk to the new RAID5 array

well these are only ideas I am putting there. This is not a HOWTO, and I have never tryied it.
Always think that when something can go wrong it will, so cross check you have correct backup.

G.
PS I found on the net someone with a close approach but creating a degraded RAID5 array on two disks. I didn't knew this can be done ...
Title: Re: 2 to 3 hard drives
Post by: CharlieBrady on March 13, 2007, 05:17:29 PM
Quote from: "pbearne"

I all ready have 2 drives that are mirrored I now want to add an third hard drive go from raid1 to raid5


RAID5 on only three disks is not recommended.
Title: Re: 2 to 3 hard drives
Post by: munter on March 15, 2007, 10:37:03 AM
Quote from: "CharlieBrady"
Quote from: "pbearne"

I all ready have 2 drives that are mirrored I now want to add an third hard drive go from raid1 to raid5


RAID5 on only three disks is not recommended.


down on 3 disks in raid 5 is allmost like having a singeldisk in safety