1

I purchased an LSI Logic HW RAID controller on ebay without doing much research and discovered the hell of 10-year old proprietary drivers and command line tools with no documentation. I'd like to avoid that experience again, and so I'm looking at what will be compatible before making another purchase.

I understand that this question has been asked before. Here is one example. However, every answer I've seen is horribly outdated and full of broken links. The most liked answer in the question linked above directs people to http://ww1.linuxhcl.com/, a now defunct website.

For the purposes of this question, "linux-compatible" means it is supported out of the box in the linux kernel or has an open-source driver and tooling.

Before asking this question, I also looked at the ubuntu certified hardware page (my server runs ubuntu) but all the hardware listed there seem to be complete systems, not individual components. I will be using this for a home NAS/media server but I'm looking for general information so that answers to this question will be useful to a wide variety of cases. Any help is appreciated!

Edit: in response to a comment, I'm adding that the card I initially tried to use was an LSI Logic SAS9260-8I. However, I want to emphasize that this question is not about help with that card. I am looking for linux-compatible hardware to replace that card.

bweber13
  • 141
  • 4
  • 1
    Could you specify what RAID controller you have purchased? Having no information about what model, its going to be hard for us to provide you any assistance. – Barnabas Busa Jan 19 '21 at 10:49
  • I don't see how that's relevant, as I indicated in the question that I'm planning on purchasing a new card to replace it. I'm looking for advice on how to find a linux-compatible card to purchase. – bweber13 Jan 20 '21 at 17:43

1 Answers1

2

In the time since I asked this question, I have done some research and even made another purchase. I feel I've gathered enough knowledge to answer my own question.

HBA vs HW RAID

I am not aware of any up-to-date list of linux-compatible hardware, and I'm afraid that if one existed, it would quickly become out of date or defunct like the other websites I've seen. However, after reading through the wikipedia page for "SCSI host adapter" and some closely related serverfault questions, I felt that if compatibility and ease of use out-of-the-box are a priority, I should prefer an HBA over a hardware RAID card.

From what I understand, an HBA is incredibly simple, and its only job is to provide its own data (the data from the SCSI bus, in my case) to the motherboard's I/O bus. I gathered that my frustrations came mostly from the fact that RAID cards have to do all the work handling RAID before providing a single volume to the motherboard. At this point I was pretty confident that if I just bought an HBA, the drives would probably appear in linux and I could use mdadm or something else to manage RAID, instead of wrestling with proprietary tools to configure RAID on the HW RAID card.

My Second Purchase

Feeling pretty confident, I purchased an LSI SAS9200-16e and a breakout cable for under $50 on ebay. Today I installed the hba, plugged in my drives, installed mdadm, and rebooted. Immediately, I was able to see the drives with lsblk. No more wrestling with obscure tools. mdadm is well understood and documented.

Conclusion

If compatibility and ease-of-use are important issues, prefer an HBA over a HW RAID card. Of course, this is a highly-opinionated solution that isn't reasonable for everyone. HW RAID cards exit for a reason. I am not a sysadmin or an infrastructure expert, but my instinct is that if a HW RAID card is a good fit for your needs, then you're probably a professional engineer with far more knowledge on the subject than I have. Additionally, if you're looking for an industry-grade solution, you probably also have vendor support for new and expensive RAID cards.

I approached this question hoping to provide broad, general information. Unfortunately my answer isn't able to help as many people as I had hoped, but I think my answer will still be useful for many of the people here, as I'm sure lots of you are just trying to configure a small home server.

bweber13
  • 141
  • 4
  • 1
    This is a completely crazy answer. There are lots of reasons to choose hardware vs. software RAID, but "lack of drivers" has never been one of them. Hardware RAID is a lot more reliable and performant than software RAID, and it' commonly used *everywhere* anything serious is being done. It's dangerously wrong to suggest software RAID as a better solution over hardware RAID based on your troubles finding drivers for a single card. – Massimo Jan 24 '21 at 18:31
  • 1
    I'm happy to admit I don't know what I'm doing, but if my solution is to be improved I'm going to need more than just "this answer is wrong". Can you point me to some common cards with good support? Or solutions to work with proprietary drivers? Or even better, cards with open source drivers? I need a path forward. – bweber13 Jan 24 '21 at 18:45
  • https://wiki.debian.org/LinuxRaidForAdmins – Massimo Jan 24 '21 at 20:29
  • thank you. This is useful – bweber13 Jan 24 '21 at 20:40
  • Good answer IMO, but I'm looking for a a RAID ***hardware*** solution... IIUC, HBA is hardware, and so it would qualify by my definition of hardware. Put another way, I want a modular 'drive rack' with a Linux-based open-source SBC. Perhaps something similar to this [Netgear network appliance}(https://www.netgear.com/business/wired/storage/rn626x00/). – Seamus Nov 28 '21 at 20:43