Skip to content

u/BossOfTheGame

In this archive from May 2009 to Apr 2026

10
posts
60
comments
6
media
519
score

Follow up:

I've built and maintain several Linux machines with 4x 10TB HDDs in RAID-10 with either mdadm, zfs, or btrfs, so each machine tops out at 20TB of storage, and I'm curious about adding some network attached storage to my homelab to expand my available storage.

From what I'm reading in this thread, adding a NAS to my network is equivalent to just building another PC, maybe with different empahsis on the hardware. I suppose I want a motherboard that has enough SATA connections to support the number of drives I would want (probably at least 8, likely more). However, looking at mothboards marked as "NAS" motherboards, they don't seem to have more than the standard 6-8 SATA connections, so I guess I'm curious how to build a high end NAS. As I write this I'm also googling and it looks like 45 Drives has some prebuild server racks that can 30 drives: https://www.45drives.com/products/storinator-q30-configurations.php

I guess what I'm looking for are motherboard / case recommendations that can handle 8+, 16+, or 32+ HDDs. I suppose if it's just a PC I can just handle all the software myself.

1 points

At the very least it will be a learning experience! That's what college is for isn't it?

As long as the air flow isn't blocked, you should be okay. In my case I killed a laptop I put in a drawer. Software engineers got to learn about hardware sometime I suppose.

5 points

I don't have direct experience with optane. From what I understand you can run it as either a superfast storage drive or as slightly slower RAM, but in RAM mode you can have a ton of it.

So in your case you could effectively have 256 GB of RAM. That's probably the configuration I would run it in. That would give a ZFS ARC a lot of room to work with. It would effectively be caching FS metadata for you. I'm not sure if there's a way for ZFS to leverage the fact that optane is non-volatile, but if there was then that cash would persist between boots.

As for the raid level, a RAID-0 would let you utilize all of the space, but the data is stripped across both drives, so if part of one drive is corrupted then the corresponding data on the other one becomes corrupt too. If one disc becomes unreadable for whatever reason, then both your discs are unreadable. I do not recommend RAID-0. It doubles your risk of data loss because now either drive has the opportunity to fail. The extent of the loss will depend on the type of failure. It could be a few bits, orc be the whole drive.

With two drives I would run them in RAID-1, which actually doubles your read speed because the data is mirrored between the drives.

Personally I run all of my workstations in RAID-10, but that requires four drives.

1 points

Uhh, you can effectively raid with btrfs. In fact, it's far more flexible in terms of disk configuration.

The kernel issue is legal, not personal. I don't think hate is the reason.

Zfs has better scrubbing, monitoring, and the ARC/L2-ARC is a nice preference feature. But btrfs has more flexible raid-10 and raid-1 support. I use btrfs for SSD drives and sometimes HDD drives. I use zfs for read heavy HDD arrays.

10 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.