Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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.
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?
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.