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

help-circle
  • Cenzorrll@lemmy.worldOPtoSelfhosted@lemmy.worldLVM question
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 days 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.worldLVM question
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 days 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.worldLVM question
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 days 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.



  • I try to keep lossless on my server for the fact that new algorithms come out all the time. I don’t want to be stuck with a 160k mp3 when a better algorithm comes out or if I need to stream just a little lower than that. I’d rather have lossless quality that can be converted at any time to whatever I need, even though I mostly have it set to 160k for listening if I’m streaming away from home. My work internet and cell service can get really terrible, and being able to buffer 10 songs when I get a few minutes of service is a godsend while not getting stuck with low quality, several times converted files, or keeping multiple bitrate versions of the same song.





  • Framework was and is certainly high on my list, but I’d rather go in a used direction and I do have concerns about them sponsoring hyprland and omarchy, and I haven’t seen anything about them backing down on their statements.

    If I were to categorize what I consider most important as far as upgradability goes, it would be the following:

    1. Storage - Drives fail, full stop. It needs to be replaceable. Storage can also be a backup to ram, so if that isn’t replaceable something needs to be. My experience with a 32gb nonreplaceable storage laptop has soured my entirely on non-replaceable storage.

    2. Ram - Ram can fail and as technology proceeds, ram tends to be the most expendable resource as technology progresses. So as time goes on, what you started with just won’t cut it in the future. I don’t see this changing anytime soon, so it either needs to be upgradable or way overboard in capacity and to a lesser degree speed.

    3. Secondary components (wifi, bluetooth, etc.) - I honestly don’t mind replacing these components with a usb dongle, but it sure would be nice to replace the internal components and leave USB ports free.

    4. Graphics - I’m not a laptop gamer, I don’t see it as the place for it. While there are some processes that would benefit from a better GPU, I feel like mobile CPUs cover that aspect very well.

    5. CPU/motherboard - A replaceable cpu is a rarity to find in a laptop, and processing power/watt doesn’t seem to have a huge difference within generations which is probably my most important factor in a laptop. Sockets change so often and chipsets aren’t often compatible with newer chips that I don’t much see the point if the motherboard isn’t replaceable. It would be cool to have a replaceable motherboard, but considering how fine I am with older technology, I think even those would still be outdated by the time I start considering that anyway.




  • Unrelated, but I just took apart my old IBM thinkpad from 2003/2004 to clean it up and get all nice and pretty for it’s last few years of updates. I also did my newer-ish HP laptop from 2016 at the same time.

    The thinkpad was just beautifully laid out, with thought put into the placement of vents, heat sinks, heat generating components, alternative air pathways if the entire bottom was blocked, easy maintenance of components, etc.

    The HP was …not. The weakest ass heat sink I’ve ever seen, miles away from the processor (no wonder it sounded like a wind tunnel when playing a youtube video). One intake vent where your thigh would be if in your lap and the exhaust right where your knee would be. Extra bonus was the placement of the CPU (running usually 80c+) is right above your junk, the vent being offset from the processor a smidge.

    Granted I’m comparing enterprise vs consumer laptop in the days when there was a massive difference in quality between the two, but damn, this experience has me decided (again) that internal layout and design is just as important as specs, even more so if you need more powerful components.






  • 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.