this post was submitted on 29 Apr 2025
32 points (88.1% liked)

Selfhosted

46426 readers
881 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
 

My budget is ~500 Euro.

I haven't built a PC in 10 years, I gave no idea where to start.

It will mostly be used to run Nextcloud, Minecraft Server and some future homelab projects.

I'm thinking of using this for the case https://www.the-diy-life.com/introducing-lab-rax-a-3d-printable-modular-10-rack-system

Where do I start? What CPU or motherboard would you recommend? I want it to be somewhat future proof and also act as a NAS

you are viewing a single comment's thread
view the rest of the comments
[–] sxan@midwest.social 3 points 7 hours ago (1 children)

How much is "limited?" I've got one of those AMD Ryzen mobile CPU jobs that I bought new, from Amazon, for $300. I added a 2TB M.2 drive for another $100. For a bit over $200 ($230?) you can get a 4TB M.2 NVMe.

And that's for fast storage. There's USB3 A and C ports, so nearly unlimited external - slower, but still faster than your WiFi - drives.

When bcachefs is reliable, it's got staged multi-device caching for the stuff you're actually using, and background writing to your slower drives. I'm really looking forward to that, but TBH I have all of our media on a USB3 SSD it's plenty fast enough to stream videos and music from.

[–] sugar_in_your_tea@sh.itjust.works 1 points 6 hours ago* (last edited 6 hours ago) (1 children)

Yeah, I really don't know what constraints OP is working under. Here are mine:

  • >8TB max capacity - lots of Blu-ray rips, which grows every year (currently 3-4TB, grows by 1TB or so per year)
  • RAID mirror - my media isn't backed up, so this reduces my need to re-rip if a drive dies
  • no hard requirement on speed, I only need 1-2 concurrent streams, and a single HDD is probably sufficient for that

If I was building today, I'd probably still go HDD because few mobos have >2 NVMe slots, and NVMe gets expensive at higher capacities, especially if RAID is on the table.

If my NAS was 100% backed up, I wouldn't need RAID and I would probably use NVMe to save on space and complexity.

bcachefs

Why tho? Just use btrfs or zfs, they're proven in production, and have a lot of good documentation.

[–] sxan@midwest.social 1 points 6 hours ago (1 children)

Shit, that's a lot of storage. K.

I've lived on btrfs for years. I love the filesystem. However, RAID had been unreliable for a decade now, with no indication that it will ever be fixed; but most importantly, neither btrfs not zfs have prioritized multi-device support, and bcachefs does.

You can configure a filesystem built from an SSD, a hard drive, and a USB drive, and configure it so that writes and reads go to the SSD first, and are eventually replicated to the hard drive, and eventually eventually to the USB drive. All behind the scenes, so you're working at SSD speeds for R/W, even if the USB hasn't yet gotten all of the changes. With btrfs and zfs, you're working at the speed of the slowest device in your multi-device FS; with bcachefs, you work at the speed of the fastest.

There's a lot in there I don't know about yet, like: can it be configured s.t. the fastest is an LRU? But from what I read, it's designed very similar to L1/L2 cache and main memory.

RAID is production ready on btrfs, the only issue is the write hole on RAID 5/6. If you don't need RAID 5/6, you're fine. I use RAID 1, which is 100% production ready.

multi-device support

Ah, I've never considered that use case. My HDD RAID 1 array is plenty fast for what I need.

But isn't that basically what a cache drive does? It mostly caches reads, but I think it can cache writes too.

Good to know if that's your use case, but it sounds pretty niche to me.