• 0 Posts
  • 11 Comments
Joined 1 year ago
cake
Cake day: October 7th, 2023

help-circle

  • The BTRFS thing is cutting the power or losing the disks in the middle of a write which corrupts your data. If you don’t think that will be a problem then BTRFS is fine. I recommend ZFS personally, but it sounds like you want to use mdadm instead so basically anything will work.

    If you might need to shrink your filesystem later then avoid XFS. EXT4 is relatively featureless but ol’ reliable. ZFS is good for long term data integrity and protection. BTRFS is similar to ZFS. BcacheFS is new but like a swirl of EXT4 and BTRFS. Just pick the one with the features you want.



  • Give webtop a try? Granted I haven’t tried anything heavy on it, but it’s been performant enough for me. Here’s a compose file if it stays formatted correctly:

    services:
      webtop:
        image: lscr.io/linuxserver/webtop:latest # alpine - xfce
        # other tags with different bases and desktops: https://github.com/linuxserver/docker-webtop
        container_name: webtop
        #security_opt:
        #  - seccomp:unconfined #optional
        environment:
          - PUID=1000
          - PGID=1000
          - TZ=America/Los_Angeles
          - TITLE=my_desktop #optional
        volumes:
          - config:/config
          #- /var/run/docker.sock:/var/run/docker.sock #optional
        ports:
          - 3000:3000
          - 3001:3001
        restart: unless-stopped
    volumes:
      config: {}
    networks: {}
    


  • First and foremost, backups. Back up everything and back up often. Immutability can’t do anything for critical hardware failure.

    Issues happening on something only running container workloads isn’t common but I think it’s worth the extra little effort to reduce the risk even further. Fedora CoreOS or Flatcar is ideal since its declarative nature makes it easily reproducible. Fedora IOT can get you there too, but it doesn’t use ignition so you’ll be setting the server up manually.

    Immutability is good. Declarative configuration is good. Manage cattle, not a pet.