A person with way too many hobbies, but I still continue to learn new things.

  • 8 Posts
  • 290 Comments
Joined 1 year ago
cake
Cake day: June 7th, 2023

help-circle
  • Shdwdrgn@mander.xyztoSelfhosted@lemmy.worldHelp with ZFS Array
    link
    fedilink
    English
    arrow-up
    1
    ·
    41 minutes ago

    Are you sure about that? Ever hear about this supposed predictable network names in recent linux versions? Yeah those can change too. I was trying to set up a new firewall with two internal NICs plus a 4-port card, and they kept moving around. I finally figured out that if I cold-booted the NICs would come up in one order, and if I warm-booted they would come up in a completely different order (like the ports on the card would reverse which order they were detected). This was completely the fault of systemd because when I installed an older linux and used udev to map the ports, it worked exactly as predicted. These days I trust nothing.


  • Shdwdrgn@mander.xyztoSelfhosted@lemmy.worldHelp with ZFS Array
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    48 minutes ago

    OP – if your array is in good condition (and it looks like it is) you have an option to replace drives one by one, but this will take some time (probably over a period of days). The idea is to remove a disk from the pool by its old name, then re-add the disk under the corrected name, wait for the pool to rebuild, then do the process again with the next drive. Double-check, but I think this is the proper procedure…

    zpool offline poolname /dev/nvme1n1p1

    zpool replace poolname /dev/nvme1n1p1 /dev/disk/by-id/drivename

    Check zpool status to confirm when the drive is done rebuilding under the new name, then move on to the next drive. This is the process I use when replacing a failed drive in a pool, and since that one drive is technically in a failed state right now, this same process should work for you to transfer over to the safe names. Keep in mind that this will probably put a lot of strain on your drives since the contents have to be rebuilt (although there is a small possibility zfs may recognize the drive contents and just start working immediately?), so be prepared in case a drive does actually fail during the process.


  • Shdwdrgn@mander.xyztoSelfhosted@lemmy.worldHelp with ZFS Array
    link
    fedilink
    English
    arrow-up
    1
    ·
    59 minutes ago

    That is definitely true of zfs as well. In fact I have never seen a guide which suggests anything other than using the names found under /dev/disk/by-id/ or /dev/disk/by-id/uuid and that is to prevent this very problem. If the proper convention is used then you can plug the drives in through any available interface, in any order, and zfs will easily re-assemble the pool at boot.

    So now this begs the question… is proxmox using some insane configuration to create drive clusters using the name they happen to boot up with???










  • I’ve been reading some discussions this week about fake polls claiming Republicans are winning to make Dems think there’s no point in voting. Apparently it was a technique used in a previous recent election? It would explain all the results I’ve seen in the last few days showing them with a strong lead, where a week or two ago other polls showed an even race. Doesn’t really matter though, everyone should remember that the only thing that counts is getting out and casting your vote no matter what the polls might suggest.



  • If you want to do it right, try to get a static IP (you may need to get a business account). If your provider doesn’t provide IPv6 to static IPs, go to some place like Hurricane Electric and get a free IPv6 range pointed to your IPv4 static address.

    Alternatively, you might do a search for any DDNS services that provide IPv6 (I’m not sure if any do?), then that service will fllow your residential address when it changes. Either way I think you’ll have some additional costs you need to weigh against your current hosting provider.







  • That’s such a common thing these days that I have to wonder if humans have always had this issue, or if it has anything to do with our modern lifestyles. I was going to do a sleep study at one point, but when I took their questionnaire I checked off no on everything on their list. Then I found out my insurance wouldn’t even cover it, and couldn’t afford to do the study anyway. Ah well, if I ever get back to a point where I’m having trouble sleeping again then I’ll reconsider.


  • Another suggestion… have you considered if something in particular might be preventing you from getting good sleep? In my case, I’ve had restless-leg for quite awhile which was managed by doing some stretches before bed as needed. After a really car car accident, that went into overdrive, the stretches made no obvious difference and so I didn’t think that was an issue any more, but apparently I was tossing and turning all night. I’d sleep for 9+ hours and wake up a zombie.

    After years of this I finally talked to my doctor about it, we discussed a lot of things and I mentioned how I had previous had the problems with my leg pains at night. He decided to try treating this symptom and suddenly I started getting real sleep again. By now it has gotten so bad that if I forget to take my pills at night, my legs absolutely scream at me the moment I lay down in bed. Yeah I’ll be on this med the rest of my life, but I’m getting good sleep now and feeling energetic the day.

    The point is, your issue may be something you have already dismissed without realize fully how it affects you. When an unknown problem comes up, sometimes you just have to go back and reevaluate everything.