HBA: to buy used, or to buy new but consumer?

So, I’m planning my home server, and apparently I need a HBA - TrueNAS doesn’t like drive passthrough, which I had originally planned.

The usual recommendation is to buy a used SAS card. To be honest, since I have no experience with enterprise gear, I am completely lost. No idea what works, what doesn’t, which cards can be flashed to IT mode, which can’t, and it’s taking a lot effort to find my way around the stuff.

So, I started thinking - why not buy something consumer? Turns out, a Silverstone ECS06 costs about as much as a used 8i LSI card, and I don’t have to spend the effort on digging through a gazillion of forum posts, cross referencing them with each other and e-bay. That SST uses an ASMedia ASM1166 - an AHCI chip.

The two downsides I can see are:

  • Two less ports
  • Probably lower bandwidth

I’ll be fine with less ports, and the bandwidth bottleneck will probably be the network, not the HBA.

Does anyone see any other downsides than these two I mentioned? Or foresee any problems with TrueNAS?

There are also cards branded MZHOU on Amazon, using a combination of ASM1166 and JMicron JMB575 port multipliers. This are probably a no go.

Edit:

I read this topic on TrueNAS forum - yup, not buying anything with a port multiplier.

I still see no problem with using ASM1166 connected properly over PCIe 3.0x4.

LSI chips are proven good. Sata cards are a dice roll for some reason. I’ve seen numerous people happy with them, as well as numerous people have issues.

Go to eBay and search “ lsi 9211-8i”

There are a few different variations (some are branded differently or are converted raid cards) but they all have an LSI chip in them and work the same. Many are probably knockoffs from China at this point, but I’ve never once seen it matter…

The firmware should be stated as already being loaded with”P20 IT” which is the final version. I have not once messed with loading firmware on these.

You’ll typically want cables that break out into sata ports, or connect to a backplane. How are you connecting the hard drives.

You will want to twist tie a little 40mm fan, or direct airflow to the card to keep it cool.

Be aware any cable, sata or sas can be up being bad.

2 Likes

I tend to forget ebay exists. It never became popular in Poland, to the point it doesn’t come up when searching for products in Google, at least for me.

I’m guessing auctions like this one are perfect for me?

As for the drives, 99% it’ll end up being SATA. I have yet to decide which case to go with.

Yeah that one should be perfect and plug-and-play. Glad your result were good, European eBay isn’t always as nice as American eBay for tech hardware.

Thanks for the help.

I think that seller just ships globally.

Also, I’m not actually afraid of flashing stuff, but the sheer amount of available models had me completely lost. At work we’re planning on buying a refurb T620 as a testbed server and I fully intend to flash the bundled H710 into it mode. They’re bundled for like 10$, so it’s a steal.

WAIT!

The Fujitsu ones have a custom bios that is a PITA to flash to IT mode. So if your going to buy one make sure they have already flashed it to IT.

If you get one from any other MFG you should be fine to flash yourself.

2 Likes

Not buying yet, but thanks for the info. The auction I linked is actually already flashed to IT mode. But as I have no means to test that at the moment, I won’t be buying it for some time.

1 Like

I too would caution against using consumer adapters and invest a day or two into figuring out LSI models.

I have acquired 5 or 6 of Dell branded ones at this point (all from eBay), but even when they were flashed to IT mode it was older P17 or P19. Updating to P20 should be easy enough.

On the other hand cross-flashing from IR to IT and from vendor FW to LSI is sort of complicated if you never tried it simply because you have to flash several times in a very specific order to get everything done. Also, not helping is the fact that LSI was sold 2 or 3 times since then, so tracking down firmware is super fun. Once you figure it out it takes 10-15 mins to do so at this point I just stick to readily available Dell ones.

Good to know, noted.

Didn’t RedHat drop support for SAS2008 chips in their distro’s? Kind of soured me on them, as I have a bunch of cards based on it…

Okay, only RHEL 8 so far not fedora or centos (yet)

I don’t get it simply if the tech is old. I did see something about the ppc controller possibly being compromisable? Not sure

Given you are planning a compact build, just pass through the drives and save yourself a PCI slot.

Setup the email alerts in proxmox and it will email you if you get SMART errors on the disk, even though they are passed through.

Or just don’t bother with truenas, setup proxmox with shares or whatever else you are planning for Truenas to do.

Basically, I want TrueNAS for the web management GUI and general ease in managing ZFS. If I can get both in Proxmox? Why not.

While I’m generally a CLI person, for tasks which I do not need to perform often GUI is just easier

Please tell me you aren’t planning on storing VMs on Truenas and booting them up on that same proxmox machine that is hosting truenas?

Just setup ZFS on proxmox create virtual disks as required, you can still run truenas off virtual disks (zvols), you just won’t be using it’s ZFS array management stuff.

Why create headaches and expense?

I was actually planning two different sets of drives, one for VMs, one for NAS.

NAS on zvols has it’s own set of headaches, doesn’t it? I actually want the snapshot capabilities (as a sort of first line defense against ransomware).

And as I said - I want ease of management. If you can point me to a web GUI solution to manage file shares and access on raw Proxmox, I’m all ears.

So, I actually went looking myself. Seems there are at least two options - openmediavault, and good ol webmin. So yeah, Proxmox, one of those two, throw in Portainer in a VM for docker management, and I’m set.

Edit:

Dirty note to have everything in one place, for backups https://www.duplicati.com/ looks decent, if I don’t go with manual rclone.

I bought an Avago LSI 9210-8i SATA / SAS HBA Controller from Ebay that was already in IT Mode. For reference I paid 90EUR. Maybe this is an option for you.

I bought an LSI 9260-8i from China did 3 weeks to Montreal with Speedpak. Found the drivers, updated the firmware and built a 3 drive raid5 in a minute using the MSM Megaraid Storage Manager. It is branded Avago. Make sure to have SFF8087 cables, miniSAS to 4 SATA.

1 Like

I installed cockpit with a couple plugins. Check out 45 drives Houston videos. Houston is their version of Cockpit.

So I installed Proxmox on 3 SSDs as ZFS boot drive which works nice. I then installed cockpit and used that for creating and adding devices to ZFS pools and it works well. You can then setup Proxmox to use the ZFS pool for storage, ISO, containers or whatever you like. Proxmox also also you to BIND a ZFS pool so it shows up as a native drive in the container or VM which I much prefer over doing a samba or NFS mount (faster too). I’ve also created pools using the command line with aliases which is actually what I prefer. Where cockpit is super useful IMHO is user managment, Samba, NFS sharing. I wasn’t using TrueNAS for docker or containers as Proxmox is better for that anyway. I uninstalled TrueNAS as I found I had no use for it. Even testing scaling out TrueNAS to 4 nodes doesn’t gain it anything I get from traditional Ceph clusters. Short of the catalog of quick to deploy K8/docker apps it mostly lost it’s appeal as it has no standout features and not one best in class feature for me.

Essentially everything TrueNAS does can be done easier or better with more functionality and complete UIs in other tools.

ZFS is faster created at the host level with way more options for use then trying to pass through drives and/or controllers then sharing pools from a VM back to the host and other VMs/Containers. Maybe if TrueNAS was still being used for VM, containers, docker it would fair better but when you move those major functions out it leaves little except managing users and shares which is just Linux features and can be done from the command line, with Webmin or Cockbit easily.
The final nail in the coffin for me was the change to TrueNAS so it won’t allow changes from command line or not done via it’s GUI to be saved. It’s no longer a Linux OS/Application but an appliance and wants to be used that way.

Even the large catalog of apps doesn’t cut it other than to demo apps due to choice they use. Look at their NextCloud deployment as an example of what I’m talking about. I’m confident in saying no one would set NextCloud up that way except to do a quick install to check it out before destroying and rebuilding it proper. Even the UI for managing VM and Containers kind of blows. You’re way better off with container install in Proxmox using Portainer for GUI.

1 Like

i’d support learning the zfs command line if the gui is restricting you from doing something interesting. the commands aren’t hard, are documented really well, and are often referrred to in forums, blogs, etc so you have lots of examples to follow.

passthrough is a tricky word; afaik passthrough of both types (raid card doing a raw drive passthrough, and hypervisor doing a full drive passthrough) work just fine with zfs. depends on what you mean by passthrough.

zvols do snapshots, not sure where you heard otherwise. not the best choice for a NAS backing store under most siituations, but it’s not because “no snapshots”.

very cool to see you doing all this - great learning experiences

1 Like

Have you tried setting up manually iscsi targets?
How are you managing snapshots and how are you managing pulling/pushing them to a remote server?
Have you set up a cloud sync to a remote service like onedrive?
How are you managing SSL certificates?
Can you backup your config in a single tar file, send it over to another server and stand it up from the backup?
I am very happy that you are finding proxmox and a set of additional tool good enough for your workload, but I would be careful to declare true Nas inferior to a custom solution without factoring in the things where true Nas really makes a difference…