Results 1 to 3 of 3

Thread: [SOLVED] 1TB software RAID 5 with one hot spare.

  1. #1
    Join Date
    Jul 2006
    Beans
    11
    Distro
    Kubuntu 8.10 Intrepid Ibex

    [SOLVED] 1TB software RAID 5 with one hot spare.

    I have been putting this off for a month, due to worrying too much about doing it wrong... i would appreciate it if someone would take me through this step by step.

    Distribution
    • Kubuntu 8.04 KDE4 remix (x86)


    Hardware
    • 3 x 500GB SATA drives (sdc,sdd and sde) [unformatted, unmounted] to be RAID 5'd.
    • 1 x 500GB SATA drive (sdb) [ext3, /home, 99% full] for a hot spare.


    The hot spare drive cannot be added until the array has been built as i do not have anywhere to store its contents (and the raid has been tested to death, I'm not wanting to loose 430GB of data!)

    What i have done so far
    • Tied up SATA data & power cables to stop them from moving
    • Used hot glue to prevent sata data & power connectors from coming lose from HDD / Motherboard
    • Installed mdadm


    What i need to do (help!)
    • Create the RAID
    • Setup RAID monitoring [audible alarm if a disk dies]
    • create a lvm on it
    • format the lvm (Suggestions? something journaled?)
    • Create test data on the RAID (a copy of /home)
    • Selectively drop individual disks out of the array (can't unplug them, dban them?) and learn to rebuild it.
    • when i am confident that it is 'stable' mount it as /home
    • Add the old /home disk (sdb) to the array as a hot spare
    • Possibly use sdb to make a 1.5TB raid once i have filled 1TB (for future reference)


    Questions
    • If i change distribution / when i do a clean install, how do i mount the raid? what files (if any) do i have to have a copy of to do it (such as the mdadm config file?)

  2. #2
    Join Date
    Jul 2006
    Beans
    11
    Distro
    Kubuntu 8.10 Intrepid Ibex

    Re: [SOLVED] 1TB software RAID 5 with one hot spare.

    I have managed to do it myself, my thanks to anyone who took the time to read my post but where unable to help.

    I am currently writing up what i have learned in the form of a idiot proof distribution independent tutorial... I will post a link when it is complete.

    I also plan to fill in https://wiki.ubuntu.com/LVMOnRaid when i have finished!

  3. #3
    Join Date
    Apr 2006
    Beans
    74
    Distro
    Ubuntu Breezy 5.10

    Re: [SOLVED] 1TB software RAID 5 with one hot spare.

    Have you written up your guide yet? I just found this post and am interested in your findings. I currently have a RAID1 setup that I would like to add a hot spare to using mdadm, and I also need to setup monitoring - specifically, I need it to send me an email if the array has a disk failure.

    Also - is your OS/bootloader on the RAID5 array? I was just told that you cannot boot from a software RAID5 array.

    Thanks!
    10.04 Server x64, Asus P5E WS PRO, Intel Xeon E3110, 2x2GB Kingston DDR2-800 ECC, 320 GB OS, 4x2TB RAID5

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •