[-] Ziip_dev@alien.top 1 points 11 months ago

Yeah you're right, that's why I was imagining putting only the parity bits on the SATA drive, so ZFS can do it's calculation after I'm done with my data operations on the NVMes. Guess I'll have to dig deeper in TrueNAS and ZFS config :)

[-] Ziip_dev@alien.top 1 points 11 months ago

Didn't think that way around but this can probably work pretty well :) What about the remaining space on the SSD then? May it be partitioned so I have 3x2TB with 2x2TB of NVMes and parity on the 2TB SATA SSD?

1
submitted 11 months ago by Ziip_dev@alien.top to c/homelab@selfhosted.forum

I have a Beelink EQ12 Pro where I can put a total of 2x2TB NVMe SSDs + 1x4TB SATA SSD (not sure if more is feasible according to Beelink's description but it is enough for me right now).

I'd like a configuration where I can lose and replace one drive without breaking anything, hotswap not needed. What would be an adapted strategy for that in terms of drive capacity, partitioning and ZFS pool? 3x2TB even if two are M.2 NVMe and one is SATA? 2x2TB + 1x4TB? Something else?

1
submitted 11 months ago by Ziip_dev@alien.top to c/homelab@selfhosted.forum

Okay, since my last posts and the help you provided me I have been learning and designing my first home lab that I want to be minimalist, capable and efficient. I think this is the closest thing that will fulfill my needs (and the needs of a lot of beginner's small home labs that I have read about around here).

I still need your expertise on some points to complete everything, so please keep reading :)

My hope is to produce a second version of this diagram later that could help beginners to visualise what their first step in the homelabing world could resemble.

A lot of inspiration is taken from this blog article to get the most out of a mini pc. I know some questions of mine might have been, at least partially, already answered, so please feel free to point me to the interesting stuff I missed.

Questions (general):

  • Do you guys see a major hiccup with my design?
  • I selected TrueNAS Scale because I will be using containers first alongside one or two specific VMs. Any other open source OS I missed that I should consider over TrueNAS Scale? Would Cockpit be useful here?

Questions (blue circles):

  1. From r/homelab wiki, the U6 Lite is recommended for wifi access point. Is this still up to date? What should I also look to with a ~$100 budget?
  2. What should I consider if I virtualise the router? What option do I have to preserve internet access in case of failure? (no HA needs here, just want to avoid fixing things up over my phone network in the middle of the night). What would be a nice way to use VLANs in my case (if even needed)?
  3. Is there any specific thing to configure so containers can access NAS storage for their data?
  4. What would be a good ZFS strategy regarding internal drives? As described in the diagram, I can put in a total of 2x2TB NVMe SSDs + 1x4TB SATA SSD (matching Beelink's description, not sure if more is feasible but it is enough for me right now). I'd like a configuration that allow me to lose and replace one drive without breaking anything, hotswap not needed.
  5. How would you backup that config in case of hardware failure or 2 drives lost? Full duplicate on external drives? Only OS /containers config + NAS data?
  6. Subsequent question, what external drive would you use regarding the chosen backup strategy? A remote backup is planned as well.
  7. Each PC will have its own backup drive. In addition, how can I use that little server to backup home PCs too? (not sure if I'm aiming for real time or periodical backups here, probably the second).

Thank you very much for your time, I really value your feedback on my design here, so please do not hesitate to ask for more information if I have missed anything, or give constructive feedback (even on my diagram, I know this is not the conventional way diagrams are represented here, but I tried to mix both hardware and software logic so it is clearer for beginners).

https://preview.redd.it/a3x3d8fhax2c1.png?width=5088&format=png&auto=webp&s=3ade8d92f671c8e95105ad5b03b00b5d16563fde

Ziip_dev

joined 1 year ago