Thank you, that’s actually very helpful, because I’m also kinda concerned that the HBA (or SATA to PCIE card) solution won’t fix this issue entirely, and it’s also relatively old system, and I’m worried about compatibility. Having two machines though is also kind of out of the question, because I don’t want to use that much electricity, it’s pretty expensive here where I live. I do have a Raspberry Pi, which could be used for some selfhosted services, but not the demanding ones, and not running alongside each other. I mean, my current PC sometimes struggles already, so I guess the Raspberry Pi will perform even worse… Maybe I can find a solution that allows to still manage storage reliably and flexibly, and also be able to have docker containers.
Comment on Am I corrupting my data?
philoko@ani.social 2 days ago
I was in somewhat of a similar situation but some of the SATA ports were bad and ended up buying a cheap SATA to PCIE card and passing it instead but that still had some issues so I ended up moving TrueNAS to its own dedicated machine and haven’t had any problems since.
Just my two cents.
thelemonalex@lemmy.world 2 days ago
philoko@ani.social 2 days ago
TrueNAS scale is the Linux version of TrueNAS with docker support. Might be worth looking into
thelemonalex@lemmy.world 1 day ago
I’m already running TrueNAS Scale, but I’m unsure about the docker support. I did use TrueCharts and such, but it was very unstable, so I moved away from that.
Nollij@sopuli.xyz 2 days ago
To anyone reading, do NOT get a PCIe SATA card. Everything on the market is absolute crap that will make your life miserable.
Instead, get a used PCIe SAS card, preferably based on LSi. These should run about $50, and you may (depending on the model) need a $20 cable to connect it to SATA devices.
possiblylinux127@lemmy.zip 2 days ago
I have a cheap PCIe card I bought and it works fine.
It cost like 10$ and has been rock solid. What is the issue?
Nollij@sopuli.xyz 2 days ago
The one I had would frequently drop the drives, wreaking havoc on my (software) RAID5. I later found out that it was splitting 2 ports into 4 in a way that completely broke spec.
thelemonalex@lemmy.world 2 days ago
Are there any specific limitations/requirements? Any recommended models or things to look out for? I looked on Amazon, and they range from around $30 to $200, and I really have no criteria, and I want to spend as little as possible.
fuckwit_mcbumcrumble@lemmy.dbzer0.com 2 days ago
If it’s an LSI card then make sure it’s either been flashed into IT mode, is capable of being flashed into IT mode, or is relatively modern and has that option built in.
What you really want is an HBA, but HBAs can be expensive, a raid card flashed to act as an HBA is typically much cheaper. A 6 gbit SAS card will do 3gbit sata, and no hard drive should be writing more than 3gbit. If you want to do SSDs then find a relatively more modern 12 gbit SAS card which will do 6gb sata.
I guess also look out for the REALLY old ones that won’t do over like 3tb. But I bought one of those for $20 almost 10 years ago so that shouldn’t be a concern. Those are probably all in the trash by now.
thelemonalex@lemmy.world 1 day ago
Thank you very much for the info. In the case of Raid Cards that can be flashed, is there something I need to look out for, besides the speed? Only HDDs will be used, so speed isn’t a priority.
Nollij@sopuli.xyz 2 days ago
I don’t want to speak to your specific use case, as it’s outside of my wheelhouse. My main point was that SATA cards are a problem.
As for LSi SAS cards, there’s a lot of details that probably don’t (but could) matter to you. PCIe generation, connectors, lanes, etc. There are threads on various other homelab forums, truenas, unraid, etc. Some models (like the 9212-4i4e, meaning it has 4 internal and 4 external lanes) have native SATA ports that are convenient, but most will have a SAS connector or two. You’d need a matching (forward) breakout cable to connect to SATA. Note that there are several common connectors, with internal and external versions of each.
You can use the external connectors (e.g. SFF-8088) as long as you have a matching (e.g. SFF-8088 SAS-SATA) breakout cable, and are willing to route the cable accordingly. Internal connectors are simpler, but might be in lower supply.
If you just need a simple controller card to handle a few drives without major speed concerns, and it will not be the boot drive, here are the things you need to watch for:
Also, make sure you can point a fan at it. They’re designed for rackmount server chassis, so desktop-style cases don’t usually have the airflow needed.
thelemonalex@lemmy.world 1 day ago
Thank you very much for the detailed information. I’ll look into eBay again, maybe I can find a good offer that works. I’m unsure how to choose the number of lanes. Does that relate to the number of drives it supports? Also, in terms of cooling, would any PC case fan be enough, if strapped onto the HBA?