• 1 Post
  • 13 Comments
Joined 3 years ago
cake
Cake day: July 29th, 2023

help-circle
  • In my experience, RAID 5 has always been poor performance, and at RAID 50 you’re better off just using ZFS.

    ZFS’s killer feature (aside from RAIDZ) is silent data corruption protection, which is why its preferred for large pools with many drives or anywhere where data resiliency needs to be very high.

    The key here is the pool size, ZFS is only worth running if you have a sizable amount of drives and the system resources (RAM mostly) to run it.

    You can run it on a cheap homelab server, and people do, but I wouldn’t recommend it unless you only use it for storage and you get more drives for RAIDZ.

    Otherwise, the cheapo method of getting better data resiliency without performance loss is RAID 10 (Or in your case, RAID 1). That’s my default for any consumer grade drives. The cost of half the usable space is just worth the level of protection you get from a drive failure, especially when you’re on a budget (still much cheaper per TB than buying some beefy SAS drives and doing RAIDZ).

    Make it a RAID 1 and chuck XFS on it for some corruption protection (or BTRFS, or ext4).


    Also, make sure you use smartctl and even consider making a script that runs a test monthly and saves the results somewhere easy. Start a long test of your drives and check the output later (take a couple of hours to a day) to see if it found any errors and look at the error counter stats. A failing drive will have a lot of errors stacked up in the counter, and a failed drive is if the long test fails.


  • I remember the good old days when snake ass Google pretended to care by making all their data centers powered by renewables because it was cheaper to build a hydrodam for the datacenter than to take power from the existing grid.

    Then AI “hyperscaling” rolled in which is literally just a fancy term for “how fast can we build each data center by cutting as many corners as possible”.

    Water consumption by data center should be a rounding error and yet here we are in 2026 where data centers are using fresh water like a broken fire hydrant and running on legacy coal power.

    Coal.

    in 2026.

    Even the dumbest of SimCity players could have done better than this.








  • I’ll have to find the post again (it was somewhere here on Lemmy) but UFW does not apply to docker containers.

    Docker bypasses UFW because it uses iptables and UFW doesn’t support firewall zones.

    Any docker/podman ports not bound to localhost will be publicly accessible even if you have a block rule on UFW.

    There are some wacky script workarounds but the real solution is to install & use a proper firewall like firewalld (firewall-cmd command) and not the joke utilities of Canonical/Ubuntu (ufw, netplan, etc).

    At which point you might as well chuck Ubuntu into the trash since you’d be replacing a bunch if its defaults anyway, and just stick with Debian or another quality stable distro like OpenSUSE.




  • I need a big OEM to pick up PostmarketOS Nura and throw development resources at it to use it mainline like how Valve put time and money into gaming on Linux.

    All the Chinese OEMs still use a downstream Android fork to retain full compatibility with Google’s stupid ideas. We already have Waydroid and Lepton because Android ultimately runs on Linux anyway, you just need to supply APKs with the Android environment.


  • No, don’t listen to the BSD elitists unless you want to take a dive into BSD.

    People who say BSD is superior are the people who read man pages for fun without throwing in some text color or extra functionality because god forbid a QOL bash script with a GNU license touches their precious BSD licensed software stack.

    They will also slowly drag you into Plan 9 or GNU Hurd (yes even despite it being GNU license) hell, which they will insist is the future of all operating systems.