Live data from Hacker News

A modular, extensible DIY NAS

blog.georgovassilis.com

61–70 of 113 posts

Re: A modular, extensible DIY NAS

#61
post #33

Been building DIY NAS servers for 15 years for my personal use. ZFS with initially OpenSolaris, then FreeBSD. Typically 5 to 7 drives in raidz2. I found it very strange the guy is happy with & measured 100 Mbps throughput over the network. Any 2+ drive NAS from the last 5 years should be able to saturate a 1Gbps link.

Well, there is also the LUKS encryption overhead which caps transfer rates from the RAID. I also run boinc (giving back to the community) which limits available CPU.

Re: A modular, extensible DIY NAS

#62
post #46

Read "DIY NAS" and was thinking...sure a HP Mini and Freenas or pure FreeBSD or Xigmanas and what do i see, Ubuntu...but that's probably just because of the Bitcoin mining....with a Celeron... :)

I upgraded to a Xeon because of LUKS encryption; Celeron doesn't have hardware support for encryption. Indeed I run a computationally heavy workload - boinc with protein folding and TB prevention :)

Re: A modular, extensible DIY NAS

#63

Earlier quoted context omitted.

I don't think it is true: I have an almost silent gen8 and I'm not using the built-in raid

I checked with iLO and fan rotates at much lower speed with RAID configuration. I would be happy to run it without RAID, but it's too loud. I've found that solution on homeservers forum, so I guess, I'm not the only one.

I think they fixed that in a firmware upgrade.

Re: A modular, extensible DIY NAS

#64
post #48
post #17

Earlier quoted context omitted.

The whole point of the exercise is to have a device completely under your control. Closed source need not apply for security / trust reasons. Otherwise, e.g. Synology produces excellent devices, etc.

>Synology produces excellent devices, Sorry but had quite the opposite experience even with the professional lines. The only NAS i trust is a Server (at least HP mini server) and ZFS. Stuff like unraid is for Windows mindsets, i don't trust HW-Raid and i especially don't trust Closedsource Software BS for stuff like that, exceptions are Enterprise stuff like EVA's or NetApp and EMC.

Synology OS is a modified Linux and it uses mdraid for RAID. There is no hardware RAID, and very little closedsource bullshit.

This is how you'd mount a synology array in a Linux server: https://www.synology.com/en-us/knowledgebase/DSM/tutorial/St... - it's basically two terminal commands after all the preparation stuff.

I believe QNAP uses mdraid as well but I haven't had any experience with those.

Re: A modular, extensible DIY NAS

#65
post #6

I don't understand why anyone would do this instead of running FreeNAS. It comes with everything you need including ZFS pools.

Because you can't easily change the size of the disks one at a time. How would you migrate from 4 x 4TB to 4 x 6TB disks by buying one disk at a time?

You gradually replace one disk at a time, resilver then repeat. ZFS automates most or all the work mentioned in this article and it comes with built-in bitrot detection.

Btw I have run a NAS similar to this machine for 6 years now using FreeNAS. It’s awesome.

Re: A modular, extensible DIY NAS

#66

Earlier quoted context omitted.

You replace each disk in turn, then grow the pool, right? You don't get the increased capacity until you're done, but still workable.

Workable, but not the point. This is why I picked Synology as my nas. The Synology Hybrid Raid system let me just shove all my extra drives in the 4 bay NAS and still have parity protection. Then I just slowly upgraded all drives to the current money/capacity optimum one or two at a time. If I was made of money and could afford to upgrade all the drives in a pool in one go, I'd definitely go for ZFS too.

You don’t need to upgrade at once. You can upgrade gradually with the right config.

Re: A modular, extensible DIY NAS

#67
post #32

A NAS seems like a nice way to consolidate my photoalbums and have redundancy in terms of physical storage. But that whole cloud thingy is something I don't need, heck, I don't want! I would say that a good router is the way to go and I think I should replace the one my ISP has given me. Can anyone point me in the direction for a guide to a hardware router and appropriate firmware, so I can be sure to control what th…

[deleted]

Re: A modular, extensible DIY NAS

#68

Earlier quoted context omitted.

> Moral of the story: If you are depending on certain hardware features, you need to have a cold spare available with identical hardware and firmware. If you cannot afford one, it's better to either use a software implementation, have a really good service contract with the vendor or just let a VM provider take care of your infrastructure. +1 for this. Hardware raid absolutely has its place, but if you expect to be a…

> Also, RAID is not a backup. You are absolutely right, but there are use-cases where backup is too expensive, so investing into robustness and availability is the only option left.

Backups give you a third thing: immutability.

You can have a nice redundant storage for local performance and resilience, even geographic replication for resilience against a single site loss, but you need snapshots of some kind to protect against replicated destructive updates.

Re: A modular, extensible DIY NAS

#70
post #18

What is the point to run RAID6 on 4 drives, instead of RAID10? With both, half the space is usable, but with RAID10 read speed is twice as high, and resilvering is twice as fast. RAID6 makes sense for 5-8 drives.

Actually, according to recent testing by ArsTechinca [0] performance with RAID the topic is more complicated. The testing is focused on ZFS but, quoting from the conclusion: If you're looking for raw, unbridled performance it's hard to argue against a properly-tuned pool of ZFS mirrors. RAID10 is the fastest per-disk conventional RAID topology in all metrics, and ZFS mirrors beat it resoundingly—sometimes by an order…

A pool of mirrored pairs is effectively the ZFS equivalent of RAID10.

https://www.klennet.com/notes/2019-08-04-zfs-vs-RAID10.aspx

Post reply on HN