• 0 Posts
  • 100 Comments
Joined 3 years ago
cake
Cake day: June 12th, 2023

help-circle



  • I’ve been wrestling with this issue myself recently.

    There can be both performance and other issues with a db whose data files are on nfs. That said I’ve done this for years without any real problem. No db corruption so far - but it’s a possibility and I’ve probably been lucky. I have good backups just in case.

    Like you I also don’t want to maintain a “pet” database on my file server. I want to spin up databases in kubernetes pods and not use local pod storage.

    I’ve been investigating using iSCSI instead. It’s “block level” rather than “file level” and performs better with a database. Also none of the locking issues mentioned. It’s a recommended way to do remote storage for a db.

    The downside is that it’s less resilient to the file server becoming unavailable.

    Might be worth investigating for you as well - I’ll be performing some poc tests to figure out how much of a pain it may be (I don’t want to need to fsck a bunch of targets after a file server reboot).






  • Both extremes are absolutely maddening here. I’m getting as sick of the anti-AI crowd as I am the vibe-code-tech-bros. At this point you could just put them all in a sack and start hitting them with sticks and wouldn’t care who got the worst of it.

    There’s a definite middle-ground here. Linus is one of the ultimate pragmatists and it shows here. It was helpful - so he used it. It helped you so you used it. I’ve found it to be incredibly helpful so I use it.

    Not all usages are equal just as all hand-written code is not equal. There are good ways to use these tools and bad ways. But the tools themselves are still just tools.


  • It’s a bit more interesting than that…

    Linux, unlike Windows, will let you delete a file that is actively in use. It removes the reference on the file system but the contents of the file won’t be deleted until all file pointers to it close. In fact it will still be seen as taking up disk space until it’s garbage collected (deleting a large file that’s in use can be frustrating).

    So the file is actually still available to that running process. If you replace it with a new executable and run that then you get the new version.








  • Yes, but some do things better than others.

    Ehhhhhh, kinda. “better” is highly subjective. Distros are “bundles of software” and a philosophy about how things are installed / when they are installed / what their default settings are / etc.

    A lot of people, especially newbs and less technical folks, grossly misunderstand what those differences are and what they mean.

    CachyOS is btrfs by default, and does btrfs better than most.

    Bullshit. Not that it’s btrfs by default but that it does it “better” than anyone else is ridiculous. It uses the same kernel driver and user-land tools as my Pop_OS install which is based on Ubuntu 24.04 and which, believe it or not, is running btrfs just fine.

    Btrfs is a bit more complex than your vanilla ext4

    Kid - I remember when ext4 was released. Very exciting to have a journaling filesystem at the time…

    Bazzite excels at gaming related things. Alpine at lightweight stuff, Nix at inmutability, etc…

    “excels” at meaning “has steam installed by default” and “makes nvidia drivers easier to install” you mean.

    My Pop_OS laptop runs game just fine.

    All these distros with their various design goals and bundled packages are variations on a theme. Like different Lego sets that include parts from a common box. But when you use the “btrfs” block you use the same one everyone else does.

    And none of them will deal gracefully with a failing disk that the OS has been told not to ignore errors on.




  • I hate when people here complain of “bloat” since often it just means “there’s this one thing I don’t use and it irrationally offends me by its existence”.

    You can uninstall just about anything you don’t want. So very much not like Windows in that regard.

    Are you running out of space? Out of memory? Or simply offended that some functionality you don’t like exists?