Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
Go always with software RAID where possible to avoid vendor lock-in.
Can you elaborate on the scenario this is solving for? Isn't software RAID a performance hit?
Its cheaper, has better visibility for drive health, and things like CoW means a file is extremely unlikely to be corrupt on a power failure (with hardware raid, you are relying on the battery in the raid controller for that protection. I guess you could run CoW ontop of a hardware raid). CoW also helps spread wear on SSDs.
ZFS will heal data if it finds corrupted blocks, not sure that a hardware raid does.
ZFS is the same anywhere, and is adjusted via software (as opposed to the dell PERCs which i believe require booting into essentially bios. Certainly ive never had the work through iDRAC), and you dont have to learn that raid controllers control UI (altho, they are never difficult).
Its also another part that could fail and require like-for-like replacement. ZFS on satas just needs to be able to access the drive.
I looked into it ages ago, and ZFS on HBA made so much more sense than a $300 used raid controller.
For me only the case of inability to reassemble RAID array on different server (with different controller or even without it) for data recovery shouts a big "NO" to any RAID controller at home lab.
While it is fun to have "industrial grade" thing, it isn't fun to recover data from such arrays. Also, ZFS is a very good filesystem (imagine having 4.8 TB of data on 4 TB mirrored RAID. This is my case with zstd compression), but it isn't playing well with RAID controllers. You'll experience slowdowns and frequent data corruption.
Good to know, I appreciate the help! Do you think ZFS is a reasonable alternative to using RAID here?
Using ZFS on Proxmox for couple of years under different workloads (home servers, productions at job), it is very good.
Just tune it as you need :)
Thanks a ton! I'm on the proxmox forums trying to figure out if I should stick with the H330 that came with the server and return/sell the H730 I got, or if I should use the H730. Seems there's a recent thread where they're figuring it out so I'll get to the bottom of it.
Be aware! The dell R730 most likely comes with a raid controller which is not suited for ZFS. You need a true HBA instead. Some raid controllers do let you set them up in JBOD mode but it still is not suited for ZFS as you need a proper HBA and or a raid controller where you can flash the firmware to IT mode.
For ZFS storage and many apps and more Truenas scale might be interesting to you.
I've been reading that the updated firmware for the PERC H730 has no issues in HBA mode, and there's a thread from December in the Proxmox forums on using an H330 and H730 and they seem to work fine. I'm trying to get more clarification in that thread, but I'll also do some testing myself.
I run my 730xd with a H730 in HBA for months and Truenas has never had an issue.
It seems that the issues may be quite a bit deeper than they seem. That the cache on the H730 can cause subtle issues. Are you able to get SMART information from the H730 for the disks?
Take a look at the following topic. It is not just relevant for TrueNAS but ZFS in generel. https://www.truenas.com/community/threads/whats-all-the-noise-about-hbas-and-why-cant-i-use-a-raid-controller.81931/