this post was submitted on 20 Jun 2025
14 points (88.9% liked)

Selfhosted

48470 readers
640 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I inherited a decommissioned Dell PowerEdge T610 from my work recently. I have it setup with Truenas and plan to have it be our new Jellyfin, file storage, and whatever else I can figure out. But I'm new to Raid setups and was hoping for advice before proceeding. After doing a little research I figured a Raid 5 configuration would be a fun experiment and could help with stability in the long run.

My question is, should I manage drives via the hardware controller? Or Truenas?

The server has a hardware raid controller and the drives have to be configured in the bios in order to be visible by an OS. Easy enough. I setup 4 drives in a Raid 5 configuration, boot to Truenas. I try to make a pool with the vdrive but then Truenas wants to configure it. If I chose anything other than Raid 0 it would cut into the storage even more. So I went back in, changed the 4 drives to Raid 0 in the bios, then setup the pool in Truenas using the 4 individual vdrives. But then I started to wonder if the two would be compatible in the long run?

Then in wondered, is Raid 5 even worth it? I have a single drive I currently use as a direct backup of our important photos, videos, etc. That one is not going in the array but will be copied over for easy access and kept as a backup. So with a direct backup of the important stuff do I really need to sacrifice space for mirroring and parity?

I'm curious what you all think.

top 9 comments
sorted by: hot top controversial new old
[–] ms_lane@lemmy.world 11 points 1 day ago (1 children)

Hardware RAID is dead.

  • They're no faster than Software RAID today

  • They're vendor and often model locked to a particular make or model of card (so if your card goes bust, so does your array, where software options you can migrate the entire machine to a completely new one, as long as the disks are good so is your data)

  • ZFS wants access to individual disks anyway

Check which raid card your Dell shipped with, if it's a PERC H200 or H310, you can flash it to IT mode to make it work as a plain HBA. If it's a PERC 700, you're SOL on IT mode. I'm pretty sure it can expose vdrives, but that's probably more trouble than getting a cheap HBA at that point.

[–] kylian0087@lemmy.dbzer0.com 3 points 1 day ago* (last edited 20 hours ago)

Be mindful to not set the H200 to passtrough mode. You need to flash the IT firmware to it for it to work properly.

[–] artifex@lemmy.zip 10 points 1 day ago (1 children)

The safest and most flexible option would be to configure the BIOS to not use the RAID controller and just "see" the drives as a regular JBOD, and then setup a ZFS RAID-Z1 array and configure your zvols, etc. in that instead. RAID-Z1 is functionally very similar to old-school RAID-5. There's virtually no performance penalty with software RAID these days, and you're eliminating the proprietary RAID controller as a single point of failure.

[–] mio@lemmy.mio19.uk 1 points 23 hours ago

Also zfs provides checksum

[–] Limeade3425@lemmy.zip 7 points 1 day ago

TrueNAS (ZFS) needs direct access to the drives. Typically a software raid is considered to be more reliable/flexible since with ZFS it also checks for file integrity. You can set several variables to add to the integrity as well as special vdevs to help speed things up. Integrety comes at the cost of storage, so make a plan for how much storage you need versus how much data integrity you need.

[–] Krill@feddit.uk 6 points 1 day ago (1 children)

Do not use a raid controller with Truenas. Use a HBA such as an LSI 9300 or 9207 (old but fine for HDD). Truemas manages the drive itself and any barrier to that (like device managed SMR drives and Rains controllers) means Truenas does not know where the data is, and you are likely to get data corruption at some point.

[–] mongooseofrevenge@lemmy.world 2 points 1 day ago (1 children)

On a second look it actually came with one of these cards. It just wasn't connected. The cable setup unfortunately only let's me hook up half the drives for now but that works for the time being.

[–] Krill@feddit.uk 2 points 1 day ago* (last edited 1 day ago)

Get a used adaptec arc 82885T which as an expander card. It only needs molex to power it, and it allows the HBA to connect to up to several hundred data drives (HBA to expander to HDD). The documentation is straightforward to understand.

An example: https://ebay.us/m/SYvAxO

I'm glad I asked! Thank you all, I'll have to make some changes.