Comment by aftbit

Comment by aftbit 3 days ago

23 replies

I've been considering "de-enterprising" my home storage stack to save power and noise and gain something a bit more modular. Currently I'm running on an old NAS 1U machine that I bought on eBay for about $300, with a raidz2 of 12x 18TB drives. I have yet to find a good way to get nearly that much storage without going enterprise or spending an absolute fortune.

I'm always interested in these DIY NAS builds, but they also feel just an order of magnitude too small to me. How do you store ~100 TB of content with room to grow without a wide NAS? Archiving rarely used stuff out to individual pairs of disks could work, as could running some kind of cluster FS on cheap nodes (tinyminimicro, raspberry pi, framework laptop, etc) with 2 or 4x disks each off USB controllers. So far none of this seems to solve the problem that is solved quite elegantly by the 1U enterprise box... if only you don't look at the power bill.

scottlamb 3 days ago

> How do you store ~100 TB of content with room to grow without a wide NAS?

In the cloud (S3) or on offline (unpowered HDDs or tapes or optical media) I suppose. Most people just don't store that much content.

> So far none of this seems to solve the problem that is solved quite elegantly by the 1U enterprise box... if only you don't look at the power bill.

What kind of power bill are you talking about? I'd expect the drives to be about 10W each steady state (more when spinning up), so 180W. I'd expect a lower-power motherboard/CPU running near idle to be another 40W (or less). If you have a 90% efficient PSU, then maybe 250W in total.

If you're way more than that, you can probably swap out the old enterprisey motherboard/RAM/CPU/PSU for something more modern and do a lot better. Maybe in the same case.

I'm learning 1U is pretty unpleasant though. E.g. I tried an ASRock B650M-HDV/M.2 in a Supermicro CSE-813M. A standard IO panel is higher than 1U. If I remove the IO panel, the motherboard does fit...but the VRM heatsink also was high enough that the top case bows a bit when I put it on. I guess you can get smaller third party VRM heat sinks, but that's another thing to deal with. The CPU cooler options are limited (the Dynatron A42 works, but it's loud when the CPU draws a lot of power). 40mm case fans are also quite loud to move the required airflow. You can buy noctuas or whatever, but they won't really keep it cool. The ones that actually do spin very fast and so are very loud. You must have noticed this too, although maybe you have a spot for the machine where you don't hear the noise all the time.

I'm trying 2U now. I bought and am currently setting up an Innovision AS252-A06 chassis: 8 3.5" hot swap bays, 2U, 520mm depth. (Of course you can have a lot more drives if you go to 2.5" drives, give up hot swap, and/or have room for a deeper chassis.) Less worry about if stuff will fit, more room for airflow without noise.

  • master_crab 2 days ago

    2U is definitely better, but I didn’t notice significant drops in dB till I could stuff a 120mm fan in the case. That requires a 3U or more.

    And if you need a good fan that’s quiet enough for the CPU, you’re looking at 4U. Otherwise, you’ll need AIOs hooked up to the aforementioned 120s.

    • scottlamb 2 days ago

      > And if you need a good fan that’s quiet enough for the CPU, you’re looking at 4U.

      Depends on the CPU, I imagine. I'm using one with a 65W TDP. I'm hopeful that I can cool that quietly with air in 2U, without having to nerf it with lower BIOS settings. Many NASs have even lower power CPUs like the Intel N97 and friends.

      • master_crab 2 days ago

        Oh yes, you can definitely get away with much less for something like that or an ARM, Ryzen embedded chips, etc. The 4U is more for full scale desktop CPUs like the i9-12900k I am running (like an NH-D15 sink/fan). You may even be able to get away with passive cooling at the 65W range.

        • scottlamb 15 hours ago

          > You may even be able to get away with passive cooling at the 65W range.

          I saw there's a "passive" Dynatron A43, which even claims to handle up to 155W. My understanding is that most/all server motherboards will have the socket oriented so the fins are front-to-back and the RAM is off to the side. And then you have chassis fans blowing air front-to-back, so I think they basically double as the CPU fan. (Which is also what the older motherboard that came in my CSE-813M did.) I air-quoted passive because I think it needs those chassis fans, but there's not one on the CPU anyway. And I'm not sure I completely trust the A43's rating, but with this setup I think it'd be fine for my 65 W TDP CPU at least.

          On the other hand, I'm using a cheap gaming motherboard with fins sideways, RAM blocking the front-to-back airflow. My gut says that Dynatron A43 wouldn't do well. I don't understand why this orientation is desirable for desktops; my conspiracy theorist side says they make the consumers ones this way so they won't eat into the rack-mounted server market share. I am kinda tempted to get a server motherboard for this and IPMI (and/or at least serial port-accessible BIOS), but I started by looking at budget NASes and things have already spiraled a bit from there.

dragontamer 3 days ago

I have to imagine that the best NAS build is simply a 6-core or 8-core standard AMD or Intel with a few HBA controllers and maybe 10Gbit SPF+ fiber or something.

"Old server hardware" for $300 is a bit of a variation, in that you're just buying something from 5 years ago so that its cheaper. But if you want to improve power-efficiency, buy a CPU from today rather than an old one.

--------

IIRC, the "5 year old used market" for servers is particularly good because many datacenters and companies opt for a ~5-year upgrade cycle. That means 5-year-old equipment is always being sold off at incredible rates.

Any 5-year-old server will obviously have all the features you need for a NAS (likely excellent connectivity, expandibility, BMS, physical space, etc. etc.). Just you have to put up with power-efficiency specs of 5 years ago.

  • asmor 2 days ago

    For AMD Zen, they have power consumption overhead on all chiplet designs, even if the chip only has one core complex, the separate IO die makes it hard to get idle power consumption under 30W.

    Usually the chips with explicitly integrated GPUs (G-suffix, or laptop chips) are monolithic and can hit 10W or lower.

  • hypercube33 2 days ago

    Dell R500 series is very good for dense storage at low costs if you lean to SATA or NL-SAS

_kb 2 days ago

There's a bit of a trend of vendors packaging mobile CPUs in desktop form factor which are a good candidate for this. Rather than the prebuilt mini PCs this also includes mini-ITX boards. Personally I use the Minisforum BD795i SE, but there are others too.

Check for PCIe bifurcation support. If that's there you can pop in a PCIe to quad M.2 adapter. That will split a PCIe x16 slot into 4 x M.2s. Each of those (and the M.2s already on the motherboard) can then be loaded with either an NVMe drive or an M.2 to SATA adapter, with each adapter providing 6 x SATA ports. That setup gives a lot of flexibility to build out a fairly extensive storage array with both NVMe and spinning platters and no USB in sight.

As a nice side effect of the honestly bonkers amount of compute in those boards there's also plenty of capacity to run other VM workloads on the same metal which lets a lot of the storage access happen locally rather than over the network. For me, that means the on-board 2.5GbE NIC is more than fine, but if not you can also load a M.2 to 10GbE adapter(s) as needed.

  • aftbit 2 days ago

    This sounds like a really nice setup. Which M.2 to SATA adapters are you using? I've heard some of those are dodgy and others are alright.

    • _kb a day ago

      I don’t at the moment. This setup is new and my current hot storage needs are pretty minimal so I’m all in on NVMe. When that changes though thats the expansion plan. ASM1166 based boards seem to be an ok choice, but don’t have any personal recs there (yet).

    • toast0 2 days ago

      I've not used any of them, but from my shopping some of them are multiport SATA adapters, and some of them are a single port SATA adapter plus a SATA port multiplier. I would expect the port multiplier variants to be dodgier.

adrian_b 2 days ago

If you want instant access to any bit of the 100 TB content, you need a wide NAS.

Otherwise, you can have a couple of HDD racks in which you can insert HDDs when needed (SATA allows live insertion and extraction, like USB).

Then you have an unlimited amount of offline storage, which can be accessed in a minute by swapping HDDs. You can keep an index of all files stored offline on the SSD of your PC, for easy searches without access to HDDs. The index should have all relevant metadata, including content hashes, for file integrity verification and for duplicate files identification.

Having 2 HDD racks instead of just 1 allows direct copies between HDDs and doubles the capacity accessible without swapping HDDs. Adding more than 2 adds little benefit. Moreover, some otherwise suitable MBs have only 2 SATA connectors.

Or else you can use an LTO drive, which is a very steep initial investment, but its cost is recovered after a few hundred TB by the much cheaper magnetic tapes.

Tapes have a worse access time, of the order of one minute after tape insertion, but they have much higher sequential transfer speeds than cheap SATA HDDs. Thus for retrieving big archive files or movies they save time. Transfers from magnetic tape must be done either directly to an NVME SSD or to an NVME SSD through Ethernet of 10 Gb/s or faster, otherwise their intrinsic transfer speed will not be reached.

cerved 2 days ago
  • hypercube33 2 days ago

    I'd really dig a version of this with a Ryzen AI chip and 128gb of ram.

    I'm moving to Lenovo tiny m75q series for now due to low idle power and heat generated.

    • cerved 2 days ago

      How much TDP and does it have 8+ sata with 10Gbe?

toast0 3 days ago

If you want 100TB, you need a bigger NAS than most, and that makes most of the DIY NAS not so good. 2-4 drives seems to be where DIY shines. These days motherboards often stop at 4x sata, so you'll need a HBA or USB (eww).

Personally, I just don't have that much data, 24TB mirrored for important data is probably enough, and I have my old mirror set avaialable for media like recorded tv and maybe dvds and blu-rays if I can figure out a way to play them that I like better than just putting the discs in the machine.

  • asmor 2 days ago

    We run 48TB (after redundancy, 3 striped mirrors) over a USB enclosure (TerraMaster D6-320) and it's honestly not as bad as people say. The only failure this system experienced in the past few years was due to noisy power causing a reset, and the ZFS root (not the data pool) becoming read only due to a write hole caused by a consumer NVMe (Crucial P3 Plus) lying about being synced (who could've expected that).

behringer 2 days ago

A fortune? I'm getting 14tb SAS drives "recertified" on ebay for 150usd. Substantially less than most other sources of hard drives.

Depending on your drive enclosure it should also be able to power down drives that aren't actively being used.

Recertified/used enterprise equipment is the only way to affordably host 100s of terabytes at home.

throawayonthe 2 days ago

check out the Jonsbo N5 NAS case, you can toss 12 drives and a low power mITX motherboard (see sibling comments) in it for a cheap-ish neat-ish box with a not-proprietary upgrade path

willis936 2 days ago

Uhh could you provide a hook for such a deal? I've been starving for more storage and can now handle a rack mounted system but have been avoiding dropping $1000 on a pair of new hard drives.

  • serf 2 days ago

    I just missed an ebay opportunity to get a dell r730xd with 12x 12tb drives for around 400 dollars.

    if you're willing to wait and bid-snipe you can find deals like that routinely; just wait to find one with the size drives you want.

    if you just need the drives similar lot sales are available for high power-on time zero errors enterprise drives. I bought a lot of 6x 6tb drives two weeks ago for 120 usd and they all worked fine. If you have the bay space and a software solutuon that lets you swap them in and out as needed without distorting data then there is a lot of 'hobby fun' to be had with managing a storage rack.

    • willis936 2 days ago

      I have a a case with several 3.5" bays and a truenas server happily running. I've been running an all-flash array because I had a bright-eyed vision of the future. At this point a very cheap pile of unreliable spinning rust is exactly what I need. Thanks for the tips.