SlackwareThis Forum is for the discussion of Slackware 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.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
RAID Questions
I have a Dell Dimension 8400 (32-bit) that I'm going to wipe clean and install Slackware 13.37 on it.
I've been thinking about RAID for some time (as in, I bought a second drive a couple of years ago for this box but never have used it). Looking at the BIOS settings I can use
RAID autodetect AHCI (RAID is signed drives otherwise AHCI)
RAID autodetect ATA (RAID is signed drives otherwise ATA)
RAID (SATA configured for RAID on every boot)
Huh?
What I've got are two SATA drives, same size (different manufacturers if that matters).
I'm wondering: do I choose one of the settings in the BIOS (nice to know which would be the best choice) or do I do a software RAID setup or some combination of both? Any hints? Any sage advice?
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731
Rep:
i prefere Linux software RAID, i stay completely away from dump SATA-RAID controllers. I've seen several SATA-RAID controllers loosing configuration or roasting a complete RAID, so SATA-RAID is no option for me.
Linux software RAID is available for more than 10 years, so it will work well, stable and i am able to repair it without requiring vendor specific management tools. All is available as a part of the OS and i am able to transfer a complete set of Linux software RAID disks to another host without loosing any byte.
Software RAID is probably your only reasonable choice. Most if not all of SATA RAID controllers that come on motherboards are complete junk. Unless you've shelled out some serious cash for a good PCIe or PCI-X SATA RAID controller stay away from the "hardware RAID"[0] that you have. Since you have different drives from different manufacturers, they probably aren't the same size (sure, they'll say 500GB but one may be 495 GB and the other 480GB). That may cause hell if you even attempt to use the crap-raid controller you have. mdadm has no such problems however.
I suggest you read README_RAID.TXT on your install CD or a mirror thoroughly before you get started, then refer to it throughout the installation as it will make your life much easier.
[0] Most of these are completely fake and rely on OS drivers to do everything for them. That means that they are software RAID with less testing, lower performance, and decreased reliability when compared to the tried and true Linux software RAID.
As the others have said software RAID is the best way to go. I found it very easy to set up on Slackware, by following the README. With two disks RAID1 is the best option - you get the benefit of redundancy and faster read speeds as well, at the cost of slower write speeds. But as Mark has said, you could go with software RAID0 on a partition which wasn't too important, and could be reinstalled - /usr, for example. If you intend to use a /boot partition it needs to be on RAID1.
Before setting RAID and LVM up on real physical disks I tried it all out in virtual machines first, creating two virtual disks. I took notes and then installed RAID and LVM on the physical disks. It was very easy to do.
Last edited by Gerard Lally; 06-23-2011 at 05:23 PM.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Original Poster
Rep:
All righty then -- software RAID is the way to go (don't know diddly about the controllers, don't know if they're worth a hoot, don't really want to know all that badly, so... to heck with those).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.