• 1 Post
  • 18 Comments
Joined 2 years ago
cake
Cake day: November 17th, 2022

help-circle








  • pezhore@lemmy.mltoSelfhosted@lemmy.worldSelf Hosting Fail
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 months ago

    I didn’t intend to use it on the chest freezer - it was mostly for the modem, but since I had spare battery capacity and outlets I thought what the heck.

    The power load is practically nothing until it cycles, and even then it’s fairly efficient - my current runtime is estimated to be about 18 hours, more than enough to come up with an alternative if we lose power in a storm.


  • pezhore@lemmy.mltoSelfhosted@lemmy.worldSelf Hosting Fail
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    15
    ·
    4 months ago

    While I appreciate the sentiment, most traditional VMs do not like to have their power killed (especially non-journaling file systems).

    Even crash consistent applications can be impacted if the underlying host fs is affected by power loss.

    I do think that backup are a valid suggestion here, provided that the backup is an interrupted by a power surge or loss.


  • pezhore@lemmy.mltoSelfhosted@lemmy.worldSelf Hosting Fail
    link
    fedilink
    English
    arrow-up
    19
    ·
    4 months ago

    I agree that 99.999% uptime is a pipedream for most home labs, but I personally think a UPS is worth it, if only to give yourself the option to gracefully shut down systems in the event of a power outage.

    Eventually, I’ll get a working script that checks the battery backup for mains power loss and handle the graceful shutdown for me, but right now that extra 10-15 minutes of battery backup is enough for a manual effort.


  • pezhore@lemmy.mltoSelfhosted@lemmy.worldSelf Hosting Fail
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    1
    ·
    4 months ago

    This is why I have about five of these bad boys: CyberPower CP1500PFCLCD.

    One is in my utility room for my cable modem and our chest freezer, three back up my homelab and wifi AP, and one is for my office.

    They’ve been bulletproof through storms, and when we’ve lost power, but not Internet I can’t keep on working.

    The big thing to look for is number of battery+surge outlets vs just surge outlets. Typically they top out at 1500VA - the more overhead for what you’re powering, the longer you can go without mains power.

    A screen/display is helpful for at-a-glance information like expected runtime, current output, etc.





  • I’ve switched over to using a publicly resolvable domain name, but with a lan prefix (e.g. lan.mystuff.dev) so that I can do DNS challenge let’s encrypt certs.

    Paired with PowerDNS that acts as an authority for the lan.mystuff.dev domain, I can go to a legit certificate/SSL protected https://sonarr.lan.mystuff.dev url. If I wanted to, I could add cloudflare records for the same services exposed through my router (Like for vpn.lan.mystuff.dev) so that both internal and external resolution is possible.




  • I can weigh in on this - I’ve been using my Steam Deck docked and in desktop mode for about 6 months. The os is read-only, but you can switch it to RW… but that’s the beginning of your troubles.

    1. The Steam repo mirror is woefully out of date, and occasionally while installing packages with AUR/pacman there will be an untrusted key (untrusted because it’s outdated) that prevents the package from being installed (or prerequisites from being installed)
    2. The base OS+games rapidly consumes the NVMe. You can get a 1 or 2TB replacement for hundreds of dollars, but that’s basically your only good option.
    3. Every so often, they’ll push an update that breaks your customizations - the OS goes RO again, your installed packages are deleted (but configuration files remain), meaning you have to do manual clean up before reinstalling.

    The latter got so bad, I ended up writing an Ansible playbook to make my recovery from upgrade easier: https://github.com/pezhore/steamdeck-developer

    That’s not including the annoyance of finding a monitor and dock (and charger) that will properly work with the deck.

    TL;DR - you can use the steam deck as a workstation, but it’s painful.