• 3 posts
  • 33 comments
Joined 2 years ago
Cake day: January 25th, 2025

Hi folks,

My small homelab (if it even qualifies as such) currently has a separate NAS host running TrueNAS CE and an additional Proxmox VE host. I want to set up Proxmox Backup Server and ultimately feed the backups to my TrueNAS, but I’m trying to figure out the best way to do so. I know the official guide suggests a whole separate machine (so a third host), but I’d prefer to not have to buy more hardware and keep it running 24/7 if I can avoid it (though if it is really critical I could probably get a little N150 box if it was strictly necessary, but this feels like a little much).

I am also considering virtualizing PBS on Proxmox itself, but it seems like either option is not ideal. For LXCs, it seems like trying to create a stable NFS share out to the TrueNAS system means I’d have to go with a privileged LXC vs. an unprivileged one (though I’d be happy to be wrong on that if folks have other experience with it), but of course this gives root access to the host itself. Alternatively, if I go with a VM, I’d heard that there are sometimes recursion issues where PBS ends up attempting to back up all VMs, including the VM that contains it, which leads to instability and just overall not having a great time.

As another alternative, I suppose I could pick up an NVMe and try to run PBS as an app on TrueNAS itself (but my understanding is that PBS is snappier when backups are on the same host and then pushed out via NFS afterward)?

Before I rip too much of my hair out, I figured I’d try to crowdsource and see how more experienced folks are approaching this. Thanks very much!

Troubleshooting TrueNAS CE Failure

English Removed by mod

Hi all,

I am 99% sure based on the output I got on console that my new NVMe boot drive for TrueNAS is already failing, but wanted to see if any folks here that had more experienced could confirm. Select output:

[3655, 622714] nvme nvme0: Device not ready; aborting initialization. CSTS=0X0 [3655,623601] nvme nvme0: Disabling device after reset failure -19 [3655,646704] I/O error, dev nvme0n1, sector 89179528 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0 [3655,646711] zio= pool=boot-pool vdev=dev/nvme0n1p3 error=5 type=2 offset=45119897600 size=4096 flags=3162240 [...] [3691,246702] WARNING: Pool 'boot-pool' has encountered an uncorrectable I/O failure and has been suspended

The system would seemingly work fine after booting for a variable amount of time, and then suddenly I would no longer be able to log in through WebUI or SSH. Lesson learned about not testing NVMe drives (though I’d love any advice on the procedure for doing so. Procedure for HDDs seems to be relatively settled: SMART long test and then badblocks, but I think when I tried a SMART test on the NVMe it wasn’t supported.)

Also, if anyone has had experiences (good or bad) with NVMe manufacturers, I’d love to hear them. This was a Patriot drive, and I suspect I should spring for a Samsung Pro or EVO if I want to have a better time the next go around, but curious if my gut is right on that. Thanks so much!

  • Thanks for this! I guess that settles my case deliberation at least. But man, getting all the things you mentioned for $170 on eBay is crazy good!!! I must just really need to dig in there a bit deeper (it’s gonna be too easy to go broke with home networking as a hobby otherwise lol). I guess so long as I am memtesting my RAM and burning in drives right after getting them I should be okay. I think I also am overindexing on trying to get my power draw as low as possible instead of really doing the math out and seeing how long I’d need to be running something 24/7 before the power savings ends up outweighing the price differential. But thanks again!

  • Thank you! The case rec is super helpful actually, I was considering the Fractal Design Define R5 (though I wasn’t sure how to feel about potentially spending the same amount on my motherboard as my case, but people seem to swear by it), so it’s great to have confirmation they’re actually worth it. I had given PC Part Picker a shot, but it seems like it doesn’t quite catch the ECC memory support for some of the AMD systems (maybe because they’re unofficial?) I will give it another shot though, and thanks again!

Help Selecting DIY NAS Hardware?

English Removed by mod

tl;dr

I feel like I’m losing my mind trying to find cheap NAS hardware for a TrueNAS Scale setup. Maybe my reqs are too much? I was hoping for:

  • Dual m.2 for mirrored boot
  • ECC support
  • 6 SATA ports (ideally on the motherboard, but would consider HBA; all ports should be useable with both m.2 slots populated)
  • At least 2.5 Gbps NIC (though ideally just having a PCIe slot to plug in a 10 Gbps NIC would be great)

Has anyone had experience finding something that meets these reqs and is relatively low power without blowing their budget?


Longer version:

Hi everyone,

Thanks so much to everyone who was able to give me some guidance on my earlier posts. After building out my networking backbone around a Protectli box running OPNsense, I have been working to try to build out some relatively low power machines for storage and compute respectively (TrueNAS Scale on one and Proxmox on the other).

On the Proxmox front, I went a little crazy and grabbed the Asus NUC 14 Pro with the Ultra 5 125H (plus a stupid 96 GB of DDR5), which I think is actually going to be way overkill for my needs, and might still end up returning for something cheaper, we’ll see.

But on the TrueNAS front, I feel like I’ve been banging my head against the wall for at least a couple of weeks. Wanting ECC support has meant that I’d been leaning toward a Ryzen system (which apparently are actually reasonably performant on idle power draw, especially after the crashing at idle bug got patched in BIOS a few years ago). I’d been leaning specifically toward the B550 chipset, but after checking at least a dozen motherboards, I have yet to find one that actually meets the criteria above (several of them, like the ROG Strix B550F and the B550 PG Riptide seem like they meet all the requirements, until you realize populating the second m.2 slot disables two of the SATA ports; the closet I’d thought I’d come was the B550 A PRO, which looked perfect until I realized in the fine print that the board doesn’t actually support ECC (WHY MSI???).

Even I’d found the perfect B550 mobo, I was also still playing around with cost vs. power efficiency on the CPU side (guides I’ve seen recommend the Ryzen 5 4650G, but they feel a little expensive for what they are; I’d also been considering the 5750GE, the 4350G, but then the 4100 was also extremely cheap). Apparently some of these have a decent idle power draw, though it’s been hard to find anything concrete (I just have seen that chiplet tends to be worse than the monolith design).

Minus the lack of ECC support, there’s some really attractive NAS boards running either the N100, N150, or N305 that seem promising, but I am (probably unreasonably) being a stickler on the ECC criteria (if I weren’t I would totally be interested in one of the HKUXCR boards that have on board 10 Gbps and 6 SATA ports on an N100). And if I were to break the rule on ECC support, at that point should I just seriously consider trying to connect a bunch of drives to my NUC via Thunderbolt and then virtualize TrueNAS? I had been pretty firmly recruited to the camp of “separate compute and storage so that when you inevitably screw up something on Proxmox you don’t lose all your storage” but there’s definitely benefits in upfront cost and power savings to just doing one thing.

I feel like I must be shopping for things wrong. I’ve been a little more hesitant about used hardware than I probably should be, mostly because I know that (at least currently) if I’ve screwed anything up (or if anything I bought was already screwed up) I can still return it relatively easily. Ebay seems like some of its refurbished items now use some sort of autowarranty through Allstate, but some quick searching seemed to indicate that they’re a bit of a hassle to deal with and you have to go back and forth several times before actually getting a reasonable response.

Any tips any of y’all have on finding good value parts without driving yourselves crazy? Is this just something that comes with more time? Anything else I mentioned that seems like a glaring issue that I haven’t realized?

Oh, realizing budget might be helpful, but I would love to see if I could find something at was like max $400~500 USD if not less if possible all in (minus the HDDs). As it is, I was planning on starting with 4x 14 TB drives and then keeping the same hardware and expanding my VDEV as I need more space, and those alone are like $1k new or (more likely, what I’ll go for) like $600 (though used HDDs also make me nervous, but I don’t know if I can justify the $400 difference). But maybe I’m stupid for forcing the 6 SATA ports if I am only going to be populating 4 to start with.

Thank you anyone who actually reads through this obnoxious text wall, and extremely grateful for any thoughts!—

  • No I think we’re aligned! I am not trying to say the “build literally everything” from scratch is a viable alternative. You could go all the way down the rabbit hole of building a compiler, your own programming language, a smelter to refine the metals you need to try to cobble together your own hardware. But of course that is not realistic, which was what I was trying to get at in my comment. Basically, given that it is not feasible to do everything by yourself, at some point it seems you have to decide to trust something to be a functional human and not devolve into solipsism. So the question I am asking is, what are your own evaluations of what is trustworthy? Do you trust coreboot more than AMI? Protectli versus Qotom? It seems to me that we have to make these sorts of evaluations, versus believing that because there is some risk to everything that those risks are all equal. Apologies if I am not being clear though.

  • Thanks so much for sharing this! I think reading through it helps refocus the question I guess I should have asked, which is “Which vendors do people trust more in practice, recognizing that at some point recursive paranoia has to end unless one has the time and skill to try to build literally everything on their own?” And as a question of probabilities, it feels a bit more manageable to try to make a call and move on. I’m sort of thinking of this thread as a way for me to calibrate my current probability estimates with people who know more than I do and have likely thought about this question more than I have. But the reminder that there isn’t really going to be any certainty regardless of what I decide is well-taken.

  • Yes, I’m US-based, and you make a great point that it’s not as though US brands are inherently trustworthy either. That’s why I’m leaning towards an open source (or as open source as possible) firmware, with the understanding that we’re stuck with some proprietary blobs at the moment. I suppose I am thinking about it more from a harm reduction lens versus trying to find a bullet-proof solution.

Tl;dr

Very new to home networking, but planning to get some hardware to run OPNsense bare metal to replace my ISP all-in-one.

Requirements: AES-NI support, Intel NICs, supports coreboot, can handle Wireguard both to connect out to my VPN provider and also to allow me to connect back to services at home

Nice to haves: 2.5+ Gbps NICs, resources to support an IPS like Snort or Suricata.

Questions:

  • Are people still using cheap AliExpress hardware despite potential security risks?
  • If so, do you reflash your firmware? Are you comfortable counting on a script like Flashli, or do you use something like SPI?
  • Would you still reflash your firmware even from a more trusted vendor, like Protectli or Deciso?
  • What is a reasonable amount to spend on reasonable router hardware?

Some Options I’ve Seen Recommended/Am Considering:

  • Protectli Vault Pro VP2420-4 (but open to other Protectli suggestions)
  • AliExpress N100/N305 machines (though of course with the aforementioned security concerns)
  • Used Thinkcenter M720q (though not sure how the power efficiency compares)

Thanks so much to anyone who takes the time to post your thoughts, I’m extremely grateful!


Hi everyone,

Thanks so much again to those of you who left your thoughts on my thread a month or so ago. Progress on my NAS still continues at a glacial pace (mostly because I want ECC support and an iGPU that supports AV1 decoding on the same machine, but building around the W680 is a little pricey; in fact, might end up considering adding an A380 for AV1 support instead to open up some other options, but that’s a story for a different thread). But I am reaching out now because in the interim I’ve been trying to make progress on some more fundamental network infrastructure while I am figuring out plans for the bigger systems. Of course, even that turned into a bigger project than planned, which is why I am back to get some of your insights.

Just for folks who didn’t see my other thread, I am definitely a home networking noob generally, but am trying to build out my whole home network. In terms of the router hardware I am hoping to get, at minimum it would need AES-NI support and Intel NICs vs. Realtek, as well as support for coreboot for peace of mind (in an ideal world, even libreboot, but my understanding is basically no hardware released within a decade or more would allow that to run). At least 2.5 Gbps throughput would be nice, but not essential. Likely will be paired with a switch, so I’m also not overly concerned about port count (though maybe just for starting out 4 ports would be ideal and I can add in a PoE switch later).

In terms of planned use, I want to use Wireguard both to connect out to my VPN provider and also to allow me to connect back to services at home, as well as a few VLANs. Support for IPS like Snort or Suricata would be a plus, but it seems they can be resource intensive and I’m not currently thinking of them as a necessity.

A lot of resources I’ve seen suggested just grabbing a cheap machine off Amazon or AliExpress is the most cost-effective way to go, but it seems like there are some legitimate security concerns going that route. Are people still buying some of the cheaper AliExpress (e.g. Qotom, Topton, Cwwk) N100/N305 machines for their routers, even with concerns about backdoors (like Horse Shell in TP-Link firmware)? Are you reflashing firmware if you do so (and if you are, are you doing it through SPI vs. a script like Flashli)?

I’m the furthest thing from an expert, but just from a bit of poking around it seemed like if one wanted to reflash firmware in a 0 trust way, it looks like you’d need to either use SPI or JTAG vs. trying to do it through a script (and of course you’d need to take into account whether Boot Guard is enabled).

Would you reserve this treatment just for no-name router brands or would you reflash firmware the same way if you bought from a more trustworthy source like Protectli or even Deciso? Personally, my threat model (just trying to take back some privacy and control over my tech and not trying to stand single-handedly against the NSA) and current (low) skill level make me think I should just opt for a Protectli box that I know will work with coreboot (like the VP2420-4) and then move on with my life, but spending $300-$400 on a router seems like a lot (and perhaps I am robbing myself of the joy of having to figure out how SPI works).

Thanks so much for your thoughts! I remain extremely grateful to have the opportunity to tap into all of your collective wisdom (and hopefully at least save myself a few lessons learned the hard way). As long as its not obnoxious, I am also happy to share my progress and learning as I go in case it can save some time for other folks just starting out. Thanks again!

  • This is exactly the sort of tradeoff I was wondering about, thank you so much for mentioning this. I think ultimately I would probably align with you in prioritizing answer quality over context length (but it sure would be nice to have both!!) I think my plan for now based on some of the other comments is to go ahead with the NAS build and keep my eyes peeled for any GPU deals in the meantime (though honestly I am not holding my breath). Once I’ve proved to myself I can something stable without burning the house down, I’ll on something more powerful for the localLLM. Thanks again for sharing!