• 3 Posts
  • 8 Comments
Joined 1Y ago
cake
Cake day: Jun 13, 2023

help-circle
rss

It’s probably more than you are looking for but if you are already looking at self hosting things connected with NextCloud, use NextCloud Talk. We use it for the family and it is great.


Fair, my home office is a monument to too much free time, a hoarding habit for ewaste, and a wife who works weekends and overnights.


That is a self-made soldering kit box I made when I was in college and had to haul it around a lot. I have actually been meeting to replace it with something more permanent now that I’m a grown up with my own house. I have an air flow soldering rig which doesn’t really have a home, and I could have a much better use of space. I have my brocade ICX6610-24 next to that which I’ve been programming for way too long, and a whole bunch of 3D printer parts on top of that.



[Question] Is there a project to automatically act as a peer for a peertube channel?
Question is in the title, I am a fan of a channel and would like to automatically connect to the swarm and support the broadcast even if I am not watching live. I seem to remember a project that ran in docker and kind of acted like a cdn node for a channel, but I can't find it now. Anyone know of such a solution?
fedilink

Yes. Look here, the plan is per-device, and the capacity is unlimited: https://www.crashplan.com/pricing/ . I think the restore would be extremely painful, it’s not a fast pipe, but the bigger you go that’s gonna be an issue no matter what.


I don’t have the exactly solution for you, but I went through this a while ago and came up with using openLDAP for this. It’s not tidy at all, but it was a tremendous learning experience, and I documented it in 2 blog posts which may be interesting to you; I doubt you’ll want to do what I did, but it was informative and has worked flawlessly since. I documented some of the flaws I found in options I considered at the time:

https://www.surfrock66.com/my-experience-guide-setting-up-openldap-for-pc-webapp-authentication-on-ubuntu-20-04/

https://www.surfrock66.com/openldap-kerberos-and-sasl-my-experience-in-the-homelab/


I’m not an expert, but I’ve been using TrueNas Scale since I cut over from TrueNAS core, and before that Freenas, since about 2010. I have a bunch of lessons and assumptions, but someone can correct me if these are misguided, they’re my tl;dr of knowledge.

  1. Your data drives should be in sets of 3 for a raidz1, or 5+ (I use 6) for a raidz2. While technically the minimum is 2 or 4 respectively, best performance and protection comes in sets of 3. This is a good synopses: https://superuser.com/a/1058545 In that case he points out that a 3-way mirror also works but then you lose a lot of the data integrity checking that comes with ZFS. I keep an offline spare; in your situation putting 3 drives in with a RAIDZ1 and keeping one in the drawer would give you ~8TB of capacity protected against bit flipping and drive failure. This is a better description of the raid levels: https://calomel.org/zfs_raid_speed_capacity.html
  2. In terms of just storage, that system will be fine, though ideally you get ECC RAM; that’s often a bigger swap, so if you can’t change that, so be it. It does matter in terms of integrity checking. The more containers you run, the tougher it gets to spec out. I have a separate proxmox hypervisor and routinely have 4+ jellyfin streams going at a time, so it wouldn’t be enough in my case, but you’ll have to experiment and scale. I will say, even though a separate proxmox box comes with a lot of headaches, it was more important than any schooling I ever did in terms of my IT career. Networking, monitoring, access control, suddenly I have a solution to every IT problem I encounter and I have experience with it.
  3. Personally, I do a 2-disk mirror for the OS, and then multiple 3 or 6 disk vdevs for data. If you lose the OS drive and it’s just 1, that’s fine if you have backups to just restore, but I find swapping in a cheap ssd is better. I use cheap-as-dirt 64G SSD’s as the boot drives, and if one dies, you can swap it and replace it in the UI, no problem. You can technically use 2 mis-matched sized disks, but it’ll fuss at you.
  4. Start with TrueNAS Scale as just a storage device; ideally that needs to be close to the hardware and not virtualized. In the beginning, especially since you’re likely dealing with 1 pool, just make 1 vdev for everything. You can make folders in there, or datasets, and play with partitioning data, sharing data to other computers, etc. I use NFS sharing AND iscsi luns to my proxmox, and ultimately I’m in 1 big dataset with multiple vdevs in it. Add your things like homeassistant one at a time; going through it will show you how you sort storage, how you provision it, etc. Over time, things grow; this will not be your final configuration, most people expand over time. You may decide “I want bulk storage in one vdev, I want containers and vm’s in another.” When you expand, that’s when you split things off and make more nuanced decisions. That will come from better assessing your needs.

You mention Jellyfin…my struggles with that were never storage. My struggles there were networking; it was a big part of why I decided to upgrade my server networking to 10G, which supported running Jellyfin on another hypervisor and having all that go over the network.


What is the most affordable way to get into 10G networking?
I think I'm ready to elevate from bonded 1G networking to 10GB. I tend to have used/old netgear equipment at home, purchased on the cheap. I think I'm finally seeing enough latency when trying to run OS's on my proxmox server with storage on my TrueNAS that I want to move to 10G networking. Looking to replace my existing 12-port L3 switch (6 ports are occupied) with either RJ-45 or SFP based 10G, I think I will need realistically 16 ports. Storage will specifically be moved from my 48 port L2 witch with 4-1G bonds, carrying storage and networking, to probably 2 10G bonds dedicated to storage, which currently means I need an additional 6 ports right now, so 12 total used, then planning for future expansion, 16 port minimum. I've been crawling ebay, but the barrier to entry is way higher than my foray from unmanaged to managed networking. I keep landing on Netgear M4300, where the price ranges from about $1000-$2400. I can save up for these, but is there a better way to get into 10G? I've seen some HP Procurve switches that seem way more cost reasonable, but my networking peers have told me to completely stay away from HP networking. Any thoughts are appreciated!
fedilink

Crashplan can’t tell the difference between local folders and NFS mounts, and they have an unlimited size backup plan per device for like $10/month. I have 1 device with NFS mounts from many desktops and my Nas. About 9TB.


Lots. I have 2 proxmox hypervisors and 3 Raspberry Pi’s; my OS of choice for servers is Ubuntu Server or Raspbian.

  • ISC-DHCP-Server (DHCP)
  • Bind9 (DNS)
  • Pihole (pihole upstreams to bind9) (More DNS with ad and content blocking)
  • OpenLDAP (Directory)
  • Jellyfin (Media)
  • Nextcloud (General google drive replacement)
  • Vaultwarden (password Vault)
  • Asterisk (Phone)
  • EasyRSA Certificate Authority (Certificates)
  • Minecraft (Gaming!)
  • HomeAssistant (Home Automation)
  • Octoprint (3D Printing)
  • Shinobi (Security Cameras)
  • Multiple Apache Websites (Web)
  • Exim4 mail relay (Mail)

Experimental:

  • Photoprism (Photo Sharing)
  • tt-rss (RSS Reader)-