Koozali.org: home of the SME Server

how to add an 3rd hard drive

pbearne

how to add an 3rd hard drive
« 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

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
how to add an 3rd hard drive
« Reply #1 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
"It should just work" if it doesn't report it. Thanks!

pbearne

2 to 3 hard drives
« Reply #2 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

Offline Gaston94

  • *****
  • 184
  • +0/-0
how to add an 3rd hard drive
« Reply #3 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 ...

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: 2 to 3 hard drives
« Reply #4 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.

munter

Re: 2 to 3 hard drives
« Reply #5 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