Linux Software RAID 5

So, I’ve been using MythTV recently. I have my master backend upstairs, with all of the storage. And then downstairs is the slave backend with the three tuner cards. Soon after setting all of this up, I found that I was going to run out of disk space for recordings pretty quickly.

Therefore, I bought three 750GB hard disks to complement the one 750GB disk that I had already. And I decided to get a bit of RAID 5 set up. I didn’t trust the fake raid card in my server box, or even believe it was supported in Ubuntu. So I had a look into software RAID. It looked pretty good, so that’s what’s setting up now.

Scan Packaging

I was a bit shocked to see the packaging Scan.co.uk sent the hard disks in, as you can see. There is also a hard drive mounting kit for a optical drive bay in there as well. Luckily, nothing seems damaged, so let’s hope it stays that way!

Hard Disks in Server

And this is the process I am following to get all of this organised and set up…

  1. Connect up all the new hard disks
  2. Format the new disks and set the RAID flag
  3. Create a new blank RAID array with the three disks
  4. Transfer all the old data onto the array
  5. Change the /var/nas mount point to the new array
  6. Format the old disk
  7. Add the old disk to the array and expand the array
  8. Expand the file system

It’s taking time, but it’s coming along. I’m at step #7, and it looks like it’s going to take a while. It’s at 3.9% and has an estimated time of 869 minutes left. Should give me a chance to do something useful.

Anyway… On to some revision. See ya.

3 comments ↓

#1 Noah on 05.14.09 at 3:30 am

This is what I’m trying to go after right now. I just built a new system to be a Ubuntu desktop and file server (I know, you should combine them, but what the hey…). I’m doing a little research. I’m mainly trying to figure out how I need to partition the drives and make the array.

If you have anymore knowledge to share, throw it my way!

#2 Andrew Gee on 05.14.09 at 7:03 am

Noah,

I’ve sent you an email to try and help you out more.

Let me know if you don’t get it.

Thanks,
Andrew

#3 www.horizondehumidifiers.com on 10.06.14 at 5:23 am

I loved as much as you’ll receive carried out
right here. The sketch is tasteful, your authored material stylish.
nonetheless, you command get got an impatience over that you wish
be delivering the following. unwell unquestionably come more formerly
again since exactly the same nearly very often inside case you
shield this hike.

Leave a Comment