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

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

help-circle
  • 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
    4
    ·
    edit-2
    3 days 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.


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







  • Just an FYI, I had that happen to my driving glasses a couple years back. My optometrist said that’s because you cannot leave glasses in a hot car as the heat destroys the coating… OK thanks for telling me AFTER the fact, where do you THINK I am keeping a pair of glasses that you designed specifically for my driving vision? And by the way, I’ve been wearing glasses for over 35 years and always had the anti-glare coating for night driving, what did you change that is suddenly making them self-destruct when they are stored where I need them???

    Yeah they had no answers for me. But OP, if you left your glasses in your car, that’s probably what happened to the coating.


  • I keep throwing away ads from Comcast trying to sell me on the virtues of their business internet packages. Guys, I left you because your lame-ass shit was expensive as hell, slow as hell, and you couldn’t even be counted on to meet a single appointment in 6 months to bury your damn line you left laying across my yard.

    I agree with you, there’s a lot of companies that just need to be silenced. You’re allowed to send me ONE ad, and you better make it good because I don’t ever want to hear from you again.


  • Unfortunately there’s a lot of products that most people don’t even know exist. Hell I keep finding new tools and wondering why I’ve been doing things the hard way for so long.

    OTOH, fuck all the advertisers who use shady tactics to make sales, and especially fuck all the people who pray on the naivety of others to steal their money. I was just showing a customer an email I got the other day stating her domain hosting was past due and required immediate payment, and she asked how I knew it was a scam. Uh, hello, because —I— am hosting your domain and website (and this is exactly why I share this kind of stuff with people, to make them think before they blindly write a check).