LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 04-07-2008, 12:06 PM   #1
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Rep: Reputation: 59
JBOD question


HI all,

I've been given a couple HDDs (80 and 120GB) which I'd like to combine with my original HDD (320GB) in wich I already have and installed Gentoo box.

I've been searching around and the option I found I want is to set up a RAID configuration in JBOD setup (LVM setup) to make the 3 HDDs appear as a single unit.

My question is: if I setup the JBOD config with the 3 HDDs, will I lose all the data stored on those hard drives?

Last edited by Hammett; 04-07-2008 at 12:29 PM.
 
Old 04-08-2008, 08:43 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,685

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
I think you are confusing your acronyms. JBOD is "Just a Bunch of Disks", RAID is a redundant array, and LVM is a Logical Volume Managed device.

If you have data on the three disks you're wanting to use, you need to mount them singly, under three different mount points. If you want them to be in a logical volume group, you'll have to define the group, and then add the volumes. When you do this, you'll have to format them, so the free space can be added to the LVM. The partition types will have to change to be LVM. After you build the LV, you can format it and mount it as a single drive.

There may be another way to do it, though, but I think that changing the file system type will nuke the data.
 
Old 04-08-2008, 10:12 AM   #3
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Original Poster
Rep: Reputation: 59
What I'd like to have is a single mount point with all the 3 hard drives so I don't have to be looking through 3 hard drives for something I need. And this without having to lose all the data.

I agree maybe I have misunderstood the acronyms...Sorry for that, but I'm completely noob at those things.
 
Old 04-08-2008, 02:05 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,685

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
No problem, but I didn't want to mis-understand the question either.

I am fairly certain that you'll have to blow them away to make one big LVM out of them. Use caution, though...if you lose one volume of that LVM, the whole thing will be un-readable.
 
Old 04-08-2008, 04:30 PM   #5
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Original Poster
Rep: Reputation: 59
Well, that's definitely not an option for me. Is there any other config that might "concatenate" the harddrives without compromising the whole data if one disks goes bad?
 
Old 04-09-2008, 09:51 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,685

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
If you want something that's fairly bulletproof, you'll want to go with a RAID configuration, using a hardware controller. I tend to lean towards RAID5, with an online spare. You need at least 4 drives to make that work, but if one drive dies, things go right on working, and you can replace the spare later. You CAN do it through software, but it's kinda slow...SATA RAID5 controllers aren't much, and drives are cheap these days.

You can do mirroring, but I've had several instances where one drive will croak, and corrupt the mirror, leaving me with a dead system, but your mileage may vary. You also need drives that are all the same size, to make things work best.
 
Old 04-09-2008, 01:12 PM   #7
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Original Poster
Rep: Reputation: 59
Thanks for the help and suggestions. I'm on 1770GB right now:

- Internal HDD 320GB
- Internal HDD 120GB (USB box)
- Internal HDD 80GB (USB box)
- External HDD 250GB
- External HDD 1TB

What I'd like is to take both 120 and 80GB disks and make them work together with the interal 320GB. If I setup a RAID5, (if I'm coorect) I'll shrink the RAID to 80GB only... and making a RAID0 is way too dangerous for me to try. I guess I'll have to live with my desk full of HDD boxes :P

Thanks a lot for your information.
 
  


Reply



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
JBOD needs to mount in OSX prophet Linux - Desktop 1 04-17-2007 08:37 PM
JBOD needs to mount in OSX prophet Linux - Desktop 1 04-15-2007 03:11 AM
Should I use JBOD or LVM? (spanning disks) sillygates Linux - Hardware 2 07-20-2006 08:07 PM
raid/jbod question Voltar Slackware 3 07-09-2006 04:01 AM
JBOD support with HP NetRAID-4M? FinalFantasy Linux - Hardware 0 10-15-2005 07:30 PM

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

All times are GMT -5. The time now is 08:29 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