LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-16-2010, 03:08 PM   #1
lamez
LQ Newbie
 
Registered: Jun 2010
Distribution: Debian\Ubuntu
Posts: 8

Rep: Reputation: 0
RAID Questions.


I currently have a Debian Lenny Server. I just bought a external 1.5TB HD to create rolling weekly backups.

Since I have everything backed up, I think I want to setup a RAID array with my current setup. I have a few questions.

My hard disks as of now are:
1x Quantum Big Foot PATA 6Gb (OS Drive :P)
1x Maxtor PATA 300Gb
2x Western Digital SATA 500Gb

Questions:
1. What is a JBOD: Just a bunch of disks? Will this allow me to setup multiple different hard drives as one contiguous space?

2. Can I have one dedicated OS Hard drive, then the rest of my drives on an RAID Array?

3. Can I have different drive types on a single RAID? PATA and SATA mix?

4. Setting up a JBOD, will this create more stress when trying to setup a backup then just using the drives separately?

5. Is it even worth my time when setting up a RAID or should I just keep my drives separate?
 
Old 06-16-2010, 03:21 PM   #2
brucehinrichs
Member
 
Registered: Mar 2008
Location: US
Distribution: Debian Sid; Sabayon, UbuntuStudio, Slackware-multilib 13.1, Peppermint Ice, CentOS
Posts: 575

Rep: Reputation: 69
1) JBOD is nothing special, it's just more than 1 disk in no RAID configuration. It does not 'allow' you to set up these drives contiguously, linux allows this inherently.

2) Yes.

3) Yes, using a software RAID you can. Not all hardware RAIDs allow this.

4) No. AFAIK there is no 'setting up' a JBOD, you just install the drives.

5) If you have no specific reason to do so, then setting up a RAID is wasted time and effort, IMHO (unless you do it for the learning experience, then it's always worth it )
 
Old 06-16-2010, 03:41 PM   #3
lamez
LQ Newbie
 
Registered: Jun 2010
Distribution: Debian\Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
What I really want is to combine all my storage drives as one. I want all three of my storage drives to act as one large hard drive. Is there technology out there that exist into doing so? Am I on the right path? What should I start looking into?
 
Old 06-16-2010, 03:49 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by lamez View Post
What I really want is to combine all my storage drives as one. I want all three of my storage drives to act as one large hard drive. Is there technology out there that exist into doing so? Am I on the right path? What should I start looking into?
Yes, you can do that. It's call LVM (Logical Volume Manager). You can set up a group, then add 'members' (whole disks, partitions, whatever), into it. The entire group is mounted/presented as one. So, to simplify, if you have three 250GB disks in one LVM group, you'll see one 750GB drive.

Be warned, though...if ONE member of the group fails it could take down the whole group. This depends on how you set it up, RAID level, etc., but software RAID can be complex. As a rule, hardware RAID is much better (in my opinion), and usually faster since you don't have the software abstraction layer for disk IO.
 
Old 06-16-2010, 03:59 PM   #5
lamez
LQ Newbie
 
Registered: Jun 2010
Distribution: Debian\Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
Awesome. I've been doing a little bit of reading on it. It looks like have to format and partition each drive to setup a LVM. Will this work if I have these drives setup independently, out of a RAID array?
 
Old 06-16-2010, 04:18 PM   #6
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by lamez View Post
I think I want to setup a RAID array with my current setup.
What do you want RAID to accomplish for you? More reliability than non RAID? More performance than non RAID? Just more apparently contiguous space?

Quote:
1. What is a JBOD: Just a bunch of disks?
Right.

Quote:
Will this allow me to setup multiple different hard drives as one contiguous space?
In the unlikely case that you have some hardware RAID support, JBOD means it is turned off. Most likely, you have "fake RAID" support in your BIOS and JBOD means that is turned off, which is almost always the way you should want it.

Linux software RAID is a lot more flexible than hardware or fake RAID at using a collection of dissimilar drives. But maybe not flexible enough to do much with your specific dissimilar collection of drives.

For flexible combination of space (not looking for reliability or performance benefits of RAID, LVM is more flexible than software RAID).

Quote:
4. Setting up a JBOD, will this create more stress when trying to setup a backup then just using the drives separately?
Do you have that choice to make (JBOD vs. separate)? In my experience JBOD means just using the drives separately and is offered by BIOSes that don't offer another way of just using the drives separately.

Quote:
5. Is it even worth my time when setting up a RAID or should I just keep my drives separate?
What are you trying to accomplish?

I personally prefer keeping drives independent, so I can reconfigure systems more easily when hardware breaks and/or needs change. So I don't use LVM and I limit my use of RAID.

If drive boundaries were not an issue, how would you partition the total storage available to you?

If you need to consider drive boundaries, what would that do to the way you partition?

Last edited by johnsfine; 06-16-2010 at 04:21 PM.
 
Old 06-16-2010, 08:10 PM   #7
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You could setup RAID, but there are some consequences. I suggest use software RAID level 5. Create a 300 GB partition on each of the 500 GB hard drive and then include 300 GB hard drive as the third drive. For the last 200 GB of space on each of the 500 GB hard drive, you can do what ever you want. Though a software RAID-5 requires more processing power, so I suggest using at least a dual processor setup. As with all RAID setups, fixing them when the server is messed up is going to take a lot of work, so back ups are definitely a must with RAID compared to single disk setups.

In your case, you have a single disk setup and you are doing back ups, so you do not need RAID. If you want a fail-safe, I suggest get more of equal capacity hard drives and then put the journal on them, so you gain some performance and you include a fail-safe that is transparent when a server messes up.
 
Old 06-16-2010, 10:21 PM   #8
lamez
LQ Newbie
 
Registered: Jun 2010
Distribution: Debian\Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
I am going to do a LVM with all three of my hard drives. I do not have a GUI installed. How would I go about setting them up through the shell? Do I need to add them to the fstab? (That's a dumb question.)

What would happen if I mounted all three drives to one folder?

Last edited by lamez; 06-16-2010 at 11:53 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RAID 5 Questions sxa Linux - Hardware 3 02-19-2009 02:35 AM
RAID 5 questions frankkky Linux - Hardware 4 02-10-2009 04:00 PM
raid questions rblampain Linux - Hardware 3 09-15-2007 12:18 AM
software raid 5 + LVM and other raid questions slackman Slackware 5 05-09-2007 02:58 PM
Little questions about RAID Filosofem Linux - Hardware 1 12-10-2005 10:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration