[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Setup Multiple RAID volumes in Ubuntu

Posted on 2009-02-14
6
Medium Priority
?
1,354 Views
Last Modified: 2013-12-02
Hi and thanks for reading.  

I'm looking for some advice on setting up a File Server using Linux.  I was thinking I would just use Ubuntu Desktop 8.10.

I have two 80GB SATA Drives that I want to setup as RAID1 and install the OS on.

I also have four 1TB Drives that I want to setup as a single 3TB RAID5 volume, that I can share out with Samba, for use by Windows and Mac clients as a File Share.

I have very little Linux experience.  But I've gotten as far as installing Ubuntu on the 2 x 80GB drives in a RAID1.  

I need help with setting up the RAID5 volume now.  
0
Comment
Question by:jb1013
  • 3
  • 3
6 Comments
 
LVL 6

Expert Comment

by:Steven Kirkland
ID: 23643425
Ubunut's own website is full of how to's.  if you're using a software aided raid controller you'll want to look the way of dmraid;
https://help.ubuntu.com/community/FakeRaidHowto

Since you have the Desktop version I'm assuming you have X.  You could also go the way of GParted for fun gui goodness;
http://www.google.com/search?q=gparted
0
 
LVL 1

Author Comment

by:jb1013
ID: 23643435
I don't have a RAID controller for the 4 x 1TB drives.  The two 80GB drives are on a RAID controller, so I think that's why it was so easy for me to setup the RAID1.

I couldn't find any options for setting up RAID's in GParted.  

It sounds like the FakeRAID, is geared to when you have a BIOS Controlled RAID Controller.  I've been reading that maybe I need to use mdadm for setting up the Software RAID, but apparently there's no GUI, and I haven't found any real good documentation for a beginner.    
0
 
LVL 6

Accepted Solution

by:
Steven Kirkland earned 2000 total points
ID: 23643561
You're correct.  If you want to setup software raid you'll use mdadm in ubuntu.

Have you taken a look at this site yet?;
http://bfish.xaedalus.net/?p=188

Also, if this machine is being used solely as a file server I'd recommend you take a look at freenas as time permits.
http://www.freenas.org
0
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

 
LVL 1

Author Comment

by:jb1013
ID: 23643585
Thanks for the links.   That's the best instructions I've seen for mdadm, so far.  I can probably get there with those.

Will FreeNAS support two RAID partitions?  The RAID1 for the OS, and RAID5 for the Data?  I initially tried SME Server but it wouldn't work that way, I was under the impression that FreeNAS would have the same limitation.
0
 
LVL 6

Expert Comment

by:Steven Kirkland
ID: 23643597
I don't think the boot partition can exist on a fakeraid mirror but freenas does support multiple raid volumes.  Personally I would not put my /boot or swap part on the mirror if doing any sort of software or software assisted raid.
0
 
LVL 1

Author Closing Comment

by:jb1013
ID: 31547040
Thanks for all your help!  Its appreciated!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Each year, investment in cloud platforms grows more than 20% (https://www.immun.io/hubfs/Immunio_2016/Content/Marketing/Cloud-Security-Report-2016.pdf?submissionGuid=a8d80a00-6fee-4b85-81db-a4e28f681762) as an increasing number of companies begin to…
Is your phone running out of space to hold pictures?  This article will show you quick tips on how to solve this problem.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question