Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
So I am wanting to setup a RAID 1 (2 disks only) system, and I am wondering a couple of things. First, would it be fine to use my onboard controller? This is a data storage only setup as the OS is run from an SSD. I have heard onboard can be resource intensive but then I would need a PCI card I was hoping to avoid. Second, will my RAID 1 array move to another computer when the time for upgrade arrives or will the array be locked to my system?
If you've never used RAID before, likely you won't notice any performance hit from Linux software (MD) RAID. I've been using it on my primary PC too long to remember, probably at least a decade.
The performance hit with software RAID is only for arrays that have to do a lot of calculations, namely parity RAID (5, 6, 50, 60). With a simple mirror there's very very little computational overhead, so the performance difference between software and hardware RAID will be essentially zero. A big powerful hardware RAID card is 100% a waste of money for a mirrored array IMO.
Ugh okay yea then I will look at getting a raid card. any ideas of good ones? I see some on newegg in the 20-50 range that go into pci.
Those aren't RAID cards. Those are glorified PCIe to SATA bridges, you'll still be doing software RAID with one of those. Even the ones that claim RAID are just fakeRAID. Essentially they have their own firmware that you can configure to tell the BIOS an array is attached, but your CPU still does all of the work. From a performance standpoint they're no better than software RAID, from a reliability standpoint they're worse than both software and hardware RAID. They really are the worst of both worlds.
I prefer to "throw hardware at it." For example, a box that provides me with several hot-swappable disk-drive assemblies populated with high-quality drives. Redundant power-supplies with built-in line filtering. And, everything done in hardware.
Enterprise still uses full hardware raid a lot. It isn't cheap either.
I think the OP has a lower end fake raid controller that even if it did work in linux won't provide a common way to replicate to different hardware or kernels.
Fake raid is almost every raid controller below $150 as an example.
I would use the drives in a standard port or in standard settings. Then consider using any of a number of ways to maintain. Software raid or software raid on LVM is very common. ZFS and BtRFS may be considered too.
I have used both hardware raid and raid in software. I found portability irrelevant, you always end up needing backups anyway so leverage those backups.
I also found that the difference between software and hardware raid was only significant on underpowered servers. If you are using a commodity home desktop machine you may see a difference, but if you have a server class machine it will be insignificant.
The difference between rotational and SSD drives will be FAR more significant.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.