• 1 Post
  • 35 Comments
Joined 3 years ago
cake
Cake day: June 12th, 2023

help-circle






  • Cenzorrll@lemmy.worldOPtoSelfhosted@lemmy.world•LVM question
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    I try keep my data drives and boot drives separate on my servers, I make sure I can rebuild the server relatively easily so no matter what happens I can get back up and running. In my research on LVMs I wasn’t seeing anything saying you could just move the drives to a new setup, that you had to export and import first. In the case of a suddenly dead boot drive, I wouldn’t be able to do that. I did see some steps for backing up an LVMs metadata and recovering from that, so I might be sure I do that at some point, but another user said that modern distros should be able to scan for LVMs without issue, which is not what I found in my quick test in my setup. So I’ll be checking that out in a more modern setup to double check.

    From what I was reading, recovering from corrupted metadata is not something I want to do. I’d rather not use LVM if that’s what’s required if I can’t just move the drives to a new server, as nice as it would be to resize filesystems on a whim.


  • Cenzorrll@lemmy.worldOPtoSelfhosted@lemmy.world•LVM question
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    I did not find just moving the drives to work. There were some other issues that I came across that might have a part to play in it, I made the lvm and filesystem on an RPI5 running OMV and moved it to a rock3c running OMV from an armbian install. Turns out there’s a pagefile size mismatch between the two that prevented mounting the btrfs filesystem. But I still wasn’t able to get the rock3c to recognize the VG or that there were new PVs attached without exporting first. So perhaps the armbian install isn’t modern enough to automatically recognize it.

    I didn’t expect learning new things about btrfs to be the outcome of this little experiment, but I guess that’s just how things work.


  • Cenzorrll@lemmy.worldOPtoSelfhosted@lemmy.world•LVM question
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    That’s kind of what I figured, my biggest concern at this point would be how difficult it is to move the lvm volume to a different device. It seems pretty straightforward if you have a working setup, but from what I’m seeing in my research is silence if your device (server, etc.) dies and you need to move those volumes to another. I’m finding guides on either recovering from corruption or lost metadata, or transferring from one working device to another. Nothing I can find about importing a fully functional lvm to a new device if it hasn’t been exported.

    I’ll be able to do that later today, so I guess I’ll see what happens if I do. Better to try it out now when it isn’t critical.



  • Ubuntu has started going off the deep end. They’ve been heading in that direction for a while, but they recently (I guess like 5 years-ish ago) hit this corporatey, money-grabbing, mentality that’s so completely opposite of what made Linux great.

    The feel I get about it is 10 years ago, tutorials were written using Ubuntu because it was an easy distro to use and was a great platform for beginners, so people used that as their platform to teach. Now it feels like tutorials are written using Ubuntu because they’re being sponsored to. A lot of how-tos I come accros have the same vibe as watching a video animation tutorial that uses adobe and oh gosh, it’s also sponsored by adobe. Or a networking tutorial sponsored by Cisco. I’ve actually started just looking to see if another distro is acknowledged before I actually see what they have to say.

    There’s a very different feel if you’re trying to set something up and a website has “if you’re in this family of linux, here’s what you do, or if you’re in this one, do this” versus “so you want to set up x in linux? Here’s how you do it in Ubuntu”. It’s as if no other distro exists.

    Anyway, ignoring that rant. Linux is super stable these days, you can take pretty much any distro and you’ll be fine. I tend to gravitate toward the base distros, like fedora, opensuse, and Debian over Rocky, mint, etc. I haven’t come across one in the past five years that gave me any trouble, except when it came to updated nvidia drivers and wayland. In which case some distros were behind a month or two on getting those updated.



  • My favorite experience was coming to work and seeing a dedicated scientific instrument computer with the blue screen, error message was “bad pool header” or something, QR brings me to generic ass troubleshoot page. Google error and it says “something ain’t right, could be either software or hardware related, restart and you should never see it again” it did this every 4 days or so until we just re-imaged the damn thing.







  • From the article, I wish them the best but this line of thinking is not the Linux way:

    The first app I installed on Ubuntu (on both my machines) was Chrome browser. While Chromium, the open source version of the browser, is available in Ubuntu’s App Center (its app store), the official Google version is not.

    If you’re wanting to give Linux a try, you gotta be willing to let go of the Windows way. Chrome is not better than chromium because Google. Don’t complain that a specific app is hard to get running if you aren’t willing to try the alternatives, especially if there’s literally a Linux version maintained by the same developer



  • Sounds like this is a no brainer to me. I’m a step parent to a brilliant kid who’s father is a complete narcissist, and I’ll tell you this, if a parent tells you to dislike the other parent, don’t trust them without evidence. Make your own decision, and listen to the parent that let’s you make it. A caveat is that a better parent probably won’t tell you all of the bad things they’ve had to deal with, and it’s important to remember that everyone is human and makes mistakes.

    It’s ok to have a relationship with both parents, and it sounds like you know which parent to trust. That doesn’t mean you need to cut your mom out of your life, you just get to have a different kind of relationship with her. I’m a fan of honesty, if either parent does something you don’t like, tell them so and ask them to stop. If they won’t, you’ve got a real good answer as to who you want to spend your time with.