• 2 Posts
  • 191 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
    ·
    2 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.worldLVM question
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 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.worldLVM question
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 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.



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





  • I just had an issue with the vscodium flatpak, been using it for two months with no issue in an online course, got to learning GUIs, import module, doesn’t exist. I couldn’t figure out why it wasn’t there, installed three different python versions of it three different ways, still nothing. Couldn’t even get vscodium to point to a different interpreter that I knew was there (yet it doesn’t say it’s not there, just that some things won’t work). Still nothing. Three hours later, after trying everything I could think of, I realized that it was because I installed the flatpak version when it clicked that it worked in Geany and I didn’t have python 3.13 in my repos, yet that was the only one I could see in vscodium.


  • I do bioanalysis without a sample management system. I recently had a 1000+ sample project with 6 analytes, all samples needing a few reanalyses due to everything in this whole project being complete shit.

    I spent probably three weeks of time just tracking samples to figure out what needed what analysis through excel. It’s so painful knowing that a proper python script could do it in a few seconds.


  • It’s probably because Access fucking sucks, leaving excel as the only database adjacent program available to office workers. I would love to be able to use anything but excel on my projects. Hell, python and some CSVs would make my life so much easier, but I ain’t going through IT to let me have that, and it opens up a HUGE can of worms in my line of work if I start using homemade scripts. The execs can pay for a LIMS system if they want me more productive.




  • My kitchen is about 100 sqft wall-to-wall. No dishwasher so no matter what I do, there’s dishes in the sink/counter. EVERY DAMN TIME I try to cook a slightly complicated meal, my fiancée wants to help, the dogs want floor snacks, and the kid suddenly decides they want fridge snacks (they NEVER look in the fridge for food) and to know what’s going on with the smells and noise.

    It’s an exercise in patience to not yell angrily at every living being to get the fuck out (both fiancée and kid have anxiety and ADHD, dogs don’t give a shit about my opinions on their chosen location).